Hi everybody,
I’m an italian user (sorry for my bad english) of opensuse and I’m new of the linux world!
I have just installed opensuse 11.1 (KDE 3.5) and I have some problem with configuring audio.
I installed codecs audio/video but when I start my system I can’t listen any sound, for example, if I try to open a music file with an audio player. I can solve this problem performing
alsaconf
or configuring audio with yast. However, when I reboot my system I lose any audio setting and I need to configure it again.
If you have to run alsconf each time, there are a couple of possibilities that come to mind
one possibility is your sound device is muted at boot, and instead of searching your mixer for the muted channel, you are hitting a nail with a sludge hammer and doing the unmute with alsaconf. or
one possibility is some multi-media application (possibly your desktop system audio) is seizing the audio device at boot, and not letting go nor sharing the device;
one possibility is during boot, some other boot application is either interfering with the load of your alsa sound driver, or corrupting the load of your alsa sound driver (the ntswrapper is notorious for doing this).
Instead of typing alsaconf, you could try typing: su -c ‘rcalsasound restart’ and enter root password, if that works, put the line (no quotes) “rcalsasound restart” as the last line in your /etc/init.d/boot.local file.
You do need to seriously check the settings in your mixer (kmix in kde and alsamixer/amixer in gnome).
If you have to run alsconf each time, there are a couple of possibilities that come to mind
* one possibility is your sound device is muted at boot, and instead of searching your mixer for the muted channel, you are hitting a nail with a sludge hammer and doing the unmute with alsaconf. or
* one possibility is some multi-media application (possibly your desktop system audio) is seizing the audio device at boot, and not letting go nor sharing the device;
* one possibility is during boot, some other boot application is either interfering with the load of your alsa sound driver, or corrupting the load of your alsa sound driver (the ntswrapper is notorious for doing this).
Instead of typing alsaconf, you could try typing: su -c ‘rcalsasound restart’ and enter root password, if that works, put the line (no quotes) “rcalsasound restart” as the last line in your /etc/init.d/boot.local file.
You do need to seriously check the settings in your mixer (kmix in kde and alsamixer/amixer in gnome).
Good luck.
Thank you for the answers!
When I type su -c ‘rcalsasound restart’ I obtain the same result of alsaconf: the audio is ok!.
I tried to put the line rcalsasound restart in the last line in my /etc/init.d/boot.local file and I restarted my computer, but I did not obtain any results.
Can you post here the contents of your updated /etc/init.d/boot.local file?
Sorry, I’m late!
Here you have my updated /etc/init.d/boot.local file:
#! /bin/sh
#
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.
#
# Author: Werner Fink <werner@suse.de>, 1996
# Burchard Steinbild, 1996
#
# /etc/init.d/boot.local
#
# script with local commands to be executed from init on system startup
#
# Here you should add things, that should happen directly after booting
# before we're going to the first run level.
#
rcalsasound restart
What is your criteria for saying you do not obtain any results? What results did you not obtain?
After updating the /etc/init.d/boot.local file I reboot my system and I still can’t hear any sound if I open a music file or If I try to open a video (my kMix is ok!)!
P.S:
I forgot to say that, although I can’t hear any sound from a music file or a video file, the system sounds are ok, both when I did not update the /etc/init.d/boot.local file and when the file is updated !
This suggests to me that your problem is not basic system sound, but rather inappropriate codecs. OpenSUSE in essence is packaged crippled for most codecs and must be updated to provide 1st rate multimedia capabilities.
This suggests to me that your problem is not basic system sound, but rather inappropriate codecs. OpenSUSE in essence is packaged crippled for most codecs and must be updated to provide 1st rate multimedia capabilities.
Fortunately that is VERY easy to do. Please read the post linked here: openSUSE Forums - View Single Post - sound problems - fixing ones multimedia applications … and follow the advice in that thread. My apologies for the pontification in that post, but the technical information should be good.
I have already installed the codecs from 1-click-collection - openSUSE-Community (Multimedia - Codecs pack for KDE)! When I type su -c ‘rcalsasound restart’ the audio is ok and I can hear whatever audio file format!
I am also a new linux user and i have experienced the same difficulties. I followed your instructions and everything seems to be working perfectly, but i can’t still hear any sound. pls i need help.