Subject: Re: mini iPod gets no device in NetBSD 2.0-BETA
To: Lennart Augustsson <lennart@augustsson.net>
From: Steven M. Bellovin <smb@research.att.com>
List: tech-kern
Date: 11/18/2004 18:39:03
In message <419D2D06.7040108@augustsson.net>, Lennart Augustsson writes:
>Steven M. Bellovin wrote:
>> With the return statement commented out, I get this:
>> 
>> ehci0 at pci0 dev 29 function 7: Intel 82801EB/ER USB EHCI Controller (rev. 
>0x02)
>> ehci0: interrupting at ioapic0 pin 23 (irq 10)
>> ehci0: EHCI version 1.0
>> ehci0: wrong number of companions (4 != 3)
>> ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
>> ehci0: setup of reserve of size 262144 successful; p 01870000 v 0xcac75000
>> usb3 at ehci0: USB revision 2.0
>What do the next couple of lines say?

usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 8 ports with 8 removable, self powered

(earlier in the boot sequence I saw this:

uhci0 at pci0 dev 29 function 0: Intel 82801EB/ER USB UHCI Controller #0 (rev. 0
x02)
uhci0: interrupting at ioapic0 pin 16 (irq 10)
uhci0: setup of reserve of size 262144 successful; p 017a0000 v 0xcaba4000
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
uhci1 at pci0 dev 29 function 1: Intel 82801EB/ER USB UHCI Controller #1 (rev. 0
x02)
uhci1: interrupting at ioapic0 pin 19 (irq 11)
uhci1: setup of reserve of size 262144 successful; p 017e6000 v 0xcabea000
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
uhci2 at pci0 dev 29 function 2: Intel 82801EB/ER USB UHCI Controller #2 (rev. 0
x02)
uhci2: interrupting at ioapic0 pin 18 (irq 5)
uhci2: setup of reserve of size 262144 successful; p 0182b000 v 0xcac2f000
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered

>
>> 
>> It's working with USB 1.1 devices; the only 2.0 device I have is the 
>> problematic PNY Attache 2.0 widget.
>And what happens when you plug it in?
>

It sees that there's a scsibus, but never finds a device:

umass0 at uhub3 port 1 configuration 1 interface 0
umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target

And when I remove it:
umass0: at uhub3 port 1 (addr 2) disconnected
scsibus0 detached
umass0 detached


The 1.1 device appears at uhub2.

		--Steve Bellovin, http://www.research.att.com/~smb