You are not logged in.

#1 2010-02-14 10:51:30

scrawl
Member
Registered: 2010-01-14
Posts: 44

Sound not working

Hi,

I updated my Arch System yesterday, and now I don't have sound anymore. I've tried everything. And yes, I'm in the 'audio' group.

alsamixer output:

cannot open mixer: No such file or directory

amixer:

amixer: Mixer attach default error: No such file or directory

/etc/rc.d/alsa restart:

/etc/rc.d/alsa restart
:: Saving ALSA Levels                                                    [BUSY] /usr/sbin/alsactl: save_state:1502: No soundcards found...
                                                                         [DONE] 
:: Restoring ALSA Levels                                                 [BUSY] /usr/sbin/alsactl: load_state:1608: No soundcards found...
                                                                         [FAIL]

ls -l /dev/snd:

ls -l /dev/snd
insgesamt 0
drwxr-xr-x 2 root root 60 14. Feb 11:17 by-path

lsmod | grep '^snd' | column -t

snd_hda_intel       31208   0
snd_hda_codec       82128   1   snd_hda_intel
snd_hwdep           9976    1   snd_hda_codec
snd_seq_dummy       3540    0
snd_seq_oss         36224   0
snd_seq_midi_event  8592    1   snd_seq_oss
snd_seq             64640   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device      8324    3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss         47328   0
snd_mixer_oss       20976   2   snd_pcm_oss
snd_intel8x0        37080   1
snd_ac97_codec      133560  1   snd_intel8x0
snd_pcm             90872   5   snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer           25344   2   snd_seq,snd_pcm
snd                 76744   12  snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc      10784   3   snd_hda_intel,snd_intel8x0,snd_pcm

However, alsaconf finds the soundcard:

nVidia Corporation nForce3 250Gb AC'97 Audio Controller

And finally, here's my lspci:

00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation G73 [GeForce 7600 GS] (rev a2)
02:0b.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)

The strange thing is, I didn't upgrade anything that has to do with alsa. Here's what I upgraded:

[2010-02-13 20:22] upgraded bash (4.1.002-1 -> 4.1.002-2)
[2010-02-13 20:22] upgraded lib32-zlib (1.2.3.7-1 -> 1.2.3.7-2)
[2010-02-13 20:22] installed lib32-libpng (1.4.0-2)
[2010-02-13 20:22] upgraded lib32-lcms (1.18-2 -> 1.18-3)
[2010-02-13 20:22] upgraded bin32-wine (1.1.37-1 -> 1.1.38-1)
[2010-02-13 20:22] upgraded libjpeg (8-1 -> 8-2)
[2010-02-13 20:22] upgraded curl (7.19.7-1 -> 7.20.0-1)
[2010-02-13 20:24] upgraded bin32-wine (1.1.38-1 -> 1.1.38-1)
[2010-02-13 20:25] synchronizing package lists
[2010-02-13 20:40] upgraded unrar (3.9.6-1 -> 3.9.8-1)
[2010-02-13 20:40] upgraded vala (0.7.9-1 -> 0.7.10-1)
[2010-02-13 20:40] upgraded tesseract (2.04-2 -> 2.04-3)
[2010-02-13 20:40] upgraded pycups (1.9.47-1 -> 1.9.48-1)
[2010-02-13 20:40] upgraded openoffice-de (3.1.1-1 -> 3.2.0-1)
[2010-02-13 20:40] upgraded networkmanager (0.7.2-1 -> 0.7.999-2)
[2010-02-13 20:40] upgraded network-manager-applet (0.7.2-1 -> 0.7.999-1)
[2010-02-13 20:43] synchronizing package lists
[2010-02-13 20:47] starting full system upgrade
[2010-02-13 20:56] upgraded wpa_supplicant (0.6.9-2 -> 0.6.10-1)
[2010-02-13 20:56] upgraded xfsprogs (3.1.0-1 -> 3.1.1-1)
[2010-02-13 20:56] upgraded xterm (250-1 -> 255-1)
[2010-02-13 20:56] upgraded zope-interface (3.5.1-1 -> 3.5.3-1)
[2010-02-13 20:56] upgraded lm_sensors (3.1.1-4 -> 3.1.2-1)
[2010-02-13 20:56] upgraded libtool (2.2.6b-1 -> 2.2.6b-2)
[2010-02-13 20:56] upgraded libidn (1.15-1 -> 1.16-1)
[2010-02-13 20:56] upgraded libmysqlclient (5.1.42-1 -> 5.1.42-2)
[2010-02-13 20:56] upgraded pciutils (3.1.5-1 -> 3.1.6-1)
[2010-02-13 20:56] upgraded pcmciautils (015-2 -> 016-1)
[2010-02-13 20:56] upgraded phonon-xine (4.3.1-2 -> 4.3.80-2)
[2010-02-13 20:57] upgraded shared-mime-info (0.70-2 -> 0.71-1)
[2010-02-13 20:57] upgraded system-config-printer-gnome (1.1.15-1 -> 1.1.16-1)
[2010-02-13 20:58] upgraded system-config-printer-common (1.1.15-1 -> 1.1.16-1)
[2010-02-13 20:58] removed pil (1.1.7-2)
[2010-02-13 20:58] installed python-imaging (1.1.7-1)
[2010-02-13 20:58] starting full system upgrade
[2010-02-13 21:09] upgraded perl-xml-twig (3.32-2 -> 3.34-1)
[2010-02-13 21:09] upgraded lib32-glib2 (2.22.3-1 -> 2.22.4-1)
[2010-02-13 21:09] upgraded libid3tag (0.15.1b-3 -> 0.15.1b-4)
[2010-02-13 21:09] upgraded gnome-desktop-sharp (2.26.0-2 -> 2.26.0-3)
[2010-02-13 21:09] upgraded gparted (0.5.1-1 -> 0.5.1-3)
[2010-02-13 21:09] upgraded gksu (2.0.2-1 -> 2.0.2-2)
[2010-02-13 21:09] upgraded glew (1.5.1-1 -> 1.5.2-1)
[2010-02-13 21:09] upgraded gdb (7.0.1-1 -> 7.0.1-3)
[2010-02-13 21:09] upgraded dialog (1.1_20080819-3 -> 1.1_20100119-1)
[2010-02-13 21:09] upgraded enca (1.12-1 -> 1.13-1)
[2010-02-13 21:09] upgraded flashplugin (10.0.42.34-1 -> 10.0.45.2-1)
[2010-02-13 21:09] upgraded gnome-python-desktop (2.28.0-2 -> 2.28.0-3)
[2010-02-13 21:09] upgraded dhcpcd (5.1.4-1 -> 5.1.5-1)
[2010-02-13 21:09] upgraded deskbar-applet (2.28.0-1 -> 2.28.0-3)
[2010-02-13 21:09] upgraded device-mapper (2.02.53-1 -> 2.02.60-2)
[2010-02-13 21:09] upgraded cryptsetup (1.0.7-1 -> 1.1.0-1)
[2010-02-13 21:09] upgraded cpufrequtils (006-4 -> 007-1)
[2010-02-13 21:09] upgraded libv4l (0.6.3-2 -> 0.6.4-1)
[2010-02-13 21:17] upgraded xcursor-vanilla-dmz-aa (0.4-4 -> 0.4-5)
[2010-02-13 21:17] upgraded xcursor-vanilla-dmz (0.4-4 -> 0.4-5)
[2010-02-13 21:17] upgraded xcursor-simpleandsoft (0.2-3 -> 0.2-4)
[2010-02-13 21:17] upgraded xcursor-pinux (0.3-7 -> 0.3-8)
[2010-02-13 21:17] upgraded xcursor-jimmac (2.0-4 -> 2.0-5)
[2010-02-13 21:17] upgraded xcursor-polar (1.4-6 -> 1.4-7)
[2010-02-13 21:17] upgraded xcursor-premium (0.3-5 -> 0.3-6)
[2010-02-13 21:17] upgraded xcursor-chameleon-anthracite (0.5-2 -> 0.5-3)
[2010-02-13 21:17] upgraded xcursor-flatbed (0.1-2 -> 0.2-1)
[2010-02-13 21:17] upgraded python-numpy (1.3.0-2 -> 1.4.0-1)
[2010-02-13 21:17] upgraded postgresql-libs (8.4.2-1 -> 8.4.2-4)
[2010-02-13 21:17] upgraded ppp (2.4.4-9 -> 2.4.5-1)
[2010-02-13 21:17] upgraded libmtp (0.3.7-1.1 -> 1.0.2-1)
[2010-02-13 21:17] upgraded libdaemon (0.13-2 -> 0.14-1)
[2010-02-13 21:17] upgraded libdrm (2.4.17-2 -> 2.4.17-4)
[2010-02-13 21:17] upgraded libassuan (1.0.5-1 -> 1.0.5-2)
[2010-02-13 21:17] upgraded lame (3.98.2-2 -> 3.98.2-3)
[2010-02-13 21:25] starting full system upgrade
[2010-02-13 21:27] starting full system upgrade
[2010-02-13 21:36] upgraded gstreamer0.10 (0.10.25-1 -> 0.10.26-1)
[2010-02-13 21:36] upgraded udev (146-2 -> 151-3)
[2010-02-13 21:36] upgraded gstreamer0.10-base (0.10.25-1 -> 0.10.26-1)
[2010-02-13 21:36] upgraded gstreamer0.10-base-plugins (0.10.25-1 -> 0.10.26-1)
[2010-02-13 21:37] upgraded brasero (2.28.3-1 -> 2.28.3-2)
[2010-02-13 21:37] upgraded bsdiff (4.3-4 -> 4.3-5)
[2010-02-13 21:37] upgraded fuse (2.8.1-1 -> 2.8.3-1)
[2010-02-13 21:37] upgraded compiz-core (0.8.4-1 -> 0.8.4-3)
[2010-02-13 21:37] upgraded compiz-fusion-plugins-main (0.8.4-1 -> 0.8.4-2)
[2010-02-13 21:37] upgraded parted (1.9.0-3 -> 2.1-1)
[2010-02-13 21:37] upgraded devicekit-disks (009-3 -> 009-4)
[2010-02-13 21:37] upgraded freeciv (2.1.10-1 -> 2.1.11-1)
[2010-02-13 21:37] upgraded gstreamer0.10-good (0.10.17-2 -> 0.10.18-1)
[2010-02-13 21:37] upgraded gstreamer0.10-good-plugins (0.10.17-2 -> 0.10.18-1)
[2010-02-13 21:37] upgraded gstreamer0.10-ugly (0.10.13-3 -> 0.10.13-4)
[2010-02-13 21:37] upgraded x264 (20100107-1 -> 20100207-1)
[2010-02-13 21:37] upgraded gstreamer0.10-ugly-plugins (0.10.13-3 -> 0.10.13-4)
[2010-02-13 21:37] upgraded xcursor-grounation (0.3-5 -> 0.3-6)

Any ideas?

Last edited by scrawl (2010-02-14 10:59:52)

Offline

#2 2010-02-14 17:24:04

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: Sound not working

Apparently this was caused by the udev upgrade. I downgraded to 146-2 and it works again. Can anyone confirm this? Maybe its a bug in udev?

Offline

#3 2010-02-14 17:56:27

Odysseus
Member
Registered: 2009-02-15
Posts: 141

Re: Sound not working

That error occurs when attempting to use a non-existing sound card.
The udev update could have affected the numbering of your sound cards, and if you have your system setup to use a specific card, then you might be trying to use an invalid number or something.
Perhaps a look at aplay -l will reveal any  changes.


I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.

Offline

#4 2010-02-16 18:26:50

skip
Member
Registered: 2010-02-16
Posts: 47

Re: Sound not working

I have the same problem. I upgraded udev and my soundcard and trackpad no longer work on my Thinkpad R500. Is there some guideline somewhere that will tell me how to get these working again?

Offline

#5 2010-02-16 19:03:49

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: Sound not working

Well, it's maybe not the optimal solution, but downgrading udev to 146-2 or below should work. Maybe it's still in your cache ( /var/cache/pacman/pkg ), else you must download it from an outdated mirror. Then install it with pacman -U <package.pkg.tar.gz>

Offline

#6 2010-02-16 21:11:52

skip
Member
Registered: 2010-02-16
Posts: 47

Re: Sound not working

I've read somewhere else that it might be due to an older kernel. I'm still running the stock arch 2.6.30 kernel. Is that the case with you?

Offline

#7 2010-02-17 13:04:42

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: Sound not working

Yes, I'm also running an older kernel (2.6.30), cause I can't get my wireless to work with a newer kernel.

Offline

#8 2010-02-17 18:50:36

Lavayo
Member
Registered: 2010-02-16
Posts: 13

Re: Sound not working

Hey, I have the same problem.
Although its a bit more complicated for me. I Uninstalled ALSA and wanded to try OSS, which did not quite work but that does not belong here. The point is, that I did not have ALSA installed while I did the upgrade, and of course thought I messed something up when ALSA did not work anymore after I tried switching back to it.

Maybe I did, because downgrading udev did not work for me. sad

But

sudo /etc/rc.d/alsa restart
:: Saving ALSA Levels                   [BUSY] /usr/sbin/alsactl: save_state:1502: No soundcards found...     [DONE]
:: Restoring ALSA Levels                [BUSY] /usr/sbin/alsactl: load_state:1608: No soundcards found...

does really look like scrawl's problem. I don't have any alsa modules loaded though.

Edit: Removing oss (not just unload the module) helped somehow...

Last edited by Lavayo (2010-02-17 19:13:29)

Offline

#9 2010-02-19 00:31:11

skip
Member
Registered: 2010-02-16
Posts: 47

Re: Sound not working

I re-installed udev-compat and did a reboot and everything's working again...

Offline

#10 2010-02-20 19:49:56

GregW
Member
From: 53°24'N 2°35'W
Registered: 2008-02-09
Posts: 56

Re: Sound not working

skip wrote:

I re-installed udev-compat and did a reboot and everything's working again...

+1. This fixed it for me on my 2.6.28, 2.6.29 and 2.6.30 kernels.

GregW

Offline

#11 2010-02-21 16:26:58

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: Sound not working

I didn't know about udev-compat. I will try if that works.

/Edit: After installing udev-compat I even get sound with the new udev. Thanks for the tip smile

Last edited by scrawl (2010-02-21 18:27:10)

Offline

#12 2010-02-22 01:31:31

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

Installing udev-compat didn't work for me though, any more suggestions? =/

Offline

#13 2010-02-22 01:33:52

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound not working

topless:

Did you do a reboot?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#14 2010-02-22 01:34:34

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

lilsirecho wrote:

topless:

Did you do a reboot?

Yup.

Offline

#15 2010-02-22 01:41:10

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Sound not working

Have any of you having this problem tried removing /etc/asound.state then running alsaconf again? I know that this is different, but I remember having similar problems when switching back and forth between OSSv4 and ALSA a long time ago.

Offline

#16 2010-02-22 02:07:54

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

skottish wrote:

Have any of you having this problem tried removing /etc/asound.state then running alsaconf again? I know that this is different, but I remember having similar problems when switching back and forth between OSSv4 and ALSA a long time ago.

I'm not even trying to switch between them but I tried anyway, without any luck though.

Edit: The sound has been working before. I removed kdemod and updated some packages and the sound stopped working. Now I'm on a fresh install, without any sound.

Last edited by Topless (2010-02-22 02:08:57)

Offline

#17 2010-02-22 02:12:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Sound not working

Again, I'm going off of distant memories here, but since you have nothing to lose...

Try to remove /var/tmp/alsaconf.cards and then run alsaconf again as root.

Offline

#18 2010-02-22 02:31:27

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound not working

Perhaps the url below will give you some help:

http://forum.videolan.org/viewtopic.php?f=1&t=49372


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#19 2010-02-22 06:27:15

idjut
Member
From: Oslo
Registered: 2006-05-15
Posts: 177

Re: Sound not working

Topless wrote:

Installing udev-compat didn't work for me though, any more suggestions? =/

Plus 1.

How can I make sure udev is working? Do I have to configure something differently if I use udev-compat rather than udev?

Sound works in riplinux.


Linux user #403491

"Men have called me mad; but the question is not yet settled, whether madness is or is not the loftiest intelligence– whether much that is glorious– whether all that is profound– does not spring from disease of thought– from moods of mind exalted at the expense of the general intellect." - E. A. Poe from Eleonora

Offline

#20 2010-02-22 06:28:37

idjut
Member
From: Oslo
Registered: 2006-05-15
Posts: 177

Re: Sound not working

lilsirecho wrote:

Perhaps the url below will give you some help:

http://forum.videolan.org/viewtopic.php?f=1&t=49372

Was that the right topic though? wink


Linux user #403491

"Men have called me mad; but the question is not yet settled, whether madness is or is not the loftiest intelligence– whether much that is glorious– whether all that is profound– does not spring from disease of thought– from moods of mind exalted at the expense of the general intellect." - E. A. Poe from Eleonora

Offline

#21 2010-02-22 11:48:16

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

skottish wrote:

Again, I'm going off of distant memories here, but since you have nothing to lose...

Try to remove /var/tmp/alsaconf.cards and then run alsaconf again as root.

That didn't work either. hmm

alsa-gapless: snd_mixer_attach failed: No such file or directory.
alsa-gapless: No suitable mixer element found.
id3_file_vfsopen: file failed
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
alsa-gapless: snd_pcm_open failed: No such file or directory.

That's what I'm getting, and if I recall correctly someone else in the thread said something about that the soundcard has turned to 0. How do I change the soundcard number?


Edit: Also getting the same errors from alsamixer and amixer as OP.

Last edited by Topless (2010-02-22 11:49:14)

Offline

#22 2010-02-22 14:33:27

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

I just tried to install an older version of udev using makepkg, however I encounter this problem:
extras/ata_id/ata_id.c:33:23: error: scsi/scsi.h: No such file or directory

Does anyone know how to solve that?

Edit: Can anyone share the earlier version of the udev package?

Last edited by Topless (2010-02-22 15:52:03)

Offline

#23 2010-02-22 15:53:46

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound not working

Check out alsa wiki for   ::asoundrc file to correct default card ID:


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#24 2010-02-22 16:01:26

Topless
Member
Registered: 2010-02-20
Posts: 11

Re: Sound not working

lilsirecho wrote:

Check out alsa wiki for   ::asoundrc file to correct default card ID:

How do I know what the ID is? I tried to copy/paste the existing configuration from the wiki to ~/.asoundrc and it seems to startup fine now. However, I still got some annoying errors such as:

[topless@computer ~]$ alsamixer
cannot open mixer: No such file or director

Got any further instructions? Thank you for your help, I've never really been dealing with these kind of problems before.

Last edited by Topless (2010-02-22 16:01:44)

Offline

#25 2010-02-22 17:04:06

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Sound not working

Perhaps running alsaconf first will permit alsamixer  to be accessed.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB