From owner-freebsd-usb@FreeBSD.ORG Thu Oct 11 18:33:36 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from misaki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id 7DB0616A421; Thu, 11 Oct 2007 18:33:35 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Fri, 12 Oct 2007 02:32:55 +0800 From: Ariff Abdullah To: Andreas Davour Message-Id: <20071012023255.63e06a2e.ariff@FreeBSD.org> In-Reply-To: References: <200710102145.32585.hselasky@c2i.net> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__12_Oct_2007_02_32_55_+0800_MlgRM3lcfSo8W/W8" Cc: freebsd-usb@freebsd.org Subject: Re: How do I use my USB headset? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 18:33:36 -0000 --Signature=_Fri__12_Oct_2007_02_32_55_+0800_MlgRM3lcfSo8W/W8 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 11 Oct 2007 20:00:48 +0200 (CEST) Andreas Davour wrote: > On Wed, 10 Oct 2007, Hans Petter Selasky wrote: >=20 > > On Wednesday 10 October 2007, Andreas Davour wrote: > >> Hi! > >> > >> I've bought a Logitech USB headset, and realized that since it's > >a USB > device it shows up as new audio unit with it's own mixer > >and other > devices. Now TeamSpeak and Skype, which are the > >programs I bought the > headset for, don't seem to like the idea of > >sending the audio output > anywhere except the first unit i.e. pcm0 > >which unfortunately is my built > in laptop audio device. > >> > >> Anyone know if I can somehow route all output/input to pcm1 or > >somehow > get the headset to work with Skype? > >> > >> I can use some programs, like 'mplayer' which take a lot of > >options like > to what device it shall render audio/video. But > >since not all programs > are that forgiving I had hoped there would > >be some kind of system wide > way to direct the audio system to use > >my USB device instead. > > >> Any suggestions? > >> > >> I am using KDE if that's important (and I have checked the volume > >on all > devices and it's not zero). > > > > Hi, > > > > If you are not using FreeBSD-7 current, something like the > > following might do the trick: > > > > rm /dev/dsp0 > > ln -s /dev/dsp1 /dev/dsp0 > > This is so wrong / undefined behaviour, since FreeBSD 5.x and beyond. You should use sysctl hw.snd.unit _OR_ hw.snd.default_unit (depending on FreeBSD version) to toggle default device for application that requesting "/dev/dsp" or "/dev/mixer". Most application does not really care about what unit they are accessing, all they care is "/dev/dsp" (with the unit numbering being omitted). > > Although that means you will loose access to /dev/dsp0 . >=20 > Sorry, I should have mentioned that I use 6.2-RELEASE fully patched. >=20 > That's a good suggestion, and loosing /dev/dsp0 is ok for the > moment. The sad thing is it didn't work. :-( >=20 Of course it didn't work, since the behaviour of forcing rm/ln is undefined. You probably have to reboot or reload or re-attach, since rm/ln will screw it. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Fri__12_Oct_2007_02_32_55_+0800_MlgRM3lcfSo8W/W8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHDmxXlr+deMUwTNoRAi+GAJ0Vk+ZNKjgEprEc3ttubEW4F0hefwCdGhLm +Fx6AHn0EpQe2MA184/yolA= =HB93 -----END PGP SIGNATURE----- --Signature=_Fri__12_Oct_2007_02_32_55_+0800_MlgRM3lcfSo8W/W8--