From kde-linux Fri Jan 05 09:04:36 2007 From: Anselmo Date: Fri, 05 Jan 2007 09:04:36 +0000 To: kde-linux Subject: Re: [kde-linux] How do I set the default sound card? Message-Id: <200701051004.40828.omlesna () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-linux&m=116798790525574 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2121304543==" --===============2121304543== Content-Type: multipart/signed; boundary="nextPart1409601.dycgIJ9bWC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1409601.dycgIJ9bWC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Have you checked to have the correct permission on the device linked=20 by /dev/soundcard ? In my case all the sound device are rw-rw---- root audio /dev/audio=20 (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=EC 4 gennaio 2007, Ronny Standtke ha scritto: > Hi Jes, >=20 > > 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. >=20 > After studying the document and all references for some hours and actuall= y=20 > writing udev rules for all three sound devices and seeing the correct=20 > symlinks created I run again into a wall: >=20 > For my on-board soundcard I wrote the following rule: > SUBSYSTEMS=3D=3D"pci", DRIVERS=3D=3D"Intel ICH", ATTRS{device}=3D=3D"0x24= c5",=20 > SYMLINK+=3D"soundcard" > That means that /dev/soundcard always points to my on-board soundcard. Bu= t=20 > when I insert "/dev/soundcard" into the "Override device location" in the= =20 KDE=20 > Control Center and klick the "Apply" button, I get the following error=20 > message: >=20 > -------------- > Sound server informational message: > Error while initializing the sound driver: > device: /dev/soundcard can't be opened for playback (No such file or=20 > directory) > The sound server will continue, using the null output device. > -------------- >=20 > 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 ot= her=20 > custom options" checkbox and tried again with "-D /dev/soundcard"=20 > and "-D /dev/dsp". The sound server failed again! >=20 > Interestingly it works when I change the audio device to "Open Sound=20 System".=20 > But I really do NOT want to use this terrible, deprecated, expired, out o= f=20 > date sound system. What option may I use for ALSA? >=20 > Greetings and Thanks! >=20 > Ronny (who thinks that writing udev rules is too demanding for normal use= rs=20 > 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. >=20 --nextPart1409601.dycgIJ9bWC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBFnhSoSnA0EsW6L74RAsb+AJ9nucywxGi/X7VEnUhtz0AzseAGpACgrVkS YrYBpQl/VBXCv86cqvoaXV0= =2e6B -----END PGP SIGNATURE----- --nextPart1409601.dycgIJ9bWC-- --===============2121304543== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============2121304543==--