using USB based micro and speaker with FreeBSD / Skype

Hans Petter Selasky hselasky at c2i.net
Sun Feb 21 08:58:43 UTC 2010


On Sunday 21 February 2010 09:37:04 Matthias Apitz wrote:
> El día Saturday, February 20, 2010 a las 01:05:50PM +0100, Hans Petter 
Selasky escribió:
> > > Hans,
> > >
> > > Is there a way to down port this fix to my 8-CURRENT? I can't update my
> > > business laptop now (and even more, only to get an external micro
> > > working with Skype when me and my group are calling other colleagues).
> > > Thanks for a pointer
> > >
> > > 	matthias
> >
> > Try to fetch uaudio*[ch] from 9-current. /usr/src/sys/dev/sound/usb .
> 
> I did and I have had to fetch 2 header files more:
> 
> sys/dev/usb/usbdi_util.h
> sys/dev/usb/usbdi.h
> 
> but a buildkernel complains about:
> 
> # make buildkernel KERNCONF=GENERIC
> ...
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE
> -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq
> -I/usr/obj/usr/src/sys/GENERIC
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.c
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio_p
> cm.c
>  /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio.
> c:81:21: error: opt_snd.h: No such file or directory
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio_p
> cm.c:31:21: error: opt_snd.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/sound/driver/uaudio.
> *** Error code 1
> 
> and opt_snd.h is not at all in SVN of head... I'm puzzled a bit
> The reference is in both C sources like this
> 
> #ifdef HAVE_KERNEL_OPTION_HEADERS
> #include "opt_snd.h"
> #endif
> 
> but the file is not in head
> 
> at the end, it does not compile for conflicst like
> dev/sound/usb/uaudio.c:3628: error: too many arguments to function
> 'usbd_copy_in'
> 
> I have to wait until update all to 9-CURRENT;
> 
> Thx
> 
> 	matthias
> 

You could maybe build the 9-current kernel and boot it, then revert to the 8-
stable kernel after testing.

--HPS


More information about the freebsd-usb mailing list