Dear Alan,

On 13.02.08, Alan Stern wrote:
> On Wed, 13 Feb 2008 [EMAIL PROTECTED] wrote:
> > I have problems with a usb device (mp3 player) which is handled by the
> > kernel modules in a wrong way. It is a usb 2.0 device (which behaves
> > as such on e.g. Mac OS X), but with the linux kernel (2.6.22-3 debian
> > kernel) I encounter only about 1MB/min of data transfer.
> > 
> > A look into /proc/bus/usb/devices shows that the device is handled by
> > the ohci module instead of the ehci module. Can anybody explain to me
> > how to fix (debug) this problem? I am a bit lost with the usb modules,
> > which do not seem to have a debug option argument.
> 
> You can start by looking at the output from dmesg.  If that doesn't 
> provide enough information you can enable debugging by turning on 
> CONFIG_USB_DEBUG -- it's a configuration setting rather than a module 
> parameter.

I have recompiled the kernel with USB debugging, and now I see
explicitly that EHCI hands over the device to its companion driver
OHCI (see below).

However, I do not yet know why this happens and how I can avoid it and
have the device handled by EHCI at full speed. Is it sufficient to
create a new entry in unusual_dev.h? How do I specify the capability
of USB2.0 there?

Michael


----- output from dmesg ----
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: hub_resume
Feb 13 19:11:00 pugliese kernel: ehci_hcd 0000:00:0b.1: resume root hub
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: state 7 ports 8 chg 0000 evt 0000
Feb 13 19:11:00 pugliese kernel: ehci_hcd 0000:00:0b.1: GetStatus port 2 status 
001803 POWER sig=j CSC CONNECT
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: port 2, status 0501, change 0001, 
480 Mb/s
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: debounce: port 2: total 100ms 
stable 100ms status 0x501
Feb 13 19:11:00 pugliese kernel: ehci_hcd 0000:00:0b.1: port 2 full speed --> 
companion
Feb 13 19:11:00 pugliese kernel: ehci_hcd 0000:00:0b.1: GetStatus port 2 status 
003001 POWER OWNER sig=se0 CONNECT
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: port 2 not reset yet, waiting 50ms
Feb 13 19:11:00 pugliese kernel: usb usb1: usb resume
Feb 13 19:11:00 pugliese kernel: usb usb1: finish resume
Feb 13 19:11:00 pugliese kernel: hub 1-0:1.0: hub_resume
Feb 13 19:11:00 pugliese kernel: ohci_hcd 0000:00:0b.0: wakeup root hub
Feb 13 19:11:00 pugliese kernel: ehci_hcd 0000:00:0b.1: GetStatus port 2 status 
003802 POWER OWNER sig=j CSC
Feb 13 19:11:00 pugliese kernel: hub 2-0:1.0: state 7 ports 8 chg 0000 evt 0004
Feb 13 19:11:00 pugliese kernel: hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0000
Feb 13 19:11:00 pugliese kernel: ohci_hcd 0000:00:0b.0: GetStatus 
roothub.portstatus [1] = 0x00010101 CSC PPS CCS
Feb 13 19:11:00 pugliese kernel: hub 1-0:1.0: port 2, status 0101, change 0001, 
12 Mb/s
Feb 13 19:11:00 pugliese kernel: hub 1-0:1.0: debounce: port 2: total 100ms 
stable 100ms status 0x101
Feb 13 19:11:00 pugliese kernel: ohci_hcd 0000:00:0b.0: GetStatus 
roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
Feb 13 19:11:00 pugliese kernel: usb 1-2: new full speed USB device using 
ohci_hcd and address 2
Feb 13 19:11:01 pugliese kernel: ohci_hcd 0000:00:0b.0: GetStatus 
roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
Feb 13 19:11:01 pugliese kernel: usb 1-2: ep0 maxpacket = 16
Feb 13 19:11:01 pugliese kernel: usb 1-2: default language 0x0409
Feb 13 19:11:01 pugliese kernel: usb 1-2: new device strings: Mfr=1, Product=2, 
SerialNumber=0
Feb 13 19:11:01 pugliese kernel: usb 1-2: Product: USB Mass Storage Device 2.0
Feb 13 19:11:01 pugliese kernel: usb 1-2: Manufacturer: NewTech Inc.
Feb 13 19:11:01 pugliese kernel: usb 1-2: uevent
Feb 13 19:11:01 pugliese kernel: usb 1-2: usb_probe_device
Feb 13 19:11:01 pugliese kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 13 19:11:01 pugliese kernel: usb 1-2: adding 1-2:1.0 (config #1, interface 
0)
Feb 13 19:11:01 pugliese kernel: usb 1-2:1.0: uevent
Feb 13 19:11:01 pugliese kernel: usb 1-2:1.0: uevent
Feb 13 19:11:01 pugliese kernel: libusual 1-2:1.0: usb_probe_interface
Feb 13 19:11:01 pugliese kernel: libusual 1-2:1.0: usb_probe_interface - got id
Feb 13 19:11:01 pugliese kernel: usb-storage 1-2:1.0: usb_probe_interface
Feb 13 19:11:01 pugliese kernel: usb-storage 1-2:1.0: usb_probe_interface - got 
id
Feb 13 19:11:01 pugliese kernel: usb-storage: USB Mass Storage device detected
Feb 13 19:11:01 pugliese kernel: usb-storage: -- associate_dev
Feb 13 19:11:01 pugliese kernel: usb-storage: Vendor: 0x04e8, Product: 0x9826, 
Revision: 0x0100
Feb 13 19:11:01 pugliese kernel: usb-storage: Interface Subclass: 0x06, 
Protocol: 0x50
Feb 13 19:11:01 pugliese kernel: usb-storage: Transport: Bulk
Feb 13 19:11:01 pugliese kernel: usb-storage: Protocol: Transparent SCSI
Feb 13 19:11:01 pugliese kernel: scsi3 : SCSI emulation for USB Mass Storage 
devices
Feb 13 19:11:01 pugliese kernel: usb-storage: *** thread sleeping.
Feb 13 19:11:01 pugliese kernel: usb-storage: device found at 2
Feb 13 19:11:01 pugliese kernel: usb-storage: waiting for device to settle 
before scanning
Feb 13 19:11:01 pugliese kernel: drivers/usb/core/inode.c: creating file '002'

-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to