it looks like usb isn't working on my system and I have trouble
troubleshooting. the problem is that it doesn't recognize devices (so
drivers don't even get to say anything), so far I have tried usbsample
from Linux device drivers (O'Reilly) and cpqpjb (device driver for
www.pjbox.com, confirmed to work with 2.4.14).
here's what happens when I plug in or unplug a usb device:
when I unplug usb cable the syslog says (mouse or pjbox on the other
end of cable):
Dec 22 01:46:26 localhost kernel: hub.c: port 1 connection change
Dec 22 01:46:26 localhost kernel: hub.c: port 1, portstatus 301, change
1, 1.5 Mb/s
Dec 22 01:46:27 localhost kernel: hub.c: port 1, portstatus 300, change
0, 1.5 Mb/s
when I plug it back in:
Dec 22 01:46:55 localhost kernel: hub.c: port 1 connection change
Dec 22 01:46:55 localhost kernel: hub.c: port 1, portstatus 301, change
1, 1.5 Mb/s
Dec 22 01:46:55 localhost kernel: hub.c: port 1, portstatus 300, change
0, 1.5 Mb/s
and that's it, no drivers even attempted (no probe function called),
the plugged in device doesn't even show in device list (content of
/proc/bus/usb/devices doesn't change at all):
ojda:/home/erik# cat /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=c800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=c400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
my system is:
debian unstable
linux 2.4.14
jojda:/home/erik# lspci|grep -i usb
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
jojda:/home/erik# lsmod | grep -i usb
usb-uhci 20932 0 (unused)
usbcore 50848 1 [usb-uhci]
(sometime I also load cpqpjb or usbsample, they show up in lsmod but
their probe function is never called, there's no error message either)
I am suspicious about interrupts:
jojda:/home/erik# cat /proc/interrupts
CPU0
0: 7693377 XT-PIC timer
1: 28643 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
9: 0 XT-PIC SoundBlaster
10: 8840 XT-PIC eth1
11: 92569 XT-PIC usb-uhci, usb-uhci, eth0
12: 86564 XT-PIC PS/2 Mouse
14: 387238 XT-PIC ide0
NMI: 0
LOC: 7693295
ERR: 0
jojda:/home/erik#
the eth0 is working fine, could it interfere with usb? how to find
out? how to fix it? I set up bios to assign interrupts (no plug and play
OS option chosen), motherboard is ABIT VH6-II
btw I have checked the archives of the list, searched internet, read
all I could find on usb under linux and spent some time debugging the
usb drivers mentioned above - finally got to conclusion that the problem
is that the devices do not show up at all - the system reacts to plug
in/unplug somehow (see the messages above) but does not recognize
devices at all (see output of /proc/bus/usb/devices) - I haven't found
any mention of such problem.
any ideas appreciated (even more so helpful ones). TIA
erik
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users