Sound stopped working with ALSA and AWN on Macbook Pro 5,1 in Jaunty 9.04

Asked by niyam bhushan

Till yesterday everything worked fine with audio on my macbook pro 5,1, with Jaunty 9.04 installed, with AWN and ALSA. today, i did hear the logged-into-ubuntu melody, but on arriving at the desktop, i got a red-icon with the stop symbol on the volume-control of AWN, an error message below:

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 68, in __init__
    self.backend = ALSABackend(self)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 294, in __init__
    self.channels = filter(self.filter_channels, alsaaudio.mixers())
ALSAAudioError: Connection refused.

Tried de-activating and re-installing volume-control. did not work. switched off and restarted AWN after a reboot. The volume-control icon re-appeared, but the sound has still disappeared. Checked with gnome-alsa mixer, the UI shows up, but no sound is heard.

what's gone wrong? how do i get the audio and sound to work again, please?

thanks in advance.
regards
niyam

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
niyam bhushan
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1

The usual troubleshooting guides might be helpful?

https://help.ubuntu.com/community/SoundTroubleshooting

https://wiki.ubuntu.com/DebuggingSoundProblems

Also there's been some chatter on DistroWatch about sound issues in linux generally and these pages might be interesting (i haven't read them yet)

http://insanecoding.blogspot.com/2009/06/state-of-sound-in-linux-not-so-sorry.html

http://www.opensound.com/

Good luck with this
Regards from
Tom :)

Revision history for this message
niyam bhushan (niyam) said :
#2

hi tom,
thanks for your response.
on my macbookpro 5,1, under Jaunty 9.04, i dutifully followed the steps mentioned here:
https://help.ubuntu.com/community/SoundTroubleshooting#Basic%20Troubleshooting%20Steps

[note: am also using AWN, but switching it off or on and rebooting makes no difference].

01. when i type aplay -l the output reveals:
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

please note, the device is ALC883, above.

the alsa-mixer GUI shows it as Card: HDA NVIDIA, and chip as: RealteK ALC889A.
note the 889A versus the 883. ???

for the 'is my soundcard supported' section, i could not decipher which one would show the soundcard for this macbookpro. could not find it under apple, nvidia, intel, or other sub-sections. however, my soundcard is supported as until a few days, everything worked correctly. so i skip this section.

for the section, 'is alsa using the correct model', my alsa report is filed here:
http://www.alsa-project.org/db/?f=150758837bfd3d7e562179d92345960ad936d0e7

as instructed, i then opened alsa-configuration.txt from here:
http://git.alsa-project.org/?p=alsa-kmirror.git;a=blob;f=Documentation/ALSA-Configuration.txt;h=30499cf77d5628968a9347b3a6440a0064713eaf;hb=4c767126ddc90264b8d6584548f4aa859216f481

where i did find snd-hda-intel, but could not find a sub-section on ALC889A. however i did find the subsection on ALC883/888

i could not decipher the stacks line, that is appropriate for a macbookpro 5.1. sigh!
anyways, i did try to sniff around in /modprobe.d/alsa-base.conf
but could not find any relevant section or a mention of the specific chipset label. so left it untouched.

now what do i do, please?
was hoping to get the sound up, so could move on to configuring sound to stream to airport express using gtransmit or alternatives.

thanks in advance.

regards
niyam

Revision history for this message
niyam bhushan (niyam) said :
#3

solved the problem.
apparantly, a few days ago the kernel and a few other components got upgraded, rendering my alsa unusable.
noticed i had an alsa-*10.0.19 installed in my downloads folder, while configurations showed my macbookpro was using 10.0.18r3. so just did the install, make, sudo make install routine again, rebooted, set channels to 6 in the alsa-mixer, and everything works as usual. whew!
thanks everyone.

regards
niyam

Revision history for this message
Tom (tom6) said :
#4

Omg, unbelievable - nicely fixed!!!
Congrats and regards from
Tom :)