Subject: Re: Problem with USB audio, ESI U46DJ
To: None <netbsd-users@netbsd.org>
From: Steffen Beyer <sbeyer@reactor.de>
List: netbsd-users
Date: 12/21/2005 01:05:08
On Tue, 20 Dec 2005 23:23:43 +0000 (UTC), Martijn van Buul wrote:

> > ehci0: *** WARNING: opening low/full speed device, this may not work
> > yet.
> 
> There you have it; apperently your USB audio device is an USB 1.1
> device, and you're attaching it to an USB 2.0 hub. As far as I know,
> this is only partially supported - the code to use the so-called
> Transaction Translator  inside a USB 2.0 hub knows only how to deal with
> a few transaction types, and to my best knowledge this does *not*
> include isochronous data, which is the likely kind of transfers an audio
> device will do.
> 
> [...]

Right, the audio device is connected by a USB 2.0 repeater cable (i.e.
1-port hub) to achieve a cable length of 10m.

> > uaudio0 at uhub1 port 1 configuration 1 interface 1: ESI U46DJ, rev
> > 1.00/1.00, addr 4 uaudio0: audio rev 1.00
> 
> However, "uhub1" sounds a bit fishy to me.
> [...]
> 
> It almost seems like the companion controllers don't get recognised
> properly. You didn't disable them in your kernel config, did you?

Correct, the kernel config is new and untested.  ,)

I disabled the following:

uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)
usb*    at uhci?

...because the board uses a VIA chipset.

However, after reenabling these items the USB related messages look like:

uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x81)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies 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 16 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x81)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies 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 16 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x81)
uhci2: interrupting at irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x81)
uhci3: interrupting at irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4: VIA Technologies VT8237 EHCI USB Controller (rev. 0x86)
ehci0: interrupting at irq 12
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: single transaction translator
uhub4: 8 ports with 8 removable, self powered
[...]
umass0 at uhub4 port 1 configuration 1 interface 0
umass0: NEC Electronics uPD720133, rev 2.00/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <WDC, WD3200JB-00KFA0, 08.0> disk fixed
sd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
uhub5 at uhub4 port 2
uhub5: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/6.0b, addr 3
uhub5: single transaction translator
uhub5: 4 ports with 4 removable, self powered
[...]
uaudio0 at uhub1 port 2 configuration 1 interface 1: ESI U46DJ, rev 1.00/1.00, addr 2
uaudio0: audio rev 1.00
audio1 at uaudio0: full duplex, independent
uaudio1 at uhub1 port 2 configuration 1 interface 4: ESI U46DJ, rev 1.00/1.00, addr 2
uaudio1: audio rev 1.00
audio2 at uaudio1: full duplex, independent
uhidev0 at uhub1 port 2 configuration 1 interface 7
uhidev0: ESI U46DJ, rev 1.00/1.00, addr 2, iclass 3/0
uhid0 at uhidev0: input=8, output=8, feature=0

I attached the audio device directly to the mainboard. The warning message
did not appear, but the problem with the playback persists.

Regards,
-- 
Steffen Beyer <sbeyer@reactor.de>

GnuPG key fingerprint: CA00 1611 242B 89D4 E643  E235 05F3 7689 DD3E EB26
Public key available upon request or at http://wwwkeys.de.pgp.net