You are not logged in.

#1 2012-10-30 06:15:26

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

No soundcards found after -Syu

Hi,

I've been looking for a solution for this quite a while now, but nothing seems to work. I switched to systemd recently and my sound ceased to work.

- I've put my user in the audio group (which shouldn't be needed but didn't help anyway)
- I've reinstalled alsa-utils
- Run as root, aplay -l produces 

aplay: device_list:256: no soundcards found...

lsmod | grep '^snd' | column -t

snd_hda_intel   26180  1
snd_hda_codec   98033  1  snd_hda_intel
snd_hwdep       6300   1  snd_hda_codec
snd_pcm         75167  2  snd_hda_codec,snd_hda_intel
snd_page_alloc  7217   2  snd_pcm,snd_hda_intel
snd_timer       18934  1  snd_pcm
snd             59989  5  snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel

ls -l /dev/snd

total 0
crw-rw----  1 root audio 116,  1 Oct 30 06:02 seq
crw-rw----+ 1 root audio 116, 33 Oct 30 06:02 timer

Because of the last one, I tried to load snd_hda_intel manually. Unfortunately, it halts.

modprobe snd_hda_intel -v

insmod /lib/modules/3.6.3-1-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.gz 

I'm pretty sure snd_hda_intel is the right module since I have an Intel 975X chipset.

alsa-restore.service fails of cours because of the missing soundcard...

Maybe I'm missing something, but I'm stuck. Any advice is welcome wink

Offline

#2 2012-10-30 06:29:00

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

And I'm using Gnome if that's of any help

Offline

#3 2012-10-30 08:11:21

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

I have some questions: Gnome uses pulseaudio, maybe your problem is related to that? Can you check if you have pulseaudio-alsa installed? How do you know sound is not working (I mean, what kind of tests did you try)? Does going back to sysvinit solves the problem?

Also, you could try - just to be sure - that

$ lspci

lists an Audio device.

Offline

#4 2012-10-30 08:15:28

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: No soundcards found after -Syu

Useful debugging info:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload

Then show us the URL that the script shows at the end.

Offline

#5 2012-10-30 11:43:32

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

Thanks for your quick hints! I'm at work right now, so some things I can't test before tonight.

The problem occured after -Syu when I had not moved to systemd yet, so I don't think going back will work. But I will try that anyway. I hoped it might solve itself during the shift, but I had no luck. Pulseaudio-alsa is installed as far as I know. I've tested wit PC Speaker and Line-Out outputs, no sound on both. Alsamixer shows no devices and gnome sound settings show only a dummy output.

The rest I'll provide later!

Offline

#6 2012-10-30 12:49:54

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

Since you are using pulseaudio it's ok if alsamixer doesn't work, you can try

$ pavucontrol

Also, if you have time, you could consider trying this: remove pulseaudio, login to console and see if soundcard is detected.

Offline

#7 2012-10-30 13:20:06

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

lspci shows

00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation NM10/ICH7 Family SATA Controller [AHCI mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation NV41 [Quadro FX 3450/4000 SDI] (rev a2)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)

So there's an audio device

The URL of the upload http://www.alsa-project.org/db/?f=07d12 … b3ae81b578

Offline

#8 2012-10-30 13:23:53

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: No soundcards found after -Syu

I'm influenced by a blog post I just read...are you using grsec by any chance?

Even if you aren't, the article gives some hints of what to look for, namely the fact that PulseAudio depends on udev to autodetect devices.

Offline

#9 2012-10-30 13:39:27

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

Thanks! I have to go back to work now but I'll read it tonight!

Offline

#10 2012-10-30 22:58:11

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

Alright tonight I renamed the ~/.asoundrc, I've read that in some post. Unfortunately, to no avail. Reinstalling alsa-utils, pulsaudio-alsa and pulseaudio didn't help as well. Moving my user in and out of the audio group with the same result.

Last edited by omgwtfbbq (2012-10-30 22:58:39)

Offline

#11 2012-10-30 23:51:41

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

how about pavucontrol?

Offline

#12 2012-11-03 07:59:28

sakh
Member
Registered: 2012-06-04
Posts: 28

Re: No soundcards found after -Syu

Same problem here.

pavucontrol does not do much

Offline

#13 2012-11-03 14:44:34

Chrishas
Member
Registered: 2012-11-03
Posts: 26

Re: No soundcards found after -Syu

Same problem, here's the URL I got: http://www.alsa-project.org/db/?f=1fe1a … ca5df0da8b
pavucontrol only shows Dummy output

Offline

#14 2012-11-03 17:53:16

Chrishas
Member
Registered: 2012-11-03
Posts: 26

Re: No soundcards found after -Syu

I'm not sure what exactly was wrong but it seems I fixed it while going through the switch to pure systemd setup.

Offline

#15 2012-11-08 19:14:26

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

Re: No soundcards found after -Syu

@Chrishas: You don't have any idea what fixed it? I face the same problem (likely after kernel upgrade) with same symptoms (aplay -l, pavucontrol showing no device), and snd_hda_intel is loaded. Already tried to reinstall some packages (all that are mentioned in this thread).
I don't know where to "poke around" next. Any ideas welcome.

Offline

#16 2012-11-08 19:15:19

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

The problem still persists on my machine. I feel utterly helpless because every direction I'm looking turns out to be a dead end. Isn't there anyone who can help me? I've made no more progress as of yet, but I know now that with a correctly configured logind session, the audio group shouldn't be needed. So I removed my user from this group.

I think my logind sessino is configured correctly, but if you got any tips, let me know. As I'm using gnome, I shouldn't even have to do this as far as I know.

loginctl show-session $XDG_SESSION_ID

Id=2
Timestamp=Thu, 2012-11-08 19:43:43 CET
TimestampMonotonic=29636738
DefaultControlGroup=name=systemd:/user/milan/2
VTNr=7
Display=:0
Remote=no
Service=gdm-password
Leader=498
Audit=2
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=MyUserName

aplay -l produces the same output for root and user

aplay: device_list:256: no soundcards found...

As posted above, lspci shows an audio device. The only thing I can see that is not working is the output of ls -l /dev/snd (see above) which shows something went wrong while loading the modules. I'm searching for a solution for this right now.

I don't really know if I'm going the right direction and I'm having a hard time figuring out the actual problem... I'm not an experienced linux user, but I've been working with arch for almost a year now and always managed to fix every problem I encountered after -Syu. But this one beats me. I'm desperate for your help.

Last edited by omgwtfbbq (2012-11-08 19:16:56)

Offline

#17 2012-11-08 19:59:01

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

This may be a bit extreme, but you can try to remove pulseaudio, then boot on a minimal WM (like Openbox) or to console and see if this way sound works.

Offline

#18 2012-11-09 06:50:50

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

Tried it, but aplay -l still shows no soundcards found, therefore amixer won't start and says no such file or directory...

Offline

#19 2012-11-09 08:34:30

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

Seems like your problem is with the module, after all. Can you try reinstalling alsa-lib?

Offline

#20 2012-11-09 13:51:22

Flemur
Member
Registered: 2012-05-24
Posts: 72

Re: No soundcards found after -Syu

I've had som many problems - sound works, reboot, no sound, same crap for "mounting" permissions, automagic login, incorrect dependencies, etc, etc - with Arch, and the endless silly fixes and hacks in this forum that mostly don't work, usually accompanied by some defensive, snooty school-marmish putdowns about "did you RT(crappy)M?", that I decided that Arch itself is basically just an unreliable hacked together piece of...something.  It's a toy.

"Can you try reinstalling alsa-lib?"

Better to reinstall a distro that's not a hacked-up bug-fest.

Last edited by Flemur (2012-11-09 13:54:18)


"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

#21 2012-11-10 15:08:31

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

I'll try this, thanks pulce.

Offline

#22 2012-11-10 15:35:35

omgwtfbbq
Member
Registered: 2012-08-06
Posts: 12

Re: No soundcards found after -Syu

Unfortunately, this didn't work. But I came across someting that might be the problem.
loginctl seat-status seat0 shows

seat0
        Sessions: *2
         Devices:
                  ├ /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
                  │ (input:input1) "Power Button"
                  ├ /sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
                  │ (input:input0) "Power Button"
                  ├ /sys/devices/pci0000:00/0000:00:1d.0/usb2
                  │ (usb:usb2)
                  ├ /sys/devices/pci0000:00/0000:00:1d.1/usb3
                  │ (usb:usb3)
                  ├ /sys/devices/pci0000:00/0000:00:1d.2/usb4
                  │ (usb:usb4)
                  │ ├ /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1
                  │ │ (usb:4-1)
                  │ │ ├ /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.0/input/input4
                  │ │ │ (input:input4) "Dell Dell USB Keyboard Hub"
                  │ │ └ /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1.1/4-1.1:1.1/input/input5
                  │ │   (input:input5) "Dell Dell USB Keyboard Hub"
                  │ └ /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input3
                  │   (input:input3) "Logitech USB Gaming Mouse"
                  ├ /sys/devices/pci0000:00/0000:00:1d.3/usb5
                  │ (usb:usb5)
                  ├ /sys/devices/pci0000:00/0000:00:1d.7/usb1
                  │ (usb:usb1)
                  ├ /sys/devices/pci0000:00/0000:00:1f.1/ata1/host0/target0:0:0/0:0:0:0/block/sr0
                  │ (block:sr0)
                  ├ /sys/devices/platform/pcspkr/input/input2
                  │ (input:input2) "PC Speaker"
                  └ /sys/devices/virtual/misc/kvm
                    (misc:kvm)

There is no audio card attached to my seat as far as I can see. Someone who nows more about seats? I came across this documentation http://www.freedesktop.org/wiki/Softwar … /multiseat
Section Uses, the paragraph about user-level software explains a user can only access hardware attached to his seat. I'm going to try and find the /sys path for my audio card and attach it to my seat, maybe this will fix the problem.

But I don't have a clue how hardware is attached to a seat during boot up, and since I have to change this for a permanent solution, any tips on that would be very welcome.

Last edited by omgwtfbbq (2012-11-11 10:09:55)

Offline

#23 2012-11-10 16:40:14

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: No soundcards found after -Syu

Sorry, I have no knowledge of the seat mechanism.

The only suggestion I have right now is to check for OSS in your system (may be conflicting?). Use pacman to check if you have oss installed. Also, you can have a look at this: Arch Wiki Udev page - sound problems

Offline

#24 2012-11-10 16:45:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: No soundcards found after -Syu

Flemur wrote:

I've had som many problems - ... - with Arch, and the endless silly fixes and hacks in this forum that mostly don't work, usually accompanied by some defensive, snooty school-marmish putdowns about "did you RT(crappy)M?", that I decided that Arch itself is basically just an unreliable hacked together piece of...something.  It's a toy.
...
Better to reinstall a distro that's not a hacked-up bug-fest.

Thats okay, Arch is not for everyone.  <sarcasm>Much better to use a system that does not hack and patch upstream packages like Arch does</sarcasm>
Good luck to you.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#25 2012-11-11 00:13:44

slimg00dy
Member
Registered: 2011-12-27
Posts: 50

Re: No soundcards found after -Syu

I too am having this same issue, however I couldn't even use seat-status to show me anything.

[slimg00dy@slimg00dy ~]$ aplay -l
aplay: device_list:256: no soundcards found...
[slimg00dy@slimg00dy ~]$ 
Failed to issue method call: Launch helper exited with unknown return code 1
[slimg00dy@slimg00dy ~]$ 

My seat status issue seems to be more related to https://bbs.archlinux.org/viewtopic.php?id=151633

I can however, see some sound devices

[slimg00dy@slimg00dy ~]$ ls /dev/snd/
by-id/     controlC2  pcmC0D0c   pcmC1D0c   pcmC2D8p   seq        
by-path/   controlC3  pcmC0D0p   pcmC1D0p   pcmC2D9p   timer      
controlC0  hwC0D0     pcmC0D1p   pcmC2D3p   pcmC3D0c   
controlC1  hwC2D0     pcmC0D2c   pcmC2D7p   pcmC3D0p   
[slimg00dy@slimg00dy ~]$ ls /dev/snd/
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel H
DA) (rev 40)
        Subsystem: Giga-byte Technology Device a132
        Flags: bus master, slow devsel, latency 32, IRQ 16
        Memory at fdff4000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel 

01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
        Subsystem: NVIDIA Corporation Device 1000
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
slimg00dy@slimg00dy ~]$ lsmod | grep -i snd
snd_hda_codec_hdmi     24487  1 
snd_usb_audio         102808  0 
snd_usbmidi_lib        18744  1 snd_usb_audio
snd_rawmidi            18479  1 snd_usbmidi_lib
snd_hda_codec_realtek    61193  1 
snd_seq_device          5268  1 snd_rawmidi
snd_hda_intel          26180  0 
snd_hda_codec          98033  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6300  2 snd_usb_audio,snd_hda_codec
snd_pcm                75167  4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18934  1 snd_pcm
snd                    59989  11 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore               5442  1 snd
usbcore               150398  8 uas,snd_usb_audio,usb_storage,ohci_hcd,snd_usbmidi_lib,ehci_hcd,usbhid,xhci_hcd
[slimg00dy@slimg00dy ~]$ 

Not trying to hijack your thread or anything, and I'm not exactly sure how similar the issue is but I've also yet to find a resolve sad

Offline

Board footer

Powered by FluxBB