using USB based micro and speaker with FreeBSD / Skype
Matthias Apitz
guru at unixarea.de
Sun Feb 21 08:37:11 UTC 2010
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_pcm.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_pcm.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
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
More information about the freebsd-usb
mailing list