On Mon, Jul 19, 2010 at 08:54:26AM +0200, Jona Joachim wrote: > Hi, > I have a Logitech C200 webcam which includes a uvideo and a uaudio > device for voice recording. > > The video part works correctly and is usable, however uaudio is not so > happy, it complains in dmesg and no audio(4) device is attached: > uaudio0: audio descriptors make no sense, error=4 > > Here's what I get from usbdevs: > > port 2 addr 2: high speed, power 500 mA, config 1, Webcam C200(0x0802), > Logitech(0x046d), rev 0.09, iSerialNumber A0AC6750 > > And here's the full dmesg output related to this device: > > uvideo0 at uhub0 port 2 configuration 1 interface 0 "Logitech Webcam C200" > rev 2.00/0.09 addr 2 > video0 at uvideo0 > uaudio0 at uhub0 port 2 configuration 1 interface 2 "Logitech Webcam C200" > rev 2.00/0.09 addr 2 > uaudio0: audio descriptors make no sense, error=4 > > solo% uname -a > OpenBSD solo.my.domain 4.7 GENERIC#117 i386 > > > Does anybody know what may be wrong here?
probably a descriptor length is not what uaudio(4) expects. apply the following and see if you get any better info (or just send it to me off list). -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org Index: uaudio.c =================================================================== RCS file: /cvs/src/sys/dev/usb/uaudio.c,v retrieving revision 1.76 diff -u -p uaudio.c --- uaudio.c 19 Jul 2010 05:50:37 -0000 1.76 +++ uaudio.c 19 Jul 2010 07:06:57 -0000 @@ -64,12 +64,12 @@ #include <dev/usb/uaudioreg.h> -/* #define UAUDIO_DEBUG */ +#define UAUDIO_DEBUG /* #define UAUDIO_MULTIPLE_ENDPOINTS */ #ifdef UAUDIO_DEBUG #define DPRINTF(x) do { if (uaudiodebug) printf x; } while (0) #define DPRINTFN(n,x) do { if (uaudiodebug>(n)) printf x; } while (0) -int uaudiodebug = 0; +int uaudiodebug = 10; #else #define DPRINTF(x) #define DPRINTFN(n,x)