PDA

View Full Version : Sound lost in upgrade from Breezy to Dapper



Arkaein
Jun 6th 2006, 03:11 AM
I just upgraded from Breezy (original version installed) to Dapper Drake using Adept (I normally use Synaptic, but tried Adept after Synaptic looked like it was going to uninstall a few applications for no apparent reason). Anyways, the upgrade went mostly okay except that sound isn't working at all. Tried amaroK, XMMS, and KDE system sounds. I've made sure that all the hardware is plugged in correctly, all dials in KMix and alsamixergui are unmuted.

Here is the info from 'lspci -v':

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: ASUSTeK Computer Inc. A7V600/K8V Deluxe motherboard (ADI AD1980 codec [SoundMAX])
Flags: medium devsel, IRQ 201
I/O ports at e000 [size=256]
Capabilities: <available only to root>

from 'aplay -l':

**** List of PLAYBACK Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
Subdevices: 2/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
Subdevices: 1/1
Subdevice #0: subdevice #0

and from 'lsmod | grep snd':

snd_rtctimer 3340 0
snd_seq_dummy 3844 0
snd_seq_oss 33536 0
snd_seq_midi 9376 0
snd_seq_midi_event 7552 2 snd_seq_oss,snd_seq_midi
rtc 13492 1 snd_rtctimer
snd_seq 51984 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_via82xx 28824 5
gameport 15496 2 analog,snd_via82xx
snd_ac97_codec 92704 1 snd_via82xx
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 53664 0
snd_mixer_oss 18688 1 snd_pcm_oss
snd_pcm 89864 6 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 25220 4 snd_rtctimer,snd_seq,snd_pcm
snd_page_alloc 10632 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7808 1 snd_via82xx
snd_rawmidi 25504 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 8716 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd _rawmidi
snd 55268 17 snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd _pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
soundcore 10208 1 snd

askrieger
Jun 6th 2006, 04:49 PM
I don't know if you realize it or not, but Adept uninstalled the same things that Synaptic would have uninstalled. IT JUST DID'NT TELL YOU. That's one of the problems of using Adept.

With regard to your sound problems, this article may help http://www.linuxjournal.com/node/8234/print
I've found this script (http://alsa.opensrc.org/aadebug) useful. There's also other useful stuff on that site.

Arkaein
Jun 7th 2006, 12:06 AM
I've used aadebug once before, but forgot I already had it on my system. Here is the output:



ALSA Audio Debug v0.1.0 - Tue Jun 6 18:48:35 CDT 2006
http://alsa.opensrc.org/index.php?page=aadebug
http://www.gnu.org/licenses/gpl.txt

Kernel ----------------------------------------------------
Linux MONSTER 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux

Loaded Modules --------------------------------------------
snd_rtctimer 3340 0
snd_seq_dummy 3844 0
snd_seq_oss 33536 0
snd_seq_midi 9376 0
snd_seq_midi_event 7552 2 snd_seq_oss,snd_seq_midi
snd_seq 51984 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_via82xx 28824 10
snd_ac97_codec 92704 1 snd_via82xx
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 53664 0
snd_mixer_oss 18688 1 snd_pcm_oss
snd_pcm 89864 6 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 25220 4 snd_rtctimer,snd_seq,snd_pcm
snd_page_alloc 10632 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7808 1 snd_via82xx
snd_rawmidi 25504 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 8716 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd _rawmidi
snd 55268 27 snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd _pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device

Modprobe Conf ---------------------------------------------
Warning: module config file does not exist
This means any kernel modules will not be auto loaded
See your linux distro docs on how to create this file

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with AD1980 at 0xe000, irq 201
17: [0- 1]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
1: : sequencer
33: : timer
cat: /proc/asound/hwdep: No such file or directory
00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
Client info
cur clients : 3
peak clients : 4
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 63:0
Client 62 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 63 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Output pool :
Pool size : 1024
Cells in use : 0
Peak cells in use : 0
Alloc success : 0
Alloc failures : 0

Dev Snd ---------------------------------------------------
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p seq timer

CPU -------------------------------------------------------
model name : AMD Athlon(TM) XP 2800+
cpu MHz : 2083.203

RAM -------------------------------------------------------
MemTotal: 1036132 kB
SwapTotal: 3036244 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)


The question is, what do I do with this info? It all looks basically like what it should. I'd try playing with alsaconf, except that K/Ubuntu doesn't include it.

I'm willing to try some different options. Can I reconfigure ALSA using dpkg?Install a newkernel image (for Athlon instead of 386)? I'd rather not do a clean reinstall except as a last resort, but I might be willing if nothing else works AND if someone with a similar problem has actually had success going this route where an upgrade has failed.

Arkaein
Jun 7th 2006, 12:15 AM
Ha ha, problem solved!

I played around a bit more with alsamixer. I had previously tried unmuting everything. Well it turns out that I got sound working by MUTING Line Jack Sense, which must have been muted to start with.

I guess the lesson is that when alsamixer runs, it's configured right, you just have to twiddle sliders until you hear something.

askrieger
Jun 7th 2006, 02:42 AM
I'd try playing with alsaconf, except that K/Ubuntu doesn't include it.I must admit I was shocked to learn that because alsaconf has saved my sound more than once.

I'm glad you got it going by fooling around with alsamixer. I must admit when that when you posted an initial message that indicated that you were an experienced user, I hesitated to suggest that under the assumption that you'd already muted, and unmuted everything and slid every slider in every combination before posting. Unfortunately, though that doesn't work every time. I once lost my sound for at least two kernel upgrades. (That was under Debian, not Kubuntu).

Wudu
Jun 8th 2006, 05:38 AM
Hello i have the same problem .. upgraded to dapper and no sound any more ..

lspci returns:

0000:00:0c.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
0000:00:0c.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
0000:00:0c.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)

but alsaconf dont't find a card automatic.

kmix shows nothing.

KInfoCenter shows just the same as lspci ..

any hints ?

(at 5.10 it works fine)

PS: I can't play around with alsa mixer cause if i type "alsamixer" to my console it tells me something like there is no sound card. ?!?

denis
Jun 9th 2006, 09:06 AM
Hello,

I did not upgrade from Breezy, but just stayed with Dapper. I don't know if it cames after an upgrade, but since a few days I loose sound.
I played with some switches on alsamixer, but no results.
So here are some infos :
denis@toshi:/multimedia/video$ aplay -l
**** Liste des PLAYBACK périphériques ****
carte 0: I82801DBICH4 [Intel 82801DB-ICH4], périphérique 0 : Intel ICH [Intel 82801DB-ICH4]
Sous-périphériques: 1/1
Sous-périphérique: #0: subdevice #0
carte 0: I82801DBICH4 [Intel 82801DB-ICH4], périphérique 4 : Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Sous-périphériques: 1/1
Sous-périphérique: #0: subdevice #0
denis@toshi:/multimedia/video$ sudo lspci -v | grep audio
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
denis@toshi:/multimedia/video$ lsmod | grep snd
snd_intel8x0 33692 2
snd_ac97_codec 92704 1 snd_intel8x0
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 53664 0
snd_mixer_oss 18688 2 snd_pcm_oss
snd_pcm 89864 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 25220 1 snd_pcm
snd 55268 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_ oss,snd_pcm,snd_timer
soundcore 10208 2 snd
snd_page_alloc 10632 2 snd_intel8x0,snd_pcm

Od you see any problem ? Looks good no ?
Well the interesting things is, when I loose sound, I tried everything, and without any kind of error from anywhere did not had any idea of where to look for. So I restart with Windows XP, and the sound where also lost. I recovered it only by switching off the computer and restarting windows ???.

Any hints ? Thanks,

askrieger
Jun 9th 2006, 05:39 PM
As stated above, the first thing to try is to use kmix and/or alsamixer to diable/re-enable everything and slide all sliders all the way down and all the way up. Testing sound with K>SystemSettings>Sound&Multimedia>Test Sound at each change. I know it's tedious, but not having any sound is worse. Then, go to the second tab on Sound & Multimedia and change the "Select Audio Device" from "Autodetect" to Advanced Linux Sound Architecture (just in case it was autodetecting something else). Then, if none of these things work, reboot your computer.

In other words, sound can fail for a dozen different reasons and getting back is often a hit or miss proposition.

@Denis: Your lsmod output looks like mine, (which doesn't mean that your not missing something).

@wudu: Where did you get alsaconf? It's not included in Dapper.

denis
Jun 10th 2006, 08:54 AM
Hi,
Thanks for reply.

Well I did all this things already, and no changes.
I tried also to run older kernels, because, until know everything worked fine, but, what ever the kernel or safe mode I try, the results is a total silent world.

However I noticed that during the boot, the device might be set on because I can here from my speakers a small smoothy "pop" like it does when you switch on an amplifier and listen the speaker... if you see what I mean.

The clue is that I cannot find any kind of fail or error message from anywhere. Thus, I have now idea of what to do. And I have now idea of what I did before the problem occur.

askrieger
Jun 10th 2006, 06:43 PM
I have NEVER seen an error message when my sound went out, except for popups saying that the sound driver wasn't available and the system was switching to no sound.

The next thing to check is to make sure that your user is a member of the audio group. You can do this in two ways, either use konqueror to look at the file /etc/group, look for the group "audio", it's number 29 on my system and make sure your user is a member. The other method is the thing that you'd use to add your user to the audio group. K>System Settings>Users & Groups>Groups>show systems groups>Administrator Mode and add youself to the audio group, if neccesary. Of course it's also possible to do this by editing the group file with "sudo nano" or "kdesu kate".

Wudu
Jun 12th 2006, 03:37 PM
Hi ,.. i downloaded alsaconf from here,..

From: ftp://ftp.alsa-project.org/pub/driver/alsaconf/alsaconf-0.4.2.tar.gz


I am in the audio group ..

denis
Jun 13th 2006, 09:36 AM
Hello,

Thanks for the link.

Well I am also in the audio group.

Is it possible that, palying with the hostname of my computer, or changing from a dhcpd to fixed IP and domain may lead loose the sound by one or an other way?

askrieger
Jun 13th 2006, 06:03 PM
Wudu: Thanks for the link. If it had worked for you under Dapper, that would imply that the libraries that it depends on are similar enough to the versions in Dapper that it's usable. As it is, it's impossible to tell why it fails to detect your sound card. Can you try a different sound driver besides ALSA?

Denis: Almost anything is possible, but I don't think that either changing the hostname or changing network settings can kill your sound.