Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2010 09:37:04 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: using USB based micro and speaker with FreeBSD / Skype
Message-ID:  <20100221083704.GA37408@current.Sisis.de>
In-Reply-To: <201002201305.50665.hselasky@c2i.net>
References:  <20100220084454.GA2599@current.Sisis.de> <201002201136.23428.hselasky@c2i.net> <20100220104416.GA3303@current.Sisis.de> <201002201305.50665.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100221083704.GA37408>