Subject: kern/11255: usbhidctl -a fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsarna@sarna.org>
List: netbsd-bugs
Date: 10/18/2000 08:18:28
>Number:         11255
>Category:       kern
>Synopsis:       usbhidctl -a fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 18 08:18:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ty Sarna
>Release:        1.5H 10/15/2000
>Organization:
	Me
>Environment:
	
System: NetBSD kopernik.sarna.org 1.5H NetBSD 1.5H (KOPERNIK) #23: Sun Oct 15 20:35:12 EDT 2000 tsarna@kopernik.sarna.org:/usr/src/sys/arch/i386/compile/KOPERNIK i386

 = 194 MB
using 11424 buffers containing 52320 KB of memory
BIOS32 rev. 0 found at 0xfd9e0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD751 System Controller (rev. 0x23)
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD751 PCI-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: Matrox MGA G400 AGP (rev. 0x04)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x14)
pciide0 at pci0 dev 4 function 1: VIA Tech VT82C586A IDE Controller (rev. 0x06)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DTTA-371440>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 13783 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 28229040 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <ASUS CD-S400/A, , V1.40> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 4 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x06)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x06)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viapm0 at pci0 dev 4 function 4
auvia0 at pci0 dev 4 function 5: VIA VT82C686A AC'97 Audio (rev C)
auvia0: interrupting at irq 10
auvia0: ADS64 codec; headphone, Analog Devices Phat Stereo
audio0 at auvia0: full duplex, mmap, independent
bktr0 at pci0 dev 13 function 0
bktr0: interrupting at irq 11
bktr0: Hauppauge Model 37281 B223
bktr0: Detected a MSP3430G-A1 at 0x80
bktr0: Detected a DPL3418A-A2 at 0x84
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, dpl3518a dolby, remote control.
Brooktree product 0x0878 (miscellaneous multimedia, revision 0x02) at pci0 dev 13 function 1 not configured
ex0 at pci0 dev 14 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 5
ex0: MAC address 00:60:08:99:df:5a
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0 at pci0 dev 15 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:02:b3:1d:b5:15, 10/100 Mb/s
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: i82555 10/100 media interface (OUI 0x00aa00, model 0x0015), rev. 4
ukphy0: 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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
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
viaenv0 at viapm0: disabled
apm0 at mainbus0: Power Management spec V1.2
biomask eb45 netmask ef65 ttymask ffe7
IPsec: Initialized Security Association Processing.
uhub2 at uhub0 port 1
uhub2: Nokia Display Products Oy Nokia USB Hub Type P, class 9/0, rev 1.00/1.08, addr 2
uhub2: 5 ports with 4 removable, self powered
uhid0 at uhub2 port 1 configuration 1 interface 0
uhid0: Nokia Display Products Oy Nokia USB Monitor Control, rev 1.00/1.08, addr 3, iclass 3/0
ulpt0 at uhub0 port 2 configuration 1 interface 0
ulpt0: Lexmark International, Inc. Lexmark Optra E310, rev 1.00/1.00, addr 4, iclass 7/1
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = enabled
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)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)

>Description:
	usbhidctl -a gives an error message

	I presume this is actually a uhid0 problem, hence 'kern'
>How-To-Repeat:
	kopernik$ usbhidctl -f /dev/uhid0 -a
	[pause for a few seconds, then:]
	usbhidctl: USB_GET_REPORT: Input/output error
>Fix:
	Unknown
>Release-Note:
>Audit-Trail:
>Unformatted: