[kde-linux] How do I set the default sound card?

Anselmo omlesna at gmail.com
Fri Jan 5 09:04:36 UTC 2007


Have you checked to have the correct permission on the device linked 
by /dev/soundcard ?

In my case all the sound device are 	rw-rw---- root audio /dev/audio 
(i've appended /dev/ just to be clear)
So i've to be in the group "audio" to be able to use it.

Alle 23:44, giovedì 4 gennaio 2007, Ronny Standtke ha scritto:
> Hi Jes,
> 
> > http://www.reactivated.net/writing_udev_rules.html
> >
> > This is an excellent resource that explains how to write rules in much
> > detail. I hope it proves useful.
> 
> After studying the document and all references for some hours and actually 
> writing udev rules for all three sound devices and seeing the correct 
> symlinks created I run again into a wall:
> 
> For my on-board soundcard I wrote the following rule:
> SUBSYSTEMS=="pci", DRIVERS=="Intel ICH", ATTRS{device}=="0x24c5", 
> SYMLINK+="soundcard"
> That means that /dev/soundcard always points to my on-board soundcard. But 
> when I insert "/dev/soundcard" into the "Override device location" in the 
KDE 
> Control Center and klick the "Apply" button, I get the following error 
> message:
> 
> --------------
> Sound server informational message:
> Error while initializing the sound driver:
> device: /dev/soundcard can't be opened for playback (No such file or 
> directory)
> The sound server will continue, using the null output device.
> --------------
> 
> I even tried with the default device node "/dev/dsp" with the same result.
> Then I studied the console output of "artsd -h" and activated the "Use other 
> custom options" checkbox and tried again with "-D /dev/soundcard" 
> and "-D /dev/dsp". The sound server failed again!
> 
> Interestingly it works when I change the audio device to "Open Sound 
System". 
> But I really do NOT want to use this terrible, deprecated, expired, out of 
> date sound system. What option may I use for ALSA?
> 
> Greetings and Thanks!
> 
> Ronny (who thinks that writing udev rules is too demanding for normal users 
> and that there should be a better solution)
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070105/45f92d68/attachment.sig>


More information about the kde-linux mailing list