Hi,
I've got 2 VIA Technologies UHCI USB ports on my mobo. I've got the UHCI 
driver compiled into my kernel and it works fine.
But since a few weeks i've also got a NEC USB 2.0 PCI adaptor. I was 
running a working 2.4.17 kernel, i patched it with the 2.4.18 patch and 
the 2.4.19-pre3 patch. I've built the ehci-hcd module and the usb 2 
adaptor is now found by linux.
in /var/log/messages i can find this (these messages occured during boot):
Mar 22 17:48:12 AustinPC kernel: Linux Kernel Card Services 3.1.22
Mar 22 17:48:12 AustinPC kernel:   options:  [pci] [cardbus] [pm]
Mar 22 17:48:12 AustinPC kernel: usb.c: registered new driver usbdevfs
Mar 22 17:48:12 AustinPC kernel: usb.c: registered new driver hub
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: $Revision: 1.275 $ time 
18:51:01 Mar 20 2002
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: High bandwidth mode enabled
Mar 22 17:48:12 AustinPC kernel: PCI: Found IRQ 11 for device 00:07.2
Mar 22 17:48:12 AustinPC kernel: PCI: Sharing IRQ 11 with 00:07.3
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 11
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: Detected 2 ports
Mar 22 17:48:12 AustinPC kernel: usb.c: new USB bus registered, assigned 
bus number 1
Mar 22 17:48:12 AustinPC kernel: hub.c: USB hub found
Mar 22 17:48:12 AustinPC kernel: hub.c: 2 ports detected
Mar 22 17:48:12 AustinPC kernel: PCI: Found IRQ 11 for device 00:07.3
Mar 22 17:48:12 AustinPC kernel: PCI: Sharing IRQ 11 with 00:07.2
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: Detected 2 ports
Mar 22 17:48:12 AustinPC kernel: usb.c: new USB bus registered, assigned 
bus number 2
Mar 22 17:48:12 AustinPC kernel: hub.c: USB hub found
Mar 22 17:48:12 AustinPC kernel: hub.c: 2 ports detected
Mar 22 17:48:12 AustinPC kernel: usb-uhci.c: v1.275:USB Universal Host 
Controller Interface driver
Mar 22 17:48:12 AustinPC kernel: Initializing USB Mass Storage driver...
Mar 22 17:48:12 AustinPC kernel: usb.c: registered new driver usb-storage
Mar 22 17:48:12 AustinPC kernel: USB Mass Storage support registered.
#i guess this was about the ports on my mobo
[cut]
Mar 22 17:48:12 AustinPC kernel: Mounted devfs on /dev
Mar 22 17:48:12 AustinPC kernel: Freeing unused kernel memory: 272k freed
Mar 22 17:48:12 AustinPC kernel: hub.c: USB new device connect on 
bus1/1, assigned device number 2
Mar 22 17:48:12 AustinPC kernel: usb.c: USB device 2 (vend/prod 
0x6b9/0x4061) is not claimed by any active driver.
Mar 22 17:48:12 AustinPC kernel: Adding Swap: 393584k swap-space 
(priority -1)
Mar 22 17:48:12 AustinPC kernel: NVRM: loading NVIDIA NVdriver Kernel 
Module  1.0.2314  Fri Nov 30 19:33:20 PST 2001
Mar 22 17:48:12 AustinPC kernel: PCI: Found IRQ 9 for device 00:0f.2
Mar 22 17:48:12 AustinPC kernel: PCI: Sharing IRQ 9 with 00:0b.0
Mar 22 17:48:12 AustinPC kernel: hcd.c: ehci-hcd @ 00:0f.2, PCI device 
1033:00e0 (NEC Corporation)
Mar 22 17:48:12 AustinPC kernel: hcd.c: irq 9, pci mem d8938000
Mar 22 17:48:12 AustinPC kernel: usb.c: new USB bus registered, assigned 
bus number 3
Mar 22 17:48:12 AustinPC kernel: ehci-hcd.c: USB 2.0 support enabled, 
EHCI rev 0.95
Mar 22 17:48:12 AustinPC kernel: hub.c: USB hub found
Mar 22 17:48:12 AustinPC kernel: hub.c: 5 ports detected
#that's right, the adaptor has 4 external and 1 internal port.

till now everything seemed (to me) to work well, but when i (dis)connect 
a device (printer, camera, adsl modem) on the usb 2.0 adaptor there are 
no messages printed in the /var/log/messages file, while the usb uhci 
gives me the appropriate messages like:
Mar 23 11:16:48 AustinPC kernel: hub.c: USB new device connect on 
bus1/2, assigned device number 3
Mar 23 11:16:48 AustinPC kernel: usb.c: ignoring set_interface for dev 
3, iface 0, alt 0
Mar 23 11:16:48 AustinPC kernel: printer.c: usblp0: USB Bidirectional 
printer dev 3 if 0 alt 0
Mar 23 11:16:49 AustinPC /etc/hotplug/usb.agent: Setup printer for USB 
product 4f9/d/100
Mar 23 11:16:49 AustinPC /etc/hotplug/usb.agent: missing kernel or user 
mode driver printer

for those who are interested my 'lspci -vvv' output

00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev 44)
        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
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=7 SBA+ 64bit- FW- Rate=x1,x2
                Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x2

00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] 
(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=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: da000000-dbffffff
        Prefetchable memory behind bridge: d8000000-d9ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
        Capabilities: [80] 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-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
        Subsystem: VIA Technologies, Inc. VT82C686/A PCI to ISA Bridge
        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: VIA Technologies, Inc. Bus Master IDE (rev 10) (prog-if 8a 
[Master SecP PriP])
        Subsystem: VIA Technologies, Inc. Bus Master IDE
        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: 32
        Region 4: I/O ports at d000 [size=16]
        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-

00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) (prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        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: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at d400 [size=32]
        Capabilities: [80] 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-

00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) (prog-if 00 [UHCI])
        Subsystem: Unknown device 0925:1234
        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: 32, cache line size 08
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at d800 [size=32]
        Capabilities: [80] 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-

00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
        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 11
        Capabilities: [68] 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-

00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07)
        Subsystem: Creative Labs: Unknown device 8061
        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: 32 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 9
        Region 0: I/O ports at e000 [size=32]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.1 Input device controller: Creative Labs SB Live! (rev 07)
        Subsystem: Creative Labs Gameport Joystick
        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: 32
        Region 0: I/O ports at e400 [size=8]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
        Subsystem: Accton Technology Corporation: Unknown device 9211
        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: 32 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at e800 [size=256]
        Region 1: Memory at dc000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
        Subsystem: NEC Corporation USB
        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: 32 (250ns min, 10500ns max), cache line size 08
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at dc001000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] 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-

00:0f.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
        Subsystem: NEC Corporation USB
        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: 32 (250ns min, 10500ns max), cache line size 08
        Interrupt: pin B routed to IRQ 10
        Region 0: Memory at dc002000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] 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-

00:0f.2 USB Controller: NEC Corporation: Unknown device 00e0 (rev 02) (prog-if 20)
        Subsystem: Unknown device 3383:3383
        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: 32 (4000ns min, 8500ns max), cache line size 08
        Interrupt: pin C routed to IRQ 9
        Region 0: Memory at dc003000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] 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-

01:00.0 VGA compatible controller: nVidia Corporation Vanta [NV6] (rev 11) (prog-if 00 
[VGA])
        Subsystem: Guillemot Corporation: Unknown device 4d20
        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: 248 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at da000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d8000000 (32-bit, prefetchable) [size=32M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=31 SBA- 64bit- FW- Rate=x1,x2
                Command: RQ=7 SBA- AGP+ 64bit- FW- Rate=x2


I thought I read somewhere that the usb 2.0 adaptor also needed the OHCI 
support, but i can't compile that one because UHCI is allready in my 
kernel, or have i got to use both as Module?
Can anyone help me?



Grtz, Tom


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to