Bug 83022

Summary: ALI USB 2.0 EHCI Controller is not detected
Product: Base System Reporter: Markus Rosellen <m.rosellen>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Markus Rosellen 2005-07-05 19:50:16 UTC
I think that only ALI USB 2.0 Controller chip is missing in the EHCI-Table, because it's to new.
Consider the last lines of my data:

dmesg:
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xdb000000-0xdb000fff irq 15 at device 10.0 on pci0
ohci0: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb1: USB revision 1.0
uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci1: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xda800000-0xda800fff irq 11 at device 10.1 on pci0
ohci1: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci1
usb2: USB revision 1.0
uhub2: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ohci2: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xda000000-0xda000fff irq 10 at device 10.2 on pci0
ohci2: [GIANT-LOCKED]
usb3: OHCI version 1.0, legacy support
usb3: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci2
usb3: USB revision 1.0
uhub3: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 10.3 (no driver attached)



scanpci -vv
00:0a.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        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 (20000ns max), cache line size 08
        Interrupt: pin B routed to IRQ 15
        Region 0: Memory at db000000 (32-bit, non-prefetchable)
        Capabilities: [60] 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:0a.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        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 (20000ns max), cache line size 08
        Interrupt: pin C routed to IRQ 11
        Region 0: Memory at da800000 (32-bit, non-prefetchable)
        Capabilities: [60] 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:0a.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
        Subsystem: ALi Corporation USB 1.1 Controller
        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 (20000ns max), cache line size 08
        Interrupt: pin D routed to IRQ 10
        Region 0: Memory at da000000 (32-bit, non-prefetchable)
        Capabilities: [60] 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:0a.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if 20 [EHCI])
        Subsystem: ALi Corporation USB 2.0 Controller
        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 (20000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 12
        Region 0: Memory at d9800000 (32-bit, non-prefetchable)
        Capabilities: [50] 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-
        Capabilities: [58] #0a [2090]

Fix: 

probably only uptade the driver-table with my PCI-data.

Thank You!
How-To-Repeat: Boot the FreeBSD-Box
Comment 1 thierry 2006-06-01 22:08:36 UTC
it seems that the ALI EHCI controller is now detected correctly :
this is from the boot message for FreeBSD-current of today :

ohci2: [GIANT-LOCKED]
usb3: OHCI version 1.0, legacy support
usb3: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci2
usb3: USB revision 1.0
uhub3: <AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <ALi M5239 USB 2.0 controller> mem 0xd8001000-0xd80010ff irq 18 at 
device 11.3 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb1 usb2 usb3
usb4: <ALi M5239 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 6 ports with 6 removable, self powered

the kernel is a straight GENERIC :
FreeBSD 7.0-CURRENT #7: Thu Jun  1 17:18:31 CEST 2006
    XXXX@YYYY:/files1/obj/files1/src/sys/GENERIC


	TfH
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2007-06-22 14:24:25 UTC
State Changed
From-To: open->feedback


To submitter:  Is this still an issue for you on more recent versions of FreeBSD?
Comment 3 Gavin Atkinson freebsd_committer freebsd_triage 2007-06-26 22:51:48 UTC
State Changed
From-To: feedback->closed

Submitter reports (in private email) that this is now resolved