Subject: Re: USB keyboard: uhub0: device problem
To: Lennart Augustsson <lennart@augustsson.net>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: current-users
Date: 06/19/2003 07:51:36
On Wed, 18 Jun 2003, Lennart Augustsson wrote:
> >I've just purchased a cheap Turbo-Trak USB keyboard, but when I connect it
> >up (to various ports on different machines running 1.6.1/i386) it reports:
> >
> >uhub0: port 1, set config at addr 2 failed
> >uhub0: device problem, disabling port 1
>
> Is the USB controller a VIA controller?  The current USB code seems to
> have some issues with VIA controllers.

No, the whole mobo on the main machine tested is pretty much all
Intel-based. It doesn't work on MacOS either, but does work on Windows 98
with the standard keyboard drivers.

NetBSD 1.6.1 (THINIT) #16: Mon Jun 16 14:56:03 BST 2003
    root@netmanager:/usr/src/sys/arch/i386/compile/THINIT
cpu0: Intel Pentium III (Coppermine) Celeron (686-class), 645.92 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 128 KB 32b/line 4-way
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
total memory = 63548 KB
avail memory = 53284 KB
using 819 buffers containing 3276 KB of memory
BIOS32 rev. 0 found at 0xfd878
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: Intel 82815 Hub (rev. 0x11)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
vga1 at pci0 dev 2 function 0: Intel 82815 Graphics (rev. 0x11)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Texas Instruments TSB43AA22 OHCI IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x02) at pci1 dev 0 function 0 not configured
Ricoh 5C476 PCI-CardBus bridge (CardBus bridge, revision 0x80) at pci1 dev 2 function 0 not configured
Ricoh 5C476 PCI-CardBus bridge (CardBus bridge, revision 0x80) at pci1 dev 2 function 1 not configured
fxp0 at pci1 dev 8 function 0: Intel i82562 Ethernet, rev 3
fxp0: interrupting at irq 9
fxp0: Ethernet address 08:00:46:20:af:a4
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: i82562ET 10/100 media interface (OUI 0x005500, model 0x0033), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BAM LPC Interface Bridge (rev. 0x03)
pciide0 at pci0 dev 31 function 1: Intel 82801BAM IDE Controller (ICH2) (rev. 0x03)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK1016GAP>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9590 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19640880 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <CD-224E, , 1.5A> 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)
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x03)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x03)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at irq 5
auich0: ADS72 codec; headphone, Analog Devices Phat Stereo
audio0 at auich0: full duplex, mmap, independent
Intel 82801BA AC-97 PCI Modem (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq 
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
biomask efdd netmask efdd ttymask ffdf
pcic0: controller 0 detecting irqs with mask 0xdeb8: none
pcic0: no available irq; polling for socket events
wi0 at pcmcia1 function 0: NETGEAR MA401 Wireless PC, Card, Version 01.00
wi0: port 0x400-0x43fusbd_transfer_cb: short transfer 1<9
uhub_explore: usb_new_device failed, error=SHORT_XFER
uhub0: device problem, disabling port 1
wi0: couldn't establish interrupt
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs