Subject: kern/24780: ohci usb not working right
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dmcmahill@netbsd.org>
List: netbsd-bugs
Date: 03/14/2004 15:02:00
>Number:         24780
>Category:       kern
>Synopsis:       ohci usb not working right
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 14 20:03:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dan McMahill
>Release:        NetBSD 1.6ZI
>Organization:
NetBSD
>Environment:
	
	
System: NetBSD offsides 1.6ZI NetBSD 1.6ZI (GENERIC) #0: Thu Feb 5 18:09:52 UTC
2004 cyber@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i
386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

I have a cheapo digital camera which works on one i386 box but not another.  I
have exactly the same version of NetBSD installed on both (installed both
from the same cd).

On the machine which does not work I have:

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[snip]
ohci0 at pci0 dev 1 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x07)
ohci0: interrupting at irq 9    
ohci0: OHCI version 1.0, legacy support
[snip]
usb0 at ohci0: USB revision 1.0 
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered 

When I plug the camera in I get:

uhub0: port 1, set config at addr 2 failed
uhub0: device problem, disabling port 1

on the machine which works I have 

pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[snip]
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x02)
uhci0: interrupting at irq 11
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
[snip]
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x02)
uhci1: interrupting at irq 10
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

When I plug in the camera I get:

ugen0 at uhub0 port 2
ugen0: NHJ USB DIGITA, rev 1.10/1.00, addr 2

	
>How-To-Repeat:

try an iConcepts really cheap digital camera on an ohci usb system.  Lose.
	
>Fix:

	
>Release-Note:
>Audit-Trail:
>Unformatted: