From owner-freebsd-usb@FreeBSD.ORG Sun Feb 21 08:37:11 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7473F1065670 for ; Sun, 21 Feb 2010 08:37:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 047C18FC12 for ; Sun, 21 Feb 2010 08:37:10 +0000 (UTC) Received: from [88.217.60.136] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Nj7JM-000451-QZ; Sun, 21 Feb 2010 09:37:09 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o1L8b5wn075132; Sun, 21 Feb 2010 09:37:10 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o1L8b47d075131; Sun, 21 Feb 2010 09:37:04 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 21 Feb 2010 09:37:04 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20100221083704.GA37408@current.Sisis.de> References: <20100220084454.GA2599@current.Sisis.de> <201002201136.23428.hselasky@c2i.net> <20100220104416.GA3303@current.Sisis.de> <201002201305.50665.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201002201305.50665.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 88.217.60.136 Cc: freebsd-usb@freebsd.org Subject: Re: using USB based micro and speaker with FreeBSD / Skype X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2010 08:37:11 -0000 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 - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu