open 11 sb16 sound

I am running in a virtual environment which supplies a sb16 sound card. I
can install the card in Yast. It will play the test sound but will not
play Amarok sound sample. OS is Opensuse 11 32 bit, KDE4.

I have made this work in 10.3 untill the system is rebooted.

-MD

Please confirm you have alsa-firmware installed. If not, then install it and reboot and check your sound.

Reference the sound working under yast but not in Amarok, that could be because
(a) problem with amarok, or
(b) problem with user permissions.

Please open a gnome-terminal/konsole and copy and paste the following in as a sound test.
** speaker-test -Dplug:front -c2 -l5 -twav**
Do you hear anything?

If that gives no sound, then please add your regular user to group audio per the instructions here:
SDB:AudioTroubleshooting - openSUSE

Then log out of X and log back in and test your sound again with the sound test I gave.

Good luck.

oldcpu wrote:

>
> Mark;1852684 Wrote:
>> I am running in a virtual environment which supplies a sb16 sound card.
>> I
>> can install the card in Yast. It will play the test sound but will
>> not
>> play Amarok sound sample. OS is Opensuse 11 32 bit, KDE4.
>>
>> I have made this work in 10.3 untill the system is rebooted.
>>
>> -MD
>
> Please confirm you have alsa-firmware installed. If not, then install
> it and reboot and check your sound.
>
> Reference the sound working under yast but not in Amarok, that could be
> because
> (a) problem with amarok, or
> (b) problem with user permissions.
>
> Please open a gnome-terminal/konsole and copy and paste the following
> in as a sound test.
> ::* speaker-test -Dplug:front -c2 -l5 -twav*::
> Do you hear anything?
>
> If that gives no sound, then please add your regular user to group
> audio per the instructions here:
> ‘SDB:AudioTroubleshooting - openSUSE’ (http://tinyurl.com/45yytg)
>
> Then log out of X and log back in and test your sound again with the
> sound test I gave.
>
> Good luck.
>
>

Since I monitor the news group on the 10.3 machine and I rebooted it earlier
today, I decided to check it out first.

alsa firmware is loaded.

I received the following error from the speaker test:

mark@TUX103:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.14

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Playback open error: -2,No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Playback open error: -2,No such file or directory

I reloaded the soundcard in yast, tested for sound in yast and then ran the
sound test and received the same error.

-MD

please add your regular user to group audio per the instructions here:
SDB:AudioTroubleshooting - openSUSE

Then log out of X and log back in and test your sound again with the sound test I gave.

oldcpu wrote:

>
> Mark;1852854 Wrote:
>> > If that gives no sound, then please add your regular user to group
>> > audio per the instructions here:
>> > ‘SDB:AudioTroubleshooting - openSUSE’ (‘SDB:AudioTroubleshooting -
>> openSUSE’ (http://tinyurl.com/45yytg))
>> >
>> > Then log out of X and log back in and test your sound again with the
>> > sound test I gave.
>> … snipped …
>> I reloaded the soundcard in yast, tested for sound in yast and then ran
>> the
>> sound test and received the same error.
>
> please add your regular user to group audio per the instructions here:
> ‘SDB:AudioTroubleshooting - openSUSE’ (http://tinyurl.com/45yytg)
>
> Then log out of X and log back in and test your sound again with the
> sound test I gave.
>
>
I should have stated in the previous e-mail that I have gone through this
page previously http://en.opensuse.org/SDB:AudioTroubleshooting. The user
was already a member of audio on the 10.3 machine. Running the script
produces the same error.

On the 11.0 machine I added the user to audio and Amarok will now work till
I reboot. Running the script will produce a similar error to that I my
previous e-mail.

I may be grasping at staws here, but it seams the problem is in the
detection of the sound card during boot. If I delete the sound card and
add it then I have sound.

Thank you for your help.
-MD

Yes, that would have saved some time.

Setup your sound such that it works.

Reboot.

Then the very 1st thing you do after the reboot, open a konsole / gnome-terminal and type:
su -c 'rcalsasound restart’
Test your sound. Does that work?

oldcpu wrote:

>
> Setup your sound such that it works.
>
> Reboot.
>
> Then the very 1st thing you do after the reboot, open a konsole /
> gnome-terminal and type:
> ::su -c ‘rcalsasound restart’::
> Test your sound. Does that work?
>
>

Yes, it worked.

-MD

As a work around to this problem (that requires you to run “rcalsasound restart”) you could add to the end of the file /etc/init.d/bootlocal the line:
rcalsasound restart

(not su -c ‘rcalsasound restart’, but “rcalsasound restart” (no quotes))

That edit will run that ‘rcalsasound restart’ every boot, so you do not have to type it.

It worked!

Thank you,

I now have virtual machines with sound.

-MD

oldcpu wrote:

>
> Mark;1852948 Wrote:
>> oldcpu wrote:
>>
>> >
>> > Setup your sound such that it works.
>> >
>> > Reboot.
>> >
>> > Then the very 1st thing you do after the reboot, open a konsole /
>> > gnome-terminal and type:
>> > ::su -c ‘rcalsasound restart’::
>> > Test your sound. Does that work?
>> >
>> >
>>
>> Yes, it worked.
> As a work around to this problem (that requires you to run “rcalsasound
> restart”) you could add to the end of the file /etc/init.d/bootlocal the
> line:
> ::rcalsasound restart::
>
> (not su -c ‘rcalsasound restart’, but “rcalsasound restart” (no
> quotes))
>
> That edit will run that ‘rcalsasound restart’ every boot, so you do not
> have to type it.
>
>