PDA

View Full Version : USB 2.0 hub not detected



mordor
03-21-2003, 09:23 PM
I cannot use my USB mouse because USB 2.0 (NEC chipset) is detected as 1.1. Shall I use ehci instead of uhci which is default?

I used Knoppix 3.1 or 3.2, kernel 2.40.20-xfs.

BTW I got same problem on SuSE 8.1 (2.4.19) and I had to compile 2.40.20 with some 2.5 patches for ehci to solve it.

mordor
03-28-2003, 07:34 PM
I see I do not give you folks enought info. This comes from 2.4.21-pre5 kernel with usb-ehci-2.4.21-pre5.patch. Still no results mouse attached to any of two USB ports is dead. It was working with SuSE 8.1 kernel 2.4.20 patched with usb-ehci-2.4.20-pre11.patch. What adiitional info I need to provide?

00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge (rev 03)
Subsystem: Citicorp TTI: Unknown device 110e
Flags: bus master, medium devsel, latency 64
Memory at e8100000 (32-bit, non-prefetchable) [size=1M]

00:00.1 RAM memory: Transmeta Corporation SDRAM controller
Subsystem: Citicorp TTI: Unknown device 110e
Flags: fast devsel

00:00.2 RAM memory: Transmeta Corporation BIOS scratchpad
Subsystem: Citicorp TTI: Unknown device 110e
Flags: fast devsel

00:02.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Subsystem: Citicorp TTI: Unknown device 10a2
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at e8014000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2

00:04.0 Multimedia audio controller: Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device (rev 01)
Subsystem: Citicorp TTI: Unknown device 1177
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1000 [size=256]
Memory at e8015000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2

00:06.0 Bridge: Acer Laboratories Inc. [ALi] M7101 PMU
Subsystem: Citicorp TTI: Unknown device 10a3
Flags: medium devsel

00:07.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: Acer Laboratories Inc. [ALi] ALI M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1

00:09.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Citicorp TTI: Unknown device 11a3
Flags: medium devsel
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

00:09.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Citicorp TTI: Unknown device 11a3
Flags: medium devsel
Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

00:09.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: Citicorp TTI: Unknown device 11a3
Flags: medium devsel
Memory at 10002000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

00:0c.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
Subsystem: Citicorp TTI: Unknown device 10c6
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at 10003000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c3) (prog-if fa)
Subsystem: Citicorp TTI: Unknown device 10a4
Flags: bus master, medium devsel, latency 32
I/O ports at 1800 [size=16]
Capabilities: [60] Power Management version 2

00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
Subsystem: Citicorp TTI: Unknown device 111c
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 8000 [size=256]
Memory at e8016800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

00:13.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394 Controller (PHY/Link) 1394a-2000 (prog-if 10 [OHCI])
Subsystem: Citicorp TTI: Unknown device 1162
Flags: medium devsel, IRQ 9
Memory at e8016000 (32-bit, non-prefetchable) [size=2K]
Memory at e8010000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

00:14.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
Subsystem: Citicorp TTI: Unknown device 11c8
Flags: stepping, medium devsel, IRQ 9
Memory at f0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 1400 [size=256]
Memory at e8000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2

rickenbacherus
03-28-2003, 08:55 PM
Shall I use ehci instead of uhci which is default?

I would think so. Assuming it's not already listed in lsmod you could check /etc/modules.conf for something like

usb-controller ehci-hcd

Of course if it's listed there it should load on boot.
If it's not in there you could do a:

# modprobe ehci-hcd

and conversely you can remove it like so:

# rmmod ehci-hcd

Just for the fun of it you could post
cat /proc/bus/usb/devices

mordor
03-29-2003, 10:01 AM
It works now. It seems that modern laptops are totally dependant on ACPI. I compiled ACPI into kernel and suddenly USB 2.0 is detected. When I plug in mouse it's appears in usbview.

Here is my /proc/bus/usb/devices


T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.21-pre5-acpi ehci-hcd
S: Product=NEC Corporation USB 2.0
S: SerialNumber=00:09.2
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= 2 Ivl=256ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d0142000
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= 2 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d0140000
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= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00f Rev=11.00
S: Manufacturer=Logitech
S: Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbmouse
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=d013e000
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= 2 Ivl=255ms

rickenbacherus
03-29-2003, 03:33 PM
The only potential problem I see is that if you're not using the EHCI driver then your devices can only transfer data at the USB 1.1 rate not at the USB 2.0 rate. I realize this doesn't matter for just a keyboard and mouse but say if you had a hard drive then I assume you'd want to use the faster transfer rate. Glad you got it working though.

mordor
03-30-2003, 12:34 AM
UNfortunatelly I got only FireWire hdd to test. With SuSE I did not have to install anything just plug'n'play :-) I am going to test it with Knoppix too.

rickenbacherus
03-30-2003, 05:05 AM
UNfortunatelly I got only FireWire hdd to test. With SuSE I did not have to install anything just plug'n'play :-) I am going to test it with Knoppix too.

In case you were not aware there is a module for firewire as well.

If it's not listed in lsmod a simple
modprobe ohci1394 might do the trick.