[SLE] Sound in KDE
Has anyone had problems with KDE recognizing an installed sound card on its
start-up, with the latest kbase rpm update under SuSE 6.4?
I have, and here is the solution I found, namely using the previous method of
sound card detection in the /usr/X11R6/bin/startkde file (the attached contains
the "new" implementation that won't work, and the "old" implementation that
does work, which I pulled out of an old startkde file:
# sound detection.
#
#function startifaudio () {
# if [ "`grep sound /proc/devices`" ]; then
# startifthere $@
# else
# echo "No sound device available. $@ not started."
# fi
function startifaudio () {
TESTVAR=`grep -A1 "Audio devices" /dev/sndstat | tail -n 1`
test -n "$TESTVAR" && startifthere $@
}
I imagine SuSE will want to address this matter, as well as a seeming problem
with one of grep lines in the startkde file. The line
grep: i: No such file or directory
also comes up in my KDE start-up messages...never did before. Then again,
maybe I'm the only one with these problems?
-----------------------------------
Arlen Carlson
Arlen Carlson writes:
Has anyone had problems with KDE recognizing an installed sound card on its start-up, with the latest kbase rpm update under SuSE 6.4?
I have, and here is the solution I found, namely using the previous method of sound card detection in the /usr/X11R6/bin/startkde file (the attached contains the "new" implementation that won't work, and the "old" implementation that does work, which I pulled out of an old startkde file:
# sound detection. #
#function startifaudio () { # if [ "`grep sound /proc/devices`" ]; then # startifthere $@ # else # echo "No sound device available. $@ not started." # fi
function startifaudio () { TESTVAR=`grep -A1 "Audio devices" /dev/sndstat | tail -n 1` test -n "$TESTVAR" && startifthere $@ }
But I have heard that support for /dev/sndstat is going away in the 2.4 kernel because of its limited functionality. It will not work with the new Beta SB Live drivers.
I imagine SuSE will want to address this matter, as well as a seeming problem with one of grep lines in the startkde file. The line
grep: i: No such file or directory
also comes up in my KDE start-up messages...never did before. Then again, maybe I'm the only one with these problems?
----------------------------------- Arlen Carlson
Boys will be boys, and so will a lot of middle-aged men. -- Kin Hubbard
This message was sent by XFmail (Linux)
-o) /\\ _\_v
The penguins are coming... the penguins are coming... -----------------------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
- But I have heard that support for /dev/sndstat is going away in the - 2.4 kernel because of its limited functionality. It will not work with - the new Beta SB Live drivers. Which serial number does the Beta have? -- Yatsen Ng yatsenng@casema.net It said "Needs Windows 98 or better." So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
adcarlso@visinet.ca
-
jlm@compgen.com
-
yatsenng@casema.net