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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 21 February 2010 09:37:04 Matthias Apitz wrote:
> El d=EDa Saturday, February 20, 2010 a las 01:05:50PM +0100, Hans Petter=
=20
Selasky escribi=F3:
> > > 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 .
>=20
> I did and I have had to fetch 2 header files more:
>=20
> sys/dev/usb/usbdi_util.h
> sys/dev/usb/usbdi.h
>=20
> but a buildkernel complains about:
>=20
> # make buildkernel KERNCONF=3DGENERIC
> ...
> 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=
=2Ec
> /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudio=
_p
> cm.c
>  /usr/src/sys/modules/sound/driver/uaudio/../../../../dev/sound/usb/uaudi=
o.
> 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
>=20
> Stop in /usr/src/sys/modules/sound/driver/uaudio.
> *** Error code 1
>=20
> 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
>=20
> #ifdef HAVE_KERNEL_OPTION_HEADERS
> #include "opt_snd.h"
> #endif
>=20
> but the file is not in head
>=20
> 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'
>=20
> I have to wait until update all to 9-CURRENT;
>=20
> Thx
>=20
> 	matthias
>=20

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

=2D-HPS



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