Fatdog64 alpha3

Under development: PCMCIA, wireless, etc.
Message
Author
Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#16 Post by Jim1911 »

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

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#17 Post by kirk »

jduffy22335,

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


jim1911,
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.
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
Attachments
nouveau-1.0.pet
Nouveau Xorg driver and DRM from git on 3/13/2010.
(127.33 KiB) Downloaded 649 times

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#18 Post by Jim1911 »

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
Attachments
Xorg.0.log.zip
(19.85 KiB) Downloaded 627 times
Last edited by Jim1911 on Sun 14 Mar 2010, 01:36, edited 4 times in total.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#19 Post by jamesbond »

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 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

jduffy22335
Posts: 35
Joined: Thu 16 Apr 2009, 23:29
Location: Great Mills, MD USA

Re Devx

#20 Post by jduffy22335 »

[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.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#21 Post by kirk »

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.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#22 Post by Lobster »

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 :)

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

Code: Select all

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 . . .
Image

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 . . .
Image
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#23 Post by Jim1911 »

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

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#24 Post by kirk »

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.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#25 Post by Jim1911 »

Hi Kirk,
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

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#26 Post by kirk »

Xine with mms streams is fixed. It will be in alpha5.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#27 Post by Lobster »

good news about xine :)
Mtpaint does not seem to be reading .jpg's
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

usblp

#28 Post by jamesbond »

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 :) )

The Xorg seems to be more stable (I'm on the machine with Intel graphics).
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#29 Post by kirk »

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.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Fix for CUPS usb printers

#30 Post by jamesbond »

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: Select all

#!/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 :D, you'll probably have to either:
a) let cups run as root, or
b) allow cups to run suid backend.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#31 Post by kirk »

Wow, thanks Jamesbond! I was going to do Fix#1, thought I'd just grab the udev rules from some other distro. But then after some searching it seems there's problems with multifunction devices (scanner, printer, fax) being identified as a scanner, then printing doesn't work because the new node is assigned to to wrong group. So Fix#2 is looking real good.

Thanks again.

User avatar
stevoomba
Posts: 76
Joined: Thu 05 May 2005, 08:14
Location: Rye Park NSW
Contact:

#32 Post by stevoomba »

Working great, Kirk, thanks. Only problem is java isn't working in Firefox. Any ideas? I installed update 17.

Steve

(edit: It's alpha4 I'm using...)

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#33 Post by jamesbond »

Steve,

I presume you install your java by downloading the .bin file from Sun website directly. When you run the .bin file, it will extract the entire JRE (or JDK) to the current directory. You can then move this directory elsewhere as you wish (e.g, under /opt). I will continue this with assumption you have installed the JRE under /opt/java.

To get java working under firefox, according to here http://java.sun.com/j2se/1.6.0/manual_i ... linux.html you have to create a symlink in firefox's plugins directory to correct java library.

To cut the story short, all you have to do is this:

Code: Select all

ln -s /opt/java/lib/amd64/libnpjp2.so /usr/lib64/firefox/plugins
Replace "/opt/java" above with where you installed your JRE.

Checked it in firefox's plugins page (about:plugins) before and after you do that. If you still need further confirmation, you can come here http://java.com/en/download/installed.jsp to check. You don't even have to restart Firefox after that to get Java working.

(Tested with alpha4, with JRE update 18 - though I'm sure it will work with update 17 as well).

Hope that helps, cheers !
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Aung
Posts: 144
Joined: Sat 20 Jan 2007, 03:30
Location: Hervey Bay

#34 Post by Aung »

Kirk, almost ready to send you my $20
A-4 for my setup now works for my chipset. Not any wizards for Xorg on cd or full install first boot. Running sbin/xorgwizard from terminal dont work, xorgwizard-old brings up the wizard but on restarting the Xserver the screen is dark green with barely visible text. Quick and dirty rebuild needed to fix it. (delete everything execpt boot and root and do a full install, this way all my settings, apps and docks are are saved) However I can take xorg.conf out of A-3 to give me my 1024:768 screen. Takeing xorgwizard out of A-3 dont work, afrer restarting Xserver get a prompt but cant type 'xwin jwm' another Q&D install needed. Aung

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#35 Post by jamesbond »

Hi kirk,

Just asking, are you going to release alpha5 soon, or are you going to hold for a while until 2.6.33-series kernel and the issue with aufs/unionfs has stabilised?

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Post Reply