hda intel alc883 does not work

Hey,

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.

to automate put the entry in your /etc/init.d/boot.local file as the last entry.
ie

rcalsasound restart

Hey,

Thanks for reply. Unfortunately it didn’t work.
I still have to rcalsasound restart manually after system boot up.

I found out that it works also for

model=lenovo-ms7195-dig

even though it’s medion laptop.

I rebooted system and still the same. It didn’t work after reboot. Notification is same saying that intel hda does not work.
And I have to restart

rcalsasound restart

to make it work.

Anyone?

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
/usr/sbin/alsa-info.sh](http://www.alsa-project.org/db/?f=18d9115e197cb9e5953a80984eceecd24745b9a7)
http://www.alsa-project.org/db/?f=18d9115e197cb9e5953a80984eceecd24745b9a7
rpm -qa '*alsa*'
alsa-firmware-1.0.20-11.1.noarch
alsa-driver-kmp-default-1.0.22.1.20100411_2.6.31.12_0.2-1.1.i586
alsa-oss-1.0.17-53.1.i586
alsa-plugins-1.0.22-26.2.i586
alsa-1.0.22-57.1.i586
alsa-utils-1.0.21-23.1.i586
rpm -qa '*pulse*'
libpulse0-0.9.21-1.2.1.i586
libpulse-mainloop-glib0-0.9.21-1.2.1.i586
rpm -q libasound2
libasound2-1.0.22-57.1.i586
uname -a
Linux linux-bn51 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux
cat /etc/modprobe.d/50-sound.conf

options snd-hda-intel model=auto
options snd slots=snd-hda-intel
# u1Nb.g_QnTbHJolB:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel

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.

Thanks for quick reply.

#! /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.

The syntax is fine.

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.

Ok here is the output.

before (no-sound):

lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND   PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
knotify4 2424 pawel   13u   CHR 116,11      0t0 7604 /dev/snd/controlC0
kmix     2490 pawel   11u   CHR 116,11      0t0 7604 /dev/snd/controlC0

after restarting alsa:

lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*

is just nothing.

So knotify is killing my sound?

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

Also I tried speaker-test:

speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.0.22

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy

No this has nothing to do with updating alsa.

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 :frowning:

What likely changed were your settings. Possibly you had the alsa-api selected the first time, or you had pulse audio selected the 1st time.

Hey, I’m back.

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.

Anyone?

I just want to have sound straight after boot.

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.

I have posted some details previously. What else should I post?

I don’t understand what your symptoms are currently.