sound (ALC880) does not work in edgy

Bug #77828 reported by Eric
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Dereck Wonnacott

Bug Description

Binary package hint: linux-image-2.6.17-10-generic

Edgy installed on a D900t laptop (like Sager 9860, Peutium 4, ALC 880 realtek sound)
Sound simply does not work. When I try to play sound :

aplay /usr/share/sounds/generic.wav
ALSA lib pcm_dmix.c:862:(snd_pcm_dmix_open) unable to open slave
aplay: main:547: audio open error: invalid argument

This bug appeared in Dapper with my laptop, sound was ok before. In dapper I noticed that compiling alsa from source with debug=detect allowed the sound to work, though at each eand of sound, a bunch of debug info appeared in dmeg etc... but at least it did work.

Now, I installed edgy, and sound does not work at all, even with a self-compiled alsa with the debug option activated !!! I always get the above reported result.

I must also mention that surprisingly, alsamixer/amixer seem to work ok, and do not give any suspect results.

Eric

PS : here are some more info :
 aplay -l

**** Liste des PLAYBACK périphériques ****
carte 0: Intel [HDA Intel], périphérique 0 : ALC880 Analog [ALC880 Analog]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 1 : ALC880 Digital [ALC880 Digital]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 6 : Si3054 Modem [Si3054 Modem]
  Sous-périphériques: 1/1
  Sous-périphérique: #0: subdevice #0

in /etc/modprobe.d/alsa-base I added :
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=3stack-digout position_fix=1
#alias sound-slot-0 snd-hda-intel
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

Tags: cft-2.6.27
Eric (erdv38)
description: updated
Revision history for this message
Eric (erdv38) wrote :

To complete the bug report, here are some debug informations from dmesg and /var/log/messages.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information.

Please include the information requested from https://help.ubuntu.com/community/DebuggingSoundProblems as separate attachments.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Change Status of Unconfirmed to Need Info.

Changed in linux-source-2.6.17:
status: Unconfirmed → Needs Info
Revision history for this message
Alvin Thompson (alvint-deactivatedaccount) wrote :

[workaround and cause]

if you delete the file '/var/lib/alsa/asound.state' and reboot, the alsa driver is properly loaded. then, you can tweak the mixer settings to get sound (for me, i have to enable surround sound).

however, the next time you reboot, the sound goes away again and you have to repeat the process.

thus, i believe the problem lies with the alsa startup script. if the file '/var/lib/alsa/asound.state' exists at boot, alsa tries to load it but gets confused and alsa doesn't properly configure. maybe the file isn't properly formatted; i know it refers to controls that don't exist on my card.

$ lspci | grep -i audio
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)

Changed in linux-source-2.6.17:
status: Needs Info → Confirmed
Revision history for this message
Alvin Thompson (alvint-deactivatedaccount) wrote :

the problem is a race condition with the init script. now that init scripts are run in parallel, a kludge was added to /etc/init.d/alsa-utils which simply waits until the file system is available. some other condition must also need to be satisfied. this is confirmed by the fact that the loss of sound for most people first started with Edgy.

Revision history for this message
Eric (erdv38) wrote :

Thank you for the comments, but my problem has nothing to do with this kind of bug. I tested your solution but nothing changed.
Here are the required logs for helping you debugging (sorry for answering so late to this bug description ...

Revision history for this message
Eric (erdv38) wrote :

I just realized that I forgot the output of cat /etc/asound.conf ~/.asoundrc* for being complete in my previous comment ...

cat: /etc/asound.conf: Aucun fichier ou répertoire de ce type
cat: /home/eric/.asoundrc*: Aucun fichier ou répertoire de ce type

Changed in linux-source-2.6.17:
assignee: nobody → ubuntu-audio
importance: Undecided → Medium
Revision history for this message
Dereck Wonnacott (dereck) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing the linux-source-2.6.17 Edgy Eft kernel task. However, can you confirm if this issue still exists in the Hardy Heron 8.04 LTS release or, alternatively the Intrepid Ibex 8.10 Alpha2 which is also scheduled for release today? It will appear at the following when available: http://www.ubuntu.com/testing/intrepid/alpha2 . It contains the the actively developed 2.6.26 Ubuntu kernel. It would be great if you could test this upcoming release via a LiveCD and verify if the issue still exists. If so, please include the appropriate debugging information as outlined at https://wiki.ubuntu.com/DebuggingSoundProblems and set the status of the bug to 'new' and the bug will be reviewed again. Thanks in advance.

Changed in linux-source-2.6.17:
assignee: ubuntu-audio → dereck
status: Confirmed → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.