FEEDBACK REQUIRED IF PUPPY2 USB TOTALLY NOT WORKING

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

FEEDBACK REQUIRED IF PUPPY2 USB TOTALLY NOT WORKING

#1 Post by BarryK »

Some guys have reported no usb stuff is working.
Can you kindly go through the following checklist:

1.

Code: Select all

# lspci -i /usr/share/pci-usb-pcmcia.ids | grep -i "usb"
...see if any lines have text "usb" in them --should have!

2.

Code: Select all

# lsmod | grep --extended-regexp "usb|hcd"
...should have usbcore, uhci-hcd|ohci-hcd, usb-storage loaded.

3.

Code: Select all

# cat /proc/bus/usb/devices | grep -i --extended-regexp "mouse|keyboard"
...any usb mouse or keyboard should show up here.

4.

Code: Select all

# probepart
...should see usb partitions, /dev/sd??.

If step 1 fails, likely the following will also. Ditto for step 2.

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#2 Post by Leon »

1.

Code: Select all

# lspci -i /usr/share/pci-usb-pcmcia.ids | grep -i "usb"
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
2.

Code: Select all

# lsmod | grep --extended-regexp "usb|hcd"
usb_storage            84736  0 
uhci_hcd               32384  0 
usbcore               129124  3 usb_storage,uhci_hcd
3.

Code: Select all

# cat /proc/bus/usb/devices | grep --extended-regexp "mouse|keyboard"
4.

Code: Select all

# probepart
/dev/hdd|iso9660|0|TEAC CD-W552E
/dev/hdc|iso9660|0|_NEC DVD_RW ND-2500A
/dev/hda1|vfat|160826652|Win95 FAT32 (LBA)
Hardware:
http://www.puppyos.com/nfphpbb/viewtopic.php?t=59

My report:
http://www.puppyos.com/nfphpbb/viewtopic.php?t=107

Barry,
I know it's only keyboard version but I like it!
Thanks for your efforts!
Last edited by Leon on Sat 29 Apr 2006, 12:47, edited 1 time in total.

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

#3 Post by Lobster »

1. (Working motherboard/USB controller on Puppy Singer)

Code: Select all

sh-3.00# lspci -i /usr/share/pci-usb-pcmcia.ids | grep -i "usb"
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller               (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller               (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller               (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
2. No PCI (PCMCIA) plugged in

Code: Select all

sh-3.00# smod | grep --extended-regexp "usb|hcd"
sh: smod: command not found
3. No USB Keyboard plugged in - I have ps2 - no usb mouse (do not have one to test either)

Code: Select all

sh-3.00# cat /proc/bus/usb/devices | grep -i --extended-regexp "mouse|keyboard"

4. (This is a 64meg Disgo SDA USB Keydrive - very reliable
- not being reported when plugged in or rebooted - also Pupmount and MUT do not recognise -
works in 108 Singer and 109 alpha 2)

Code: Select all

sh-3.00# probepart
ext3
ext3
/dev/hdc|iso9660|0|LITE-ON DVDRW SHW-16H5S
/dev/hdb1|ext3|311082597|Linux Ext3FS
/dev/hdb2|none|1494045|Extended (contains other slice)
/dev/hdb5|swap|1493982|Linux Swap
/dev/hda1|ext3|76854897|Linux Ext3FS
/dev/hda2|none|1301265|Extended (contains other slice)
/dev/hda5|swap|1301202|Linux Swap

4. (2) (I took out the SDA - USB keydrive and plugged in a USB "Smart Media" camera memory reader
- notice the third response line)

Code: Select all

sh-3.00# probepart
ext3
ext3
libcfdisk: unable to open /dev/sda 
/dev/hdc|iso9660|0|LITE-ON DVDRW SHW-16H5S
/dev/hdb1|ext3|311082597|Linux Ext3FS
/dev/hdb2|none|1494045|Extended (contains other slice)
/dev/hdb5|swap|1493982|Linux Swap
/dev/hda1|ext3|76854897|Linux Ext3FS
/dev/hda2|none|1301265|Extended (contains other slice)
/dev/hda5|swap|1301202|Linux Swap

Hope that helps :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#4 Post by rarsa »

I did two tests. I booted with one USB and one PS2 mouse plugged in and run the test. Then I rebooted just with the USB plugged in and pfix=ram so the previous settings wouldn't be used.

The main difference is that with just the USB mouse plugged in, test 2 returned nothing!

Here are my results.
1.

Code: Select all

sh-3.00# lspci -i /usr/share/pci-usb-pcmcia.ids | grep -i "usb"
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
01:01.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
01:01.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
01:01.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
2. With PS2 and USB plugged in

Code: Select all

sh-3.00# lsmod | grep --extended-regexp "usb|hcd"
usb_storage            84736  0 
ehci_hcd               30360  0 
uhci_hcd               32384  0 
usbcore               129124  4 usb_storage,ehci_hcd,uhci_hcd
2. With only USB plugged in

Code: Select all

sh-3.00# lsmod | grep --extended-regexp "usb|hcd"
3.[code]sh-3.00# cat /proc/bus/usb/devices | grep -i --extended-regexp "mouse|keyboard"
4.

Code: Select all

sh-3.00# probepart
ext3
ext3
/dev/hdd|iso9660|0|HL-DT-ST DVDRAM GSA-4163B
/dev/hdc|iso9660|0|ATAPI CDRW 52X32
/dev/hdb1|vfat|6297921|Win95 FAT32 (LBA)
/dev/hda1|none|102398247|OS/2 HPFS or NTFS
/dev/hda2|none|199687950|Extended (contains other slice)
/dev/hda5|swap|2104452|Linux Swap
/dev/hda6|vfat|83907432|Win95 FAT32
/dev/hda7|ext3|19551042|Linux Ext3FS
/dev/hda8|ext2|1975932|Linux Ext2Fs
/dev/hda9|ext3|20482812|Linux Ext3FS
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

Kal
Posts: 626
Joined: Thu 05 May 2005, 16:59
Location: California, High Desert

#5 Post by Kal »

Running off live cd with usb and PS/2 mouse plugged in.

# lspci -i /usr/share/pci-usb-pcmcia.ids | grep -i "usb"
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
# lsmod | grep --extended-regexp "usb|hcd"
usb_storage 84736 0
ehci_hcd 30360 0
uhci_hcd 32384 0
usbcore 129124 4 usb_storage,ehci_hcd,uhci_hcd
# cat /proc/bus/usb/devices | grep -i --extended-regexp "mouse|keyboard"
# probepart
/dev/hdc|iso9660|0|SONY CD-RW CRX230ED
/dev/hdb|iso9660|0|IDE/ATAPI CD-ROM 52XS
/dev/hda1|vfat|79762662|Win95 FAT16 (LBA)
/dev/hda2|reiserfs|42170625|Linux ReiserFS
/dev/hda3|ext2|30218265|Linux Ext2Fs
/dev/hda4|ext2|4144770|Linux Ext2Fs

Side note, VIA onboard sound. now is working with new kernel.
Kal

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

2. No PCI (PCMCIA) plugged in
Code:
sh-3.00# smod | grep --extended-regexp "usb|hcd"
sh: smod: command not found
Lobster,
That should be "lsmod"

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

#7 Post by Lobster »

:oops: I do not have any device plugged in that matches this
Do you still want me to run the test?
Last edited by Lobster on Sun 30 Apr 2006, 08:59, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#8 Post by BarryK »

I think the bug is now fixed. see news for april 30:
http://www.puppyos.com/news.htm

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

great :!:

I added these lines to /etc/rc.local (System with USB 1):

Code: Select all

rmmod usb-storage 
  rmmod ehci-hcd 
  rmmod uhci-hcd 
 
  modprobe uhci-hcd 
  modprobe ehci-hcd 
  modprobe usbhid
The "uhci" -entries are just needed for computers with USB1.
The "ehci" -entries are just needed for computers with USB2.

Now mouse and external USB-hardrive work :P :D

Mark
Last edited by MU on Sun 30 Apr 2006, 23:42, edited 2 times in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#10 Post by BarryK »

Mark, try "modprobe usbhid" instead of usbmouse
-- the latter is a more limited HID Boot protocol, the usbhid is supposed to be
more powerful.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

yes, works too :)
I changed my last message.
This is soooo great finally!
Mark

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#12 Post by rarsa »

It also works now on this computer!! :D

One computer ready two to go :) (the one with th XOrg freezig and the one stopping at boot).

getting closer, eh?

Thank you,
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#13 Post by pakt »

I seem to have one of the few computers that has USB working "out-of-the-box". I have an external USB keyboard and USB mouse connected to USB2 ports (via a 2-port hub) - both worked rightaway. As a control, I tried adding

Code: Select all

rmmod usb-storage
rmmod uhci-hcd

modprobe uhci-hcd
modprobe usbhid
to /etc/rc.local and then re-booting to see if anything would break. Good news - still works :D

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

Post Reply