Acer Aspire 6935g - no sound

Helo there! I bought an Acer Aspire 6935g one month ago and I remember having to perform some sneaky tricks to get the sound working. But now I cannot find it, thus I decided to open this thread. I’ll try to provide as much info as I can, so here it goes. I ran twice /usr/sbin/alsa-info.sh and here is the outcome:
http://http://www.alsa-project.org/db/?f=684fe2cd28b0dcb852d8f0c1e6447a163f0255e5

After running

rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I got:

alsa-driver-kmp-default-1.0.20.20090529_2.6.27.21_0.1-1.1
alsa-oss-32bit-1.0.17-1.37
alsa-utils-1.0.18-6.4
alsa-oss-1.0.17-1.43
alsa-1.0.20-10.1
alsa-firmware-1.0.17-1.42
alsa-plugins-1.0.18-6.13
libpulse-browse0-0.9.14-5.7
libpulsecore4-0.9.12-9.5
libpulse0-0.9.14-5.7
libpulsecore9-0.9.14-5.7
libpulse-mainloop-glib0-0.9.14-5.7
libxine1-pulse-1.1.16.3-0.pm.2
libasound2-1.0.20-10.1
Linux linux-1a3u 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64 x86_64 x86_64 GNU/Linux
options snd slots=snd-hda-intel
# u1Nb.7j4rLmSb06C:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
options snd-hda-intel enable_msi=1
options snd-hda-intel model=auto
options snd-hda-intel single_cmd=1

Can anyone help me on this? Thank you!

I note your sound card is not identified. I also note you have mixed alsa versions:

!!ALSA Version
!!------------
Driver version:     1.0.20-git20090527
Library version:    
Utilities version:  1.0.18

That is confirmed by this:

alsa-driver-kmp-default-1.0.20.20090529_2.6.27.21_0.1-1.1
alsa-oss-32bit-1.0.17-1.37
alsa-utils-1.0.18-6.4
alsa-oss-1.0.17-1.43
alsa-1.0.20-10.1
alsa-firmware-1.0.17-1.42
alsa-plugins-1.0.18-6.13

For the latest alsa, you should instead have at least versions:
alsa-oss-1.0.17-2.8.x86_64.rpm
alsa-oss-32bit-1.0.17-2.8.x86_64.rpm
alsa-utils-1.0.20-6.2.x86_64.rpm
alsa-plugins-1.0.20-4.6.x86_64.rpm
alsa-plugins-32bit-1.0.20-4.6.x86_64.rpm
alsa-firmware-1.0.20-5.1.noarch.rpm
alsa-plugins-pulse-1.0.20-4.6.x86_64.rpm
alsa-plugins-pulse-32bit-1.0.20-4.6.x86_64.rpm
alsa-driver-kmp-default-1.0.20.20090529_2.6.27.21_0.1-2.1.x86_64.rpm

Do you know how to update to those?

I note the number of pulse apps you have installed is rather thin. Did you change that from the default installation configuration ?

Also, why so many entries in your /etc/modprobe.d/sound file. I recommend after you update those alsa apps, that you copy the /etc/modprobe.d/sound file to /home/yourusername as a backup (and do NOT put the backup in /etc/modprobe.d/ ) and then delete that file in /etc/modprobe.d/sound. And run YaST > Hardware > Sound and add your sound card (or alternatively in a terminal go to alsaconf with root permissions and configure your sound card). That will recreate the /etc/modprobe.d/sound file.

I did everything you said and after running alsaconf I received a pop up saying:

KDE detected that one or more internal sound devices were removed.

Do you want KDE to permanently forget about these devices?

This is the list of devices KDE thinks can be removed:

Capture: HDA Intel (ALC889 Analog)
Output: HDA Intel (ALC889 Analog)

Yes/No/Manage Devices

What should I do now? (Still no sound…)

I do not use KDE4, so I have no idea as to what that means in terms of KDE accuracy. One does not get those error messages with KDE3 to the best of my knowledge.

Please confirm that sound is switched ON in your PC’s BIOS ?

What is your criteria for saying you have no sound in your PC? What test are you doing? Please try each of the 3 sound tests suggested here (including the one from the alsa web site): SDB:AudioTroubleshooting - openSUSE

Did you update the alsa on your PC as I advised? What do you have installed now? Please provide the output of:rpm -qa | grep alsa

Also, run the script again:
/user/sbin/alsa-info.sh
and post here the output URL (this time try not to make the mistake you made last time in posting the URL).

From the first test (speaker-test -Dplug:front -c2 -l5 -twav) I get:

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 262144
Period size range from 32 to 131072
Using max buffer size 262144
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

For the second one (speaker-test -c2 -l5 -twav) I get:

speaker-test 1.0.20

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 2.689146
 0 - Front Left
 1 - Front Right
Time per period = 3.009024
 0 - Front Left
 1 - Front Right
Time per period = 3.006792
 0 - Front Left
 1 - Front Right
Time per period = 3.007985
 0 - Front Left
 1 - Front Right
Time per period = 3.008079

but I still hear nothing… Doing the last one as root I get:

speaker-test 1.0.20

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2.648701
 0 - Front Left
Time per period = 2.986716
 0 - Front Left
Time per period = 2.986590
 0 - Front Left
Time per period = 2.986651
 0 - Front Left
Time per period = 2.986665
 0 - Front Left
Time per period = 2.986594
 0 - Front Left
Time per period = 2.986585
 0 - Front Left
Time per period = 2.986514
 0 - Front Left
Time per period = 2.986763
 0 - Front Left
Time per period = 2.986423
 0 - Front Left
Time per period = 2.986768
 0 - Front Left
Time per period = 2.986562
 0 - Front Left
Time per period = 2.986576
 0 - Front Left
Time per period = 2.986542
 0 - Front Left
Time per period = 2.986743
 0 - Front Left
Time per period = 2.986342
 0 - Front Left
Time per period = 2.986564

I will still check the rest of the steps on the webpage you recommended but for now I can only post this. Thanks for all the help :wink:

Edit:

I forgot to post the last information you asked…

alsa-tools-1.0.20-10.2
alsa-plugins-pulse-1.0.20-7.6
alsa-oss-1.0.17-2.11
alsa-driver-kmp-default-1.0.20.20090604_2.6.27.7_9.1-4.1
alsa-firmware-1.0.20-5.1
alsa-utils-1.0.20-9.3
alsa-plugins-1.0.20-7.6
alsa-1.0.20-15.1

http://www.alsa-project.org/db/?f=eb79839f629aa9bca9afe7ab6ccf2002ba114f88

Everything is working now thanks to a forum I found, Acer Aspire 6935G [Linux Laptop Wiki] where they state that installation of latest alsa-driver snapshot and adding the line: options snd-hda-intel model=acer-aspire-8930g in /etc/modprobe.d/sound ought to be enough, and it truly is! :slight_smile: I hope this can be useful for someone else. Thank you for the help oldpcu!

Glad to read its working for you. That “acer-aspire-8930g” option must be an undocumented option, because I checked the HD-audio-models.txt file for 1.0.20 of alsa, and there is no such option. There is also no list of options yet for the alc889.

But glad to read you were successful

There is an “acer-aspire-4930g” for the ALC888, but thats as close as I could find.

The model entry for acer-aspire-8930g was added post the release of ALSA 1.0.20. So it’s not undocumented. It was just not there when alsa 1.0.20 was released.

Thanks to takashi and hector for all the hard work in getting this laptop’s audio to play properly with linux.

The model will be loaded by default (no need to explicitly set model=acer-aspire-8930g in alsa-base.conf) in the latest alsa-driver snapshots thanks to a quirk which auto forces this model for the PCI ID of any Acer 8930/8920/6920/6935 laptop.

From kernel 2.6.31 this new alsa code will be built into the alsa-driver included with the kernel.

Regards,
Karthik Ramgopal

The 4930G option is for 4930/5930 and 6930G laptops with the ALC888 codec.

The 8930G option is for 6920/8920/6935/8930 laptops with the ALC889 codec.