On 1/8/07, Alan Stern <[EMAIL PROTECTED]> wrote:
What shows up in dmesg?
dmesg is the same when it works and when it doesn't

What happens if you unplug the device and then plug it directly into
the computer?

it works. As far as I can tell the problem only occurs on boot

What do you get if you turn on CONFIG_USB_DEBUG?

Trace from plugging into host on a already booted computer. The device worked.

hub 2-0:1.0: state 8 ports 2 chg 0000 evt 0000
usb usb2: usb auto-resume
usb usb2: finish resume
hub 2-0:1.0: hub_resume
usb usb2: wakeup_rh
uhci_hcd 0000:00:1d.1: port 1 portsc 0093,00
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 2-1: new full speed USB device using uhci_hcd and address 5
usb 2-1: ep0 maxpacket = 8
usb 2-1: skipped 8 descriptors after interface
usb 2-1: skipped 2 descriptors after interface
usb 2-1: skipped 1 descriptor after endpoint
usb 2-1: skipped 2 descriptors after interface
usb 2-1: skipped 1 descriptor after endpoint
usb 2-1: skipped 1 descriptor after interface
usb 2-1: default language 0x0409
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Philips PSC805
usb 2-1: Manufacturer: Philips Electronics
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usb 2-1: adding 2-1:1.1 (config #1, interface 1)
usb 2-1:1.1: uevent
usb 2-1: adding 2-1:1.2 (config #1, interface 2)
usb 2-1:1.2: uevent
usb 2-1: adding 2-1:1.3 (config #1, interface 3)
usb 2-1:1.3: uevent
usbhid 2-1:1.3: usb_probe_interface
usbhid 2-1:1.3: usb_probe_interface - got id
input: Philips Electronics Philips PSC805 as /class/input/input5
drivers/usb/core/file.c: looking for a minor, starting at 96
input,hiddev96: USB HID v1.00 Device [Philips Electronics Philips
PSC805] on usb-0000:00:1d.1-1
drivers/usb/core/inode.c: creating file '005'
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0002
snd-usb-audio 2-1:1.0: usb_probe_interface
snd-usb-audio 2-1:1.0: usb_probe_interface - got id
usbdev2.5_ep01: ep_device_release called for usbdev2.5_ep01
usbdev2.5_ep82: ep_device_release called for usbdev2.5_ep82
usbcore: registered new interface driver snd-usb-audio

Later on I see these:
usb 2-1: usb_check_bandwidth would have FAILED: 470 + 457 = 927 usec
usb 2-1: usb_check_bandwidth would have FAILED: 927 + 457 = 1384 usec
usb 2-1: usb_check_bandwidth would have FAILED: 927 + 57 = 984 usec
How can the bandwidth check fail? It is the only thing plugged into a
root controller.

What does the device's entry in /proc/bus/usb/devices

It is in a working state here:
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0471 ProdID=0155 Rev= 4.14
S:  Manufacturer=Philips Electronics
S:  Product=Philips PSC805
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=01(O) Atr=09(Isoc) MxPS= 576 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=82(I) Atr=0d(Isoc) MxPS= 192 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=83(I) Atr=03(Int.) MxPS=   3 Ivl=10ms

Attached file is a dmesg of where it failed at boot. Verbose USB is enabled.

What does the device's entry in /proc/bus/usb/devices

It is in a non-working state here:
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0471 ProdID=0155 Rev= 4.14
S:  Manufacturer=Philips Electronics
S:  Product=Philips PSC805
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=01(O) Atr=09(Isoc) MxPS= 576 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=82(I) Atr=0d(Isoc) MxPS= 192 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=83(I) Atr=03(Int.) MxPS=   3 Ivl=10ms

--
Jon Smirl
[EMAIL PROTECTED]

Attachment: dmesg
Description: Binary data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to