On Wed, 20 Feb 2008, Harald Jung wrote:

> Hi,
> 
> there are problems with the "Vmware Virtual USB Hub" in Kernel 2.6.23.X.

What is a "Vmware Virtual USB Hub"?

> While running a kernel 2.6.23.X inside a vmware machine, there are certain 
> problems with several usb-devices, like Alladin's etoken Pro.
> If the system is booted on a "real machine" there are no problems at all.

That makes it sound like a problem in VMware, not in the kernel.

> In the Kernel 2.6.23.X series the "Vmware Virtual USB Hub" cannot be 
> initialized.
> In the 2.6.22.X series the hub is initialized correctly and recognized with 7 
> USB-Ports.
> 
> lspci : 
> 00:00.0 Class 0600: 8086:7190 (rev 01)
> 00:01.0 Class 0604: 8086:7191 (rev 01)
> 00:07.0 Class 0601: 8086:7110 (rev 08)
> 00:07.1 Class 0101: 8086:7111 (rev 01)
> 00:07.2 Class 0c03: 8086:7112
> 00:07.3 Class 0680: 8086:7113 (rev 08)
> 00:0f.0 Class 0300: 15ad:0405
> 00:10.0 Class 0100: 104b:1040 (rev 01)
> 00:11.0 Class 0200: 1022:2000 (rev 10)
> 
> 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host 
> bridge 
> (rev 01)
>         Subsystem: VMware Inc Virtual Machine Chipset
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
> 
> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
> (rev 01) (prog-if 00 [Normal decode])
>         Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- 
> Stepping- SERR+ FastB2B-
>         Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
>         I/O behind bridge: 0000f000-00000fff
>         Memory behind bridge: fff00000-000fffff
>         Prefetchable memory behind bridge: fff00000-000fffff
>         BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B+
> 
> 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
>         Subsystem: VMware Inc Virtual Machine Chipset
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 0
> 
> 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 
> (prog-if 8a [Master SecP PriP])
>         Subsystem: VMware Inc Virtual Machine Chipset
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) 
> [disabled] [size=8]
>         Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) 
> [disabled]
>         Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) 
> [disabled] [size=8]
>         Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) 
> [disabled]
>         Region 4: I/O ports at 1050 [size=16]
> 
> 00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (prog-if 00 
> [UHCI])
>         Subsystem: VMware Inc Virtual Machine Chipset
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64
>         Interrupt: pin D routed to IRQ 17
>         Region 4: I/O ports at 1060 [size=32]
> 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
>         Subsystem: VMware Inc Virtual Machine Chipset
>         Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin ? routed to IRQ 9
> 
> 00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter 
> (prog-if 00 [VGA controller])
>         Subsystem: VMware Inc Abstract SVGA II Adapter
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Region 0: I/O ports at 1420 [size=16]
>         Region 1: Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
>         Region 2: Memory at e8000000 (32-bit, non-prefetchable) [size=8M]
>         Expansion ROM at 20010000 [disabled] [size=32K]
> 
> 00:10.0 SCSI storage controller: BusLogic BT-946C (BA80C30) [MultiMaster 10] 
> (rev 01)
>         Subsystem: BusLogic BT-946C (BA80C30) [MultiMaster 10]
>         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin A routed to IRQ 11
>         Region 0: I/O ports at 1400 [size=32]
>         Region 1: Memory at e8800000 (32-bit, non-prefetchable) [size=32]
>         Expansion ROM at 20018000 [disabled] [size=16K]
> 
> 00:11.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 
> LANCE] (rev 10)
>         Subsystem: Advanced Micro Devices [AMD] PCnet - Fast 79C971
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
> Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (1500ns min, 63750ns max)
>         Interrupt: pin A routed to IRQ 16
>         Region 0: I/O ports at 1080 [size=128]
>         Expansion ROM at 20000000 [disabled] [size=64K]
> 
> The kernel messages:
> Feb 19 19:37:30 (none) user.info kernel: USB Universal Host Controller 
> Interface driver v3.0
> Feb 19 19:37:30 (none) user.info kernel: ACPI: PCI Interrupt 0000:00:07.2
> [D] -> GSI 19 (level, low) -> IRQ 16
> Feb 19 19:37:30 (none) user.info kernel: uhci_hcd 0000:00:07.2: UHCI Host 
> Controller
> Feb 19 19:37:30 (none) user.info kernel: uhci_hcd 0000:00:07.2: new USB bus 
> registered, assigned bus number 1
> Feb 19 19:37:30 (none) user.info kernel: uhci_hcd 0000:00:07.2: irq 16, io 
> base 0x00001060
> Feb 19 19:37:30 (none) user.info kernel: usb usb1: configuration #1 chosen 
> from 1 choice
> Feb 19 19:37:30 (none) user.info kernel: hub 1-0:1.0: USB hub found
> Feb 19 19:37:30 (none) user.info kernel: hub 1-0:1.0: 2 ports detected
> Feb 19 19:37:30 (none) user.info kernel: usb 1-1: new full speed USB device 
> using uhci_hcd and address 2
> Feb 19 19:37:30 (none) user.info kernel: usb 1-1: configuration #1 chosen 
> from 
> 1 choice
> Feb 19 19:37:30 (none) user.info kernel: usb 1-2: new full speed USB device 
> using uhci_hcd and address 3
> Feb 19 19:37:30 (none) user.info kernel: usb 1-2: configuration #1 chosen 
> from 
> 1 choice
> Feb 19 19:37:30 (none) user.info kernel: hub 1-2:1.0: USB hub found
> Feb 19 19:37:30 (none) user.err kernel: hub 1-2:1.0: config failed, can't 
> read 
> hub descriptor (err -22)
> 
> /proc/bus/usb/devices:
> 
> 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.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.23.16-BB5000-mthc-R224 uhci_hcd
> S:  Product=UHCI Host Controller
> S:  SerialNumber=0000:00:07.2
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0529 ProdID=3000 Rev= 1.10
> S:  Manufacturer=Aladdin
> S:  Product=NG Flash 4.27
> S:  SerialNumber=000000185642
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=  0mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0e0f ProdID=0002 Rev= 1.00
> S:  Product=VMware Virtual USB Hub
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
> I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

What does the output from usbmon show?

Alan Stern

-
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