Subject: kern/16002: USB support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <murray@river-styx.org>
List: netbsd-bugs
Date: 03/22/2002 11:58:36
>Number:         16002
>Category:       kern
>Synopsis:       USB controller no driver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 21 16:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Murray Armfield
>Release:        NetBSD 1.5ZC
>Organization:
>Environment:
System: NetBSD enterprise.home.river-styx.org 1.5ZC NetBSD 1.5ZC (ENTERPRISE) #6: Wed Mar 20 23:23:47 EST 2002 admin@enterprise.home.river-styx.org:/usr/src/sys/arch/i386/compile/ENTERPRISE i386
Architecture: i386
Machine: i386
>Description:
	I have a newer motherboard which I have talked to Manuel Bouyer regarding IDE support. He committed a number of updates to pcidevs. See the AMD768 entries. They're all new. The board comes with no onboard USB ports, instead a pci card is used supporting USB 2.0 with 4 ports on it. Following is my dmesg...
	NetBSD 1.5ZC (ENTERPRISE) #6: Wed Mar 20 23:23:47 EST 2002
	    admin@enterprise.home.river-styx.org:/usr/src/sys/arch/i386/compile/ENTERPRISE
	    cpu0: AMD Athlon Model 6 (Palomino) (686-class), 1400.13 MHz
	    cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
	    cpu0: L2 cache 256 KB 64b/line 16-way
	    cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
	    cpu0: features 383fbff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,SSE>
	    total memory = 1023 MB
	    avail memory = 946 MB
	    using 6144 buffers containing 52504 KB of memory
	    BIOS32 rev. 0 found at 0xf0be0
	    mainbus0 (root)
	    pci0 at mainbus0 bus 0: configuration mode 1
	    pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
	    pchb0 at pci0 dev 0 function 0
	    pchb0: Advanced Micro Devices AMD762 NorthBridge (rev. 0x11)
	    agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
	    ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD762 AGP Bridge (rev. 0x00)
	    pci1 at ppb0 bus 1
	    pci1: i/o space, memory space enabled
	    vga0 at pci1 dev 5 function 0: Nvidia Corporation GeForce2 MX [NV11] (rev. 0xb2)
	    wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
	    wsmux1: connecting to wsdisplay0
	    pcib0 at pci0 dev 7 function 0
	    pcib0: Advanced Micro Devices AMD768 PCI to ISA/LPC Bridge (rev. 0x04)
	    pciide0 at pci0 dev 7 function 1: Advanced Micro Devices AMD768 IDE Controller (rev. 0x04)
	    pciide0: bus-master DMA support present
	    pciide0: primary channel configured to compatibility mode
	    wd0 at pciide0 channel 0 drive 0: <ST360021A>
	    wd0: drive supports 16-sector PIO transfers, LBA addressing
	    wd0: 57241 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408 sectors
	    wd0: 32-bit data port
	    wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
	    wd1 at pciide0 channel 0 drive 1: <ST360021A>
	    wd1: drive supports 16-sector PIO transfers, LBA addressing
	    wd1: 57241 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408 sectors
	    wd1: 32-bit data port
	    wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
	    pciide0: primary channel interrupting at irq 14
	    wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
	    wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
	    pciide0: secondary channel configured to compatibility mode
	    atapibus0 at pciide0 channel 1: 2 targets
	    cd0 at atapibus0 drive 0: <SAMSUNG CD-R/RW DRIVE SW-224B, , VE002R1> type 5 cdrom removable
	    cd0: 32-bit data port
	    cd0: drive supports PIO mode 4, DMA mode 2
	    pciide0: secondary channel interrupting at irq 15
	    cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
	    Advanced Micro Devices AMD768 Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
	    ppb1 at pci0 dev 16 function 0: Advanced Micro Devices AMD768 PCI to PCI Bridge (rev. 0x04)
	    pci2 at ppb1 bus 2
	    pci2: i/o space, memory space enabled
	    cmpci0 at pci2 dev 4 function 0: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device (rev. 0x10)
	    cmpci0: interrupting at irq 10
	    audio0 at cmpci0: full duplex, mmap, independent
	    opl0 at cmpci0: model OPL3: LR swapped
	    midi at opl0 not configured
	    mpu0 at cmpci0
	    midi at mpu0 not configured
	    ohci0 at pci2 dev 5 function 0: NEC USB Host Controller (rev. 0x41)
	    ohci0: interrupting at irq 5
	    ohci0: OHCI version 1.0
	    usb0 at ohci0: USB revision 1.0
	    uhub0 at usb0
	    uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	    uhub0: 3 ports with 3 removable, self powered
	    ohci1 at pci2 dev 5 function 1: NEC USB Host Controller (rev. 0x41)
	    ohci1: interrupting at irq 9
	    ohci1: OHCI version 1.0
	    usb1 at ohci1: USB revision 1.0
	    uhub1 at usb1
	    uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	    uhub1: 2 ports with 2 removable, self powered
	    NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x02) at pci2 dev 5 function 2 not configured
	    ex0 at pci2 dev 6 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x78)
	    ex0: interrupting at irq 10
	    ex0: MAC address 00:04:75:8a:4a:32
	    exphy0 at ex0 phy 24: 3Com internal media interface
	    exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
	    isa0 at pcib0
	    com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
	    com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
	    pckbc0 at isa0 port 0x60-0x64
	    pckbd0 at pckbc0 (kbd slot)
	    pckbc0: using irq 1 for kbd slot
	    wskbd0 at pckbd0: console keyboard, using wsdisplay0
	    pmsi0 at pckbc0 (aux slot)
	    pckbc0: using irq 12 for aux slot
	    wsmouse0 at pmsi0 mux 0
	    lpt0 at isa0 port 0x378-0x37b irq 7
	    pcppi0 at isa0 port 0x61
	    spkr0 at pcppi0
	    sysbeep0 at pcppi0
	    isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
	    npx0 at isa0 port 0xf0-0xff: using exception 16
	    fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
	    fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
	    isapnp0: no ISA Plug 'n Play devices found
	    apm0 at mainbus0: Power Management spec V1.2
	    APM power mgmt engage (device 1): power management disabled (0x10f)
	    biomask eb65 netmask ef65 ttymask ffe7
	    Kernelized RAIDframe activated
	    wd1: no disk label
	    IPsec: Initialized Security Association Processing.
	    wd1: no disk label
	    boot device: wd0
	    root on wd0a dumps on wd0b
	    root file system type: ffs
	    wsdisplay0: screen 1 added (80x25, vt100 emulation)
	    wsdisplay0: screen 2 added (80x25, vt100 emulation)
	    wsdisplay0: screen 3 added (80x25, vt100 emulation)
	    wsdisplay0: screen 4 added (80x25, vt100 emulation)

I cannot test the pci card as I have no USB devices.

If anyone would like me to test stuff, I can built it, boot it but thats about all.

Note, this is a dual proc motherboard, but I only have I cpu in it and I'm not using Bill's SMP branch.

>How-To-Repeat:
	Use a ASUS A7M266-D motherboard. Probably others too. Specifically AMD MPX 768 chipset.

>Fix:
	I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted:
 		current as at 22/03/02