The problem is when I restart system I get that error message in notification. What I have to do to get sound work is:
I go to Yast->Hardware->Sound then I edit my sound card which is intel 82801G. Then I enter auto in model section. Then next, it prompts that sound card has to be restarted. I click yes then next once again and after all of that it prompts me 3 or 2 times that kde wants to remove usused devices hda intel alc883 analog and/or digital. Then I have to start Kmix and sound works. Now after that what can I do to actually make it work w/o that procedure. Also what I noted, system doesn’t want to reboot sometimes so I have to shutdown -r now. Please help!
Well it seems like it only needs restart at the beginning to work. After su -c rcalsasound restart everything works. How can I automate it or edit something to make it working.
If you would like a more detailed look to be taken at this, then more detailed information needs to be provided.
To provide more information, please provide the information recommended to be provided from the second half of the multimedia stickie on our forum: Welcome to multimedia sub-area - openSUSE Forums
and I quote below the relevant part of the 2nd half:
please post … the following information:
provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here: SDB:AudioTroubleshooting - openSUSE - Script to run to obtain detailed information. On openSUSE-11.1 and newer that will ask you to run the script /usr/sbin/alsa-info.sh and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa’ #and post output here
in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse’ #and post output here
in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
in a terminal, or xterm, or konsole, type: uname -a #and post output here
for openSUSE-11.1 or earlier, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/sound #and post output here
for openSUSE-11.2 or later, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here
Further to this, while I look at what you provided, you stated manually running:
su -c rcalsasound restart
works, but that
rcalsasound restart
in your /etc/init.d/boot.local does not work.
Please can you provide here the exact content of your /etc/init.d/boot.local because your statement that one works, and the other does not work, surprises me. I am suspicious of a syntax error.
#! /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
Maybe alsa isn’t even working at the time of executing that command as it says it invokes this before going into first run level.
How about doing this. Lets check to see if there is an application that has seized the audio device and is refusing to let it go, FORCING you to restart alsa …
As soon as the boot is complete, when sound is not working, please check to see what sound driver files are open by what applications. You can do that by running:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
and then after you get sound working (with: su -c ‘rcalsasound restart’ ) run that command again:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
compare the outputs.
Are there any obvious applications that are not there after restarting alsa, that may be causing a problem?
Unfortuantely I can not examine the script output in detail until I am at home with some quiet, and with my notes.
When you said that something may occupy my sound card… does it mean that I can’t play multiple sounds at the same time? I checked, and in fact I couldn’t. But what is strange, I remember I was able to play youtube and VLC at the same time previously. I don’t know why it isn’t working now, maybe because I updated alsa? Alsa-update - openSUSE
One of the problems with Linux has always been that the various sound daemons (of which there were many) did not share the sound device. That is one of the reasons for the push for “pulse audio” as pulse is supposed to provide that capability. However pule audio has somewhat of a reputation for being buggy.
In addition, for somehardware, the alsa drives API can be used and it will share audio sound device between applications that also use the alsa-api. Hence if you go to the settings/preferences in you multimedia applications, there is a chance that if you change them all to alsa, they may share the sound device.
Now back to your /etc/modprobe.d/50-sound.conf file. You applied the model option ‘auto’. That may not be the best option. You should IMHO try each of the following (from the HD-Audio-Models.txt file) one at a time until you find the one that works best up on a reboot:
ALC882/883/885/888/889
======================
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
arima Arima W820Di1
targa Targa T8, MSI-1049 T8
asus-a7j ASUS A7J
asus-a7m ASUS A7M
macpro MacPro support
mb5 Macbook 5,1
mbp3 Macbook Pro rev3
imac24 iMac 24'' with jack detection
imac91 iMac 9,1
w2jc ASUS W2JC
3stack-2ch-dig 3-jack with SPDIF I/O (ALC883)
alc883-6stack-dig 6-jack digital with SPDIF I/O (ALC883)
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
acer-aspire-4930g Acer Aspire 4930G
acer-aspire-6530g Acer Aspire 6530G
acer-aspire-7730g Acer Aspire 7730G
acer-aspire-8930g Acer Aspire 8930G
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targa/MSI with 2-channel
targa-8ch-dig Targa/MSI with 8-channel (MSI GX620)
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m540r Clevo M540R (6ch + digital)
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
fujitsu-xa3530 Fujitsu AMILO XA3530
3stack-6ch-intel Intel DG33* boards
intel-alc889a Intel IbexPeak with ALC889A
intel-x58 Intel DX58 with ALC889
asus-p5q ASUS P5Q-EM boards
mb31 MacBook 3,1
sony-vaio-tt Sony VAIO TT
auto auto-config reading BIOS (default)
Which means replace “auto” with each item in that list, one at at time, reboot, and see if any works better than auto.
Hmm but how it possible that they were sharing it somehow and now they are not. What could have changed?
Anyway I have already tried half of this list. And only lenovo worked but in the same way as ‘auto’ option. I will check others on Friday because I don’t have access to that laptop till then
I tried all the list, and it seems that few of them worked but in the same way as the rest. Just like ‘auto’ option, maybe some of them were louder. I used following command to test the sound:
speaker-test -Dplug:front -c2 -l5 -twav
After second rcalsasound restart with the same model option in 50-sound.conf the period between ‘font left’ and ‘front right’ was smaller. Why? It was the same command I used to test…
How to make my sound card play different sound simultaneously? Because I suppose it is a problem here.
Some of them louder? That suggested to me the problem was solved.
I indicated how above, where I stated: “Possibly you had the alsa-api selected the first time, or you had pulse audio selected the 1st time.”
Did you try to configure the alsa-api in your applications? Alternatively did you try to configure pulse?
Reference the volume, they are set too low in your mixer. You posted this: http://www.alsa-project.org/db/?f=18d9115e197cb9e5953a80984eceecd24745b9a7
which indicates this:
Simple mixer control ‘Speaker’,0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 13 **[42%] **-27.00dB] [on]
Front Right: Playback 13 [42%] -27.00dB] [on]I do NOT have your hardware, so all I can assume in the absence of more detailed information from you, is that you have your mixer set wrong at 42% volume.