RE: Problem(s) with ehci-hcd, us122l and HP laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I checked from internet. The platform is using RS780M + SB700. I don't
have such board on hand. But as for SB700, we have done some test for
USB ISO devices, including USB 1.1 speaker and USB 2.0 TV tuner. They
all work fine on SB700. 

Try to disable SB power saving feature and NB power management feature
in BIOS. I'm not sure it will help.

The error message comes from ALSA. So maybe it is an audio driver issue.

Thanks & Regards,
Libin

> -----Original Message-----
> From: Timo Ketolainen [mailto:timo.ketolainen@xxxxxxxxxxx]
> Sent: Wednesday, February 25, 2009 6:49 PM
> To: Yang, Libin
> Subject: Re: Problem(s) with ehci-hcd, us122l and HP laptop
> 
> Yang, Libin wrote:
> > Sorry, I can not find your original post. Can you send it to me?
> >
> > Thanks & Regards,
> > Libin
> >
> >
> >
> >
> Sorry, I didn't think about that ;)
> 
> The original message follows.
> 
> There's just one little difference now. I've upgraded to 2.6.29-rc6.
> Made no difference. (I wasn't expecting any, though.) I'm still using
> Karsten's patch so that I'm able to use the Tascam as usb 1.1 device.
> 
> halley ~ # uname -a
> Linux halley 2.6.29-rc6 #1 PREEMPT Tue Feb 24 12:32:34 EET 2009 x86_64
> AMD Sempron(tm) SI-40 AuthenticAMD GNU/Linux
> 
> 
> BR,
> Timo
> 
> > Hello,
> >
> > I have here a HP 6735s laptop to which I've been trying to connect
> > Tascam's US-122L audio interface. With no luck so far.
> >
> > Connection goes consistently as follows with 2.6.29-rc4 kernel
> > patched with Karsten Wiese's modifications to ehci-hcd.
> >
> > (Same happens with both 64 bit and 32 bit - which I don't
> > have around anymore, because I went to 64 since I wanted to match
the
> > kernel config to my desktop computer as closely as possible. On
> > desktop the Tascam works like a charm... Abit/Nvidia mobo, nocona
cpu)
> >
> > ...
> > Feb 16 19:33:43 halley [   53.338950] usb 2-3: New USB device found,
> > idVendor=0644, idProduct=800e
> > Feb 16 19:33:43 halley [   53.338953] usb 2-3: New USB device
strings:
> > Mfr=1, Product=2, SerialNumber=3
> > Feb 16 19:33:43 halley [   53.338955] usb 2-3: Product: US-122L
> > Feb 16 19:33:43 halley [   53.338956] usb 2-3: Manufacturer: TASCAM
> > Feb 16 19:33:43 halley [   53.338958] usb 2-3: SerialNumber: no
serial
> > number
> > Feb 16 19:33:44 halley [   53.448802] snd-usb-us122l 2-3:1.0:
> > usb_probe_interface
> > Feb 16 19:33:44 halley [   53.448806] snd-usb-us122l 2-3:1.0:
> > usb_probe_interface - got id
> > Feb 16 19:33:44 halley [   53.448812] snd-usb-us122l 2-3:1.1:
> > usb_probe_interface
> > Feb 16 19:33:44 halley [   53.448814] snd-usb-us122l 2-3:1.1:
> > usb_probe_interface - got id
> > Feb 16 19:33:44 halley [   53.518632] ALSA
> > sound/usb/usx2y/usb_stream.c:618: 0
> > Feb 16 19:33:44 halley [   53.524490] ALSA
> > sound/usb/usx2y/usb_stream.c:618: 0
> > Feb 16 19:33:47 halley [   56.912090] ALSA
> > sound/usb/usx2y/us122l.c:330: us122l_start error -14
> > Feb 16 19:33:47 halley [   56.912113] snd-usb-us122l: probe of
2-3:1.1
> > failed with error -5
> > Feb 16 19:33:47 halley [   56.912144] usbcore: registered new
> > interface driver snd-usb-us122l
> > ...
> > (complete boot log somewhere below)
> >
> > Using usbmon shows that the interface connects fine most of the
times,
> > but the transfers just freeze almost immediately after the
isochronos
> > transfers begin. After that nothing goes in or out until the
interface
> > is disconnected.
> >
> > As a sidenote, by Googling, it seems that there has been some
problems
> > with HP laptops and this interface in Win world, too. To address
this
> > a "AMD USB filter driver" has been released. Can't test it though,
> > since I ditched Vista as soon as I got my hands on this laptop.
> >
> > I would be all too happy to help debugging this problem further, but
-
> > to be honest - I have no idea how to proceed. Like where to have
some
> > extra debug messages printed and such.
> >
> > List of information
> > - kernel version
> > - lspci
> > - lspci -v of the ehci controller
> > - root_hub_lsusb_-vvv
> > - tascam_us-122l_lsusb_-vvv
> >
> > And I will have these in separate messages in reply to myself
> >
> > - halley.config - kernel .config
> > - boot.log - complete boot log with connection right after boot
> >
> > The Kernel:
> >
> > halley ~ # uname -a
> >
> > Linux halley 2.6.29-rc4 #3 PREEMPT Sun Feb 15 18:03:41 EET 2009
x86_64
> > AMD Sempron(tm) SI-40 AuthenticAMD GNU/Linux
> >
> > The hardware:
> > _____
> >
> > halley ~ # lspci
> > 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
> > 00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
> > bridge (int gfx)
> > 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
> > bridge (PCIE port 0)
> > 00:09.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI
> > bridge (PCIE port 4)
> > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> > Controller [AHCI mode]
> > 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1
Controller
> > 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> > Controller
> > 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1
Controller
> > 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> > Controller
> > 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
> > 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> > 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host
controller
> > 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
> > 00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2
> > Controller
> > 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h
> > HyperTransport Configuration (rev 40)
> > 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address
Map
> > 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM
> > Controller
> > 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h
> > Miscellaneous Control
> > 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link
> Control
> > 01:05.0 VGA compatible controller: ATI Technologies Inc
RS780M/RS780MN
> > [Radeon HD 3200 Graphics]
> > 02:00.0 Ethernet controller: Marvell Technology Group Ltd. Device
4357
> > (rev 10)
> > ____
> >
> > And the ehci controller:
> >
> > halley ~ # lspci -vvv -s 12.2
> > 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> > Controller (prog-if 20 [EHCI])
> > 	Subsystem: Hewlett-Packard Company Device 30e4
> > 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr-
> > Stepping- SERR- FastB2B- DisINTx-
> > 	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR- INTx-
> > 	Latency: 64, Cache Line Size: 64 bytes
> > 	Interrupt: pin B routed to IRQ 17
> > 	Region 0: Memory at 92409500 (32-bit, non-prefetchable)
[size=256]
> > 	Capabilities: [c0] Power Management version 2
> > 		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> > PME(D0+,D1+,D2+,D3hot+,D3cold-)
> > 		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > 		Bridge: PM- B3+
> > 	Capabilities: [e4] Debug port: BAR=1 offset=00e0
> > 	Kernel driver in use: ehci_hcd
> > 	Kernel modules: ehci-hcd
> > ____
> >
> > There's no devices, except for the us-122l, since I have disabled
> > everything in bios that's not essential (for possible interference)
> >
> > halley ~ # lsusb
> > Bus 007 Device 001: ID 1d6b:0001
> > Bus 006 Device 001: ID 1d6b:0001
> > Bus 005 Device 001: ID 1d6b:0001
> > Bus 004 Device 001: ID 1d6b:0002
> > Bus 003 Device 001: ID 1d6b:0001
> > Bus 002 Device 004: ID 0644:800e TEAC Corp.
> > Bus 002 Device 001: ID 1d6b:0002
> > Bus 001 Device 001: ID 1d6b:0001
> > ____
> >
> > root hub lsusb -vvv
> > Bus 001 Device 001: ID 1d6b:0002
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               2.00
> >   bDeviceClass            9 Hub
> >   bDeviceSubClass         0 Unused
> >   bDeviceProtocol         0 Full speed (or root) hub
> >   bMaxPacketSize0        64
> >   idVendor           0x1d6b
> >   idProduct          0x0002
> >   bcdDevice            2.06
> >   iManufacturer           3 Linux 2.6.29-rc4 ehci_hcd
> >   iProduct                2 EHCI Host Controller
> >   iSerial                 1 0000:00:12.2
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           25
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0xe0
> >       Self Powered
> >       Remote Wakeup
> >     MaxPower                0mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           1
> >       bInterfaceClass         9 Hub
> >       bInterfaceSubClass      0 Unused
> >       bInterfaceProtocol      0 Full speed (or root) hub
> >       iInterface              0
> >       Endpoint Descriptor:
> >         bLength                 7
> >         bDescriptorType         5
> >         bEndpointAddress     0x81  EP 1 IN
> >         bmAttributes            3
> >           Transfer Type            Interrupt
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0004  1x 4 bytes
> >         bInterval              12
> > Hub Descriptor:
> >   bLength               9
> >   bDescriptorType      41
> >   nNbrPorts             6
> >   wHubCharacteristic 0x000a
> >     No power switching (usb 1.0)
> >     Per-port overcurrent protection
> >   bPwrOn2PwrGood       10 * 2 milli seconds
> >   bHubContrCurrent      0 milli Ampere
> >   DeviceRemovable    0x00
> >   PortPwrCtrlMask    0xff
> >  Hub Port Status:
> >    Port 1: 0000.0100 power
> >    Port 2: 0000.0100 power
> >    Port 3: 0000.0503 highspeed power enable connect
> >    Port 4: 0000.0100 power
> >    Port 5: 0000.0100 power
> >    Port 6: 0000.0100 power
> > Device Status:     0x0003
> >   Self Powered
> >   Remote Wakeup Enabled
> >
> > ____
> >
> >
> > And Tascam's lsusb -vvv
> >
> > Bus 001 Device 005: ID 0644:800e TEAC Corp.
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   idVendor           0x0644 TEAC Corp.
> >   idProduct          0x800e
> >   bcdDevice            1.00
> >   iManufacturer           1 TASCAM
> >   iProduct                2 US-122L
> >   iSerial                 3 no serial number
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           72
> >     bNumInterfaces          2
> >     bConfigurationValue     1
> >     iConfiguration          0
> >     bmAttributes         0x80
> >       (Bus Powered)
> >     MaxPower              480mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           0
> >       bInterfaceClass       255 Vendor Specific Class
> >       bInterfaceSubClass      0
> >       bInterfaceProtocol      0
> >       iInterface              0
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        1
> >       bAlternateSetting       0
> >       bNumEndpoints           0
> >       bInterfaceClass       255 Vendor Specific Class
> >       bInterfaceSubClass      0
> >       bInterfaceProtocol      0
> >       iInterface              0
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        1
> >       bAlternateSetting       1
> >       bNumEndpoints           4
> >       bInterfaceClass       255 Vendor Specific Class
> >       bInterfaceSubClass      0
> >       bInterfaceProtocol      0
> >       iInterface              0
> >       Endpoint Descriptor:
> >         bLength                 9
> >         bDescriptorType         5
> >         bEndpointAddress     0x81  EP 1 IN
> >         bmAttributes            5
> >           Transfer Type            Isochronous
> >           Synch Type               Asynchronous
> >           Usage Type               Data
> >         wMaxPacketSize     0x004e  1x 78 bytes
> >         bInterval               1
> >         bRefresh                0
> >         bSynchAddress           0
> >       Endpoint Descriptor:
> >         bLength                 9
> >         bDescriptorType         5
> >         bEndpointAddress     0x02  EP 2 OUT
> >         bmAttributes            5
> >           Transfer Type            Isochronous
> >           Synch Type               Asynchronous
> >           Usage Type               Data
> >         wMaxPacketSize     0x004e  1x 78 bytes
> >         bInterval               1
> >         bRefresh                0
> >         bSynchAddress           0
> >       Endpoint Descriptor:
> >         bLength                 9
> >         bDescriptorType         5
> >         bEndpointAddress     0x83  EP 3 IN
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0009  1x 9 bytes
> >         bInterval               4
> >         bRefresh                0
> >         bSynchAddress           0
> >       Endpoint Descriptor:
> >         bLength                 9
> >         bDescriptorType         5
> >         bEndpointAddress     0x04  EP 4 OUT
> >         bmAttributes            2
> >           Transfer Type            Bulk
> >           Synch Type               None
> >           Usage Type               Data
> >         wMaxPacketSize     0x0200  1x 512 bytes
> >         bInterval               4
> >         bRefresh                0
> >         bSynchAddress           0
> > Device Qualifier (for other device speed):
> >   bLength                10
> >   bDescriptorType         6
> >   bcdUSB               2.00
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   bNumConfigurations      1
> > Device Status:     0x0000
> >   (Bus Powered)
> 


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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux