From owner-freebsd-usb@FreeBSD.ORG Thu Oct 10 13:14:08 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 66214449 for ; Thu, 10 Oct 2013 13:14:08 +0000 (UTC) (envelope-from elrond@phoe.frmug.org) Received: from frmug.org (enterprise.frmug.org [IPv6:2a01:e0d:1:3:58bf:fa61:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBDE2B81 for ; Thu, 10 Oct 2013 13:14:08 +0000 (UTC) Received: by frmug.org (Postfix, from userid 66) id 1B20912C681; Thu, 10 Oct 2013 15:14:05 +0200 (CEST) Received: by memo2.memo.frmug.org (Postfix, from userid 1001) id D4C6B170AC; Thu, 10 Oct 2013 15:10:33 +0200 (CEST) Date: Thu, 10 Oct 2013 15:10:33 +0200 From: Bertrand Petit To: Hans Petter Selasky Subject: Re: Using a C-Media multichannel USB DAC Message-ID: <20131010131033.GN3765@memo2.memo.frmug.org> References: <20131010031324.GM3765@memo2.memo.frmug.org> <52564ACE.30401@bitfrost.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <52564ACE.30401@bitfrost.no> User-Agent: Mutt/1.4.2.3i Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 13:14:08 -0000 On Thu, Oct 10, 2013 at 08:35:58AM +0200, Hans Petter Selasky wrote: > > sysctl hw.usb.uaudio.default_channels=8 Thank you, I was not aware of this sysctl, it has the intended effect. > The uaudio.c driver has support for talking directly to the USB HID > interface for USB audio devices (/dev/uhid0) if you need to do some I think I will try the userland libusb way first as it may prove handy to allow the user to dynamically change signals routing. -- %!PS -- Bertrand Petit /D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D /O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont 22 scalefont setfont l s P(x)s exch P T O l show showpage