Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2007 02:32:55 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        Andreas Davour <ante@Update.UU.SE>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: How do I use my USB headset?
Message-ID:  <20071012023255.63e06a2e.ariff@FreeBSD.org>
In-Reply-To: <Pine.LNX.4.64.0710111959100.23736@Psilocybe.Update.UU.SE>
References:  <Pine.LNX.4.64.0710102058200.26913@Psilocybe.Update.UU.SE> <200710102145.32585.hselasky@c2i.net> <Pine.LNX.4.64.0710111959100.23736@Psilocybe.Update.UU.SE>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ante@Update.UU.SE> 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--



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