Re: gap in sound device numbering

From: Antony Gelberg (antony_at_wayforth.co.uk)
Date: 09/29/05


Date: Thu, 29 Sep 2005 15:34:05 +0100
To: debian-user@lists.debian.org

Sebastian Seifert wrote:
> Hello,
>
> in my PC there is a single on-board sound card that works great using ALSA and
> OSS emulation where necessary. The sound card is card 0 for alsa.
> I have a bluetooth headset as well. Whenever I attach the bluetooth
> headset, a new ALSA device for it is created, but it gets the device
> number 2. 1 seems to be occupied by some kind of midi device that I
> don't use and which probably is on-board as well.
>
> For the OSS emulation, /dev/dsp and /dev/dsp2 are created by udev. No
> /dev/dsp1, since the strange midi device does not have any dsp.
>
> The problem is that I use a VoIP soft phone called "xten xlite" that
> works via OSS and IGNORES /dev/dsp2, because it doesn't find /dev/dsp1
> (and thinks I only have /dev/dsp then). When I symlink /dev/dsp1 to
> /dev/dsp2, I can choose from 3 sound cards. But having to create this
> symlink by hand everytime I want to make a telephone call via my headset
> is tedious.
>
> What is the best solution for this? Writing a udev rule (can someone
> point me to a primer on how to do that)? Telling alsa to somehow ignore
> the strange midi device? Maybe the number skipping in OSS dsp numbering
> even is a bug (either that or the softphone is buggy)?

There is a cracking udev howto.
http://www.reactivated.net/writing_udev_rules.html

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Relevant Pages

  • Re: Sound porblems with Suse 10.1 and MSI Motherboard
    ... With /dev/adsp I get an error message telling me device not available ... for alsa and /dev/dsp for OSS. ... sound card - i.e. midi, wave etc. and what specific hardware each used. ... Also arts sometimes gets started, ...
    (comp.os.linux.hardware)
  • Re: alsamixer wont come up properly, cant adjust volumes
    ... I'm using one sound card, the one integrated on my asus m2n-mx motherboard. ... The only messages in the log concerning alsa say the driver has been loaded. ... I've done this in the past, but in the last two installs ... > alsa mixer wont load properly ie, the program will open but there are ...
    (Fedora)
  • Re: alsa sound card
    ... where everything really works under ALSA? ... >> cpu time. ... >can use the game port for external midi. ... and back to digital before it makes it's way through the sound card. ...
    (comp.os.linux.hardware)
  • Re: sound in slackware 10
    ... > with a few more entries, but I guess those are the important ones... ... Swithing the order in which the drivers are loaded should also work. ... the sound card should be the first device. ... > Slackware is using ALSA with OSS compatibility, ...
    (comp.os.linux.setup)
  • gap in sound device numbering
    ... OSS emulation where necessary. ... The sound card is card 0 for alsa. ... since the strange midi device does not have any dsp. ...
    (Debian-User)