Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Jul 2014, 03:06
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Fatdog64 alpha3
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Sat 13 Mar 2010, 17:45    Post_subject:  

Hi Kirk,

Weird, when I restarted Fatdog64 to respond to your post, I was very surprised to see it go straight to your default desktop with fine resolution, without prompts for my equipment. Quickest initial bootup ever. My installation is frugal, booting from menu.lst and it has no pupsave at the moment. since I didn't allow one to be created because the desktop was a disaster.

The usb printer problem still exists, though, with my printer on, the attached desktop picture, desktop.png shows choices given.

Another problem, as you can see from the attached screenshot, desktop1.png, I was trying to install wine. However, when I clicked "Download-and-install selected packages, it just went back to the first screen and nothing happened. Same thing happened when I tried to install nvidia-180.29 from the t2 repository. Is this due to some missing 32bit files? These latter two problems were noted after a pupsave was created.

Thanks,
Jim
desktop1.png
Description 
png

 Download 
Filename  desktop1.png 
Filesize  437.32 KB 
Downloaded  349 Time(s) 
desktop.png
Description 
png

 Download 
Filename  desktop.png 
Filesize  231.35 KB 
Downloaded  323 Time(s) 
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1391
Location: florida

PostPosted: Sat 13 Mar 2010, 20:35    Post_subject:  

jduffy22335,

I fixed the permissions, the devx file should down load now. Maybe I can remember that next time.


jim1911,

Quote:
The usb printer problem still exists, though, with my printer on, the attached desktop picture, desktop.png shows choices given.


Was with the printer turned on and connected before booting?

If so, can you post the output of lsmod and lpinfo -v ? That's after booting with the printer turned on and connected.

Quote:
Another problem, as you can see from the attached screenshot, desktop1.png, I was trying to install wine.


This distro is compiled all 64bit, the packages in the Puppy Package Manager are all 32bit, they won't work. I probably should disable that until I can point it to a 64bit repo. But if wine is essential to you, you'll probably not want to use an all 64bit distro. Wine is 32bit. There is a wine 64bit, but it's very experimental.

I compiled the Nouveau Xorg driver. Can you or anyone else with nvidia graphics install the attached pet and reboot. Then gzip /var/log/Xorg.0.log and post it? I didn't recompile the kernel module, I'm hoping the one in 2.6.33 will work.

Thanks,

Kirk
nouveau-1.0.pet
Description  Nouveau Xorg driver and DRM from git on 3/13/2010.
pet

 Download 
Filename  nouveau-1.0.pet 
Filesize  127.33 KB 
Downloaded  338 Time(s) 
Back to top
View user's profile Send_private_message 
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Sat 13 Mar 2010, 21:03    Post_subject:  

Kirk,
My KP 5280 is connected and turned on before boot.

Here is the output you wanted:
# lsmod
Module Size Used by
snd_pcm_oss 37283 0
snd_seq_dummy 1327 0
snd_seq_oss 26879 0
snd_seq_midi_event 5204 1 snd_seq_oss
snd_seq 48029 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5005 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_mixer_oss 14702 1 snd_pcm_oss
usblp 10467 0
serio_raw 4072 0
snd_pcsp 7396 0
r8169 34152 0
mii 3754 1 r8169
ohci1394 27292 0
ieee1394 69854 1 ohci1394
nouveau 420710 0
ttm 44134 1 nouveau
drm_kms_helper 23375 1 nouveau
drm 153330 3 nouveau,ttm,drm_kms_helper
i2c_algo_bit 4919 1 nouveau
i2c_i801 8086 0
i2c_core 16753 5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
snd_hda_codec_realtek 253160 1
snd_hda_intel 19314 1
snd_hda_codec 53288 2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm 69214 4 snd_pcm_oss,snd_pcsp,snd_hda_intel,snd_hda_codec
snd_timer 17695 2 snd_seq,snd_pcm
snd 49712 13 snd_pcm_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_pcsp,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore 5295 1 snd
snd_page_alloc 6729 2 snd_hda_intel,snd_pcm
wmi 5957 0
thermal 11786 0
evdev 8569 0
button 4570 1 nouveau
processor 28656 0
asus_atk0110 8998 0
hwmon 1385 1 asus_atk0110
fuse 57191 0
aufs 149576 1
nls_iso8859_1 4285 0
nls_cp437 5817 0
usbhid 35143 0
usb_storage 41158 0
squashfs 19855 2
uhci_hcd 21308 0
ehci_hcd 34842 0
usbcore 135421 6 usblp,usbhid,usb_storage,uhci_hcd,ehci_hcd
#


# lpinfo -v
network http
network ipp
network lpd
direct scsi
network socket
file pdf-writer:/dev/null
network beh
#

Installed your nvidia pet and rebooted. I really see no change.
Attached file is not zipped, Just rename it.

Cheers,
Jim
Xorg.0.log.zip
Description 
zip

 Download 
Filename  Xorg.0.log.zip 
Filesize  19.85 KB 
Downloaded  326 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2043
Location: The Blue Marble

PostPosted: Sat 13 Mar 2010, 21:06    Post_subject:  

kirk,

You're so fast ... I am still with alpha3 here (downloading alpha4 ... ibiblio is very slow from where I am).

In alpha3, there is still a problem with wl, I saw your BC-wl script. The problem is in the line where it compares the pci with "4310". The result of the $(scanpci etc) in my h/w is "432b", and the test fails because it expects an integer, which "432b" is not. FIX: do the comparison in hex instead of decimal ...

Good news is that Gimp is now good, thanks!

cheers!

PS: still downloading alpha4 ...

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send_private_message 
jduffy22335

Joined: 16 Apr 2009
Posts: 35
Location: Great Mills, MD USA

PostPosted: Sat 13 Mar 2010, 21:09    Post_subject: Re Devx  

[quote="kirk"]jduffy22335,

I fixed the permissions, the devx file should down load now. Maybe I can remember that next time.
/quote]

Thanks, downloading now.
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1391
Location: florida

PostPosted: Sun 14 Mar 2010, 01:19    Post_subject:  

Jim1911,

Could you delete /lib/modules/2.6.33/kernel/drivers/usb/class/usblp.ko and then reboot and try to add your printer. It looks like cups 1.4 has it's own replacement for usblp and if usblp loads it won't work. I couldn't unzip your Xorg.0.log, could you use gzip and re-post? It does look like the nouveau kernel module loaded.

Jamesbond,

Now I feel just silly, yes it's in hex. I'll fix it.


Thanks guys for your help!!!

I had a problem with Abiword opening a odt file so I tried compiling Abiword from svn again. That fixed it and it looks like the display problem is fixed too.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 14 Mar 2010, 03:24    Post_subject:  

Quote:
I was very surprised to see it go straight to your default desktop with fine resolution


Boot from CD/DVD
puppy pfix=ram (if you want a brand new clean boot)
Straight in and connected to Firefox using Spot (I am using ethernet)

I like that too Smile

Abiword: on the initial load is all scrunched up - small until you resize
the initial -g command line option will modify the size
Code:
abiword -g 640


firewall working
- just think I ran for several days without a puppy firewall
- no problems - put my tin foil hat in a drawer Wink

An ASF movie file that had problems with intermittent sound
now plays perfectly with xine

The puppy package manager is populated - but I don't think implemented yet

Tried to watch Scifi on Pup TV . . .


This is what I get when restarting x (probably with Firefox still open - so that might be why) - It is a temp message xorg starts OK but I thought you might like to see the code . . .

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Sun 14 Mar 2010, 12:40    Post_subject:  

kirk wrote:
Could you delete /lib/modules/2.6.33/kernel/drivers/usb/class/usblp.ko and then reboot and try to add your printer. It looks like cups 1.4 has it's own replacement for usblp and if usblp loads it won't work. I couldn't unzip your Xorg.0.log, could you use gzip and re-post? It does look like the nouveau kernel module loaded.
Sorry, deleting usblp.ko made no difference. The Xorg.0.log.zip file just needs to be renamed, since it wasn't zipped as I indicated.
Cheers,
Jim
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1391
Location: florida

PostPosted: Sun 14 Mar 2010, 14:47    Post_subject:  

Jim1911,

Sorry, guess I can't read. It looks like Xorg is using the old nvidia driver, while the kernel is loading the new Nouveau module. Maybe I can get the Nouveau driver load automatically. Though I don't know if it works well or at all. If you want to try using the Nouveau driver you'll need to install the pet package then ctrl-alt-backspace to exit Xorg. Type xorgwizard-old, after that xwin. Then edit /etc/X11/Xorg.conf, look for something like this:

Section "Device"
Identifier "nvidia"
Driver "nv"
EndSection

change the Driver "nv" (or maybe it will say nvidia) to Driver "nouveau" save and restart X.

That was my only idea about the printer. I have a network printer, maybe I can find a USB printer to work with. If anyone with a USB printer would like to tackle this, please do.

Lobster,

Abiword will be fixed in alpha5, I compiled the svn version, all seems to be fixed.

Yes, there's something up with Xine and mms streams, I'll see what I can find out.

The terminal picture looks pretty normal, nothing to worry about there.
Back to top
View user's profile Send_private_message 
Jim1911

Joined: 19 May 2008
Posts: 2445
Location: Texas, USA

PostPosted: Sun 14 Mar 2010, 17:05    Post_subject:  

Hi Kirk,
Quote:
Though I don't know if it works well or at all. If you want to try using the Nouveau driver you'll need to install the pet package then ctrl-alt-backspace to exit Xorg. Type xorgwizard-old, after that xwin. Then edit /etc/X11/Xorg.conf, look for something like this:
I tried following your instructions and just managed to wipe out some pupsaves. I would have to edit /etc/X11/Xorg.conf from the command line which is beyond my skill level since I'm not familiar with commands to use. Sorry, that I couldn't help.
Jim
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1391
Location: florida

PostPosted: Mon 15 Mar 2010, 09:26    Post_subject:  

Xine with mms streams is fixed. It will be in alpha5.
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 15 Mar 2010, 16:20    Post_subject:  

good news about xine Smile
Mtpaint does not seem to be reading .jpg's

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 2043
Location: The Blue Marble

PostPosted: Mon 15 Mar 2010, 22:33    Post_subject: usblp  

Ok I've got an USB printer as well. And here's my "exploration" based on alpha4.

1. First try (fresh boot of live CD) doesn't work.
2. I rmmod usblp as per kirk's earlier suggestion. A few google search also confirms that the new CUPS will not work if usblp is loaded.

After rmmoding usblp and restarting cups,

3. lpinfo -v still doesn't show my printer.
4. /usr/lib/cups/backend/usb does show my USB printer, with the connection string etc.
5. I copy the connection string and force-add the printer manually (using lpadmin -p -v "connections string").
6. Then from CUPS web interface I added the right driver (Epson).
7. Try to print a test-page ... never happens. The printer didn't respond, there was nothing in the error log the status page got stuck as "waiting for the printer to go online".

That's as far as I can go. I can't find information about why the usb back-end shows the printer but the lpinfo doesn't.

I seconded Lobster - mtpaint can't open jpg files (although gimp does, and I'm happy with that Smile )

The Xorg seems to be more stable (I'm on the machine with Intel graphics).

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1391
Location: florida

PostPosted: Mon 15 Mar 2010, 23:17    Post_subject:  

Sorry Lobster, I thought the mms streaming was fix, but it's intermittent. If it starts working it will work several times in a row and then sometimes it won't work at all. I tried compiling Xine 1.2, no difference. So then I booted up Puppy 432, same exact error.

Thanks having a go at the CUPS problem JamesBond, I'll see if I can find a usb printer and maybe recompile CUPS.
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2043
Location: The Blue Marble

PostPosted: Tue 16 Mar 2010, 03:48    Post_subject: Fix for CUPS usb printers  

kirk wrote:
Thanks having a go at the CUPS problem JamesBond, I'll see if I can find a usb printer and maybe recompile CUPS.


Hold on that purchase yet, kirk. I found the cause and the FIX.

The cause is permission problem on the device entry. CUPS backend runs as non-privileged user (I don't know the exact userid it runs on), including the usb backend.

When a USB device (ie the printer) is plugged in, two things happen:
(a) an entry for the device is inserted in the usbfs (/proc/bus/usb). This entry is owned by root, and the default permission is 644.
(b) an device node is created in /dev. This entry is owned by spot and the default permission is 600.

Now the question is - which entry is used by the usb back-end? It took a little bit of detective work and some plain luck, I finally found out that CUPS usb backend uses (a), not (b). This is bad luck - I know we change any aspects of (b) by using udev rules, but I know of no idea how to change (a).

FIX #1
Every time you plugin the printer, find out which usb node it's connected in (cat /proc/bus/usb/devices and look for the printer brand). Let's say you found that this will be bus 6 device 4. (Alternatively, you can look at dmesg and make a guess). So you chdir to /proc/bus/usb/006 and do a "chmod a+rw 004". Then everything will work --- until you unplug / turn off the printer, which when you need to do the exercise again.

Is there anyway to automate this (preferably using known methods such as udev?). If yes this would be the best solution.

FIX #2
Make CUPS usb backed suid. Unfortunately it won't work directly, if we just chmod +s /usr/lib/cups/backend/usb, CUPS will refuse to execute that backend (it will say "unsafe permission"). So we have to trick CUPS, by creating a script that will execute the real suid usb.
1. mv usb usb.bin
2. chmod +s usb.bin
3. touch usb; chmod +x usb
4. geany usb --- and fill it with this:
Code:
#!/bin/sh
exec /usr/lib/cups/backend/usb.bin "$@"

And everything will be good again. The good thing about this is that once done, it will work for all future printers. The bad things, well, there must be a reason why CUPS doesn't like to run a suid backend.

If you want to avoid this acrobatics, and you're in the mood to recompile CUPS Very Happy, you'll probably have to either:
a) let cups run as root, or
b) allow cups to run suid backend.

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1018s ][ Queries: 12 (0.0060s) ][ GZIP on ]