You are not logged in.

#1 2012-04-29 10:07:53

samrat94
Member
Registered: 2011-01-07
Posts: 29

[SOLVED]ALSA not detecting sound card

I just installed Arch on a Lenovo Thinkpad E520, and ALSA doesn't seem to detect my sound card:

I get this when I do `aplay -l`:

aplay: device_list:252: no soundcards found...

But when I tried installing OSS, the sound worked but the sound was of really poor quality. How can I fix this?

Last edited by samrat94 (2012-04-30 18:35:02)

Offline

#2 2012-04-30 00:53:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED]ALSA not detecting sound card

https://wiki.archlinux.org/index.php/Ad … chitecture
https://wiki.archlinux.org/index.php/Sound

I guess figure out what sound card you have and see what driver supports it. Maybe it isn't getting loaded automatically for some reason?

Last edited by cfr (2012-04-30 00:57:04)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2012-04-30 01:52:33

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

Re: [SOLVED]ALSA not detecting sound card

What are the outputs of
lsmod | grep '^snd'
and of
lspci -nn
??


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

#4 2012-04-30 08:38:30

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: [SOLVED]ALSA not detecting sound card

○ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b4)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series] [1002:6741]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
04:00.0 System peripheral [0880]: Ricoh Co Ltd Device [1180:e823] (rev 07)
09:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [8086:0084]

but lsmod | grep '^snd' doesn't give me anything. Neither does

lsmod | grep snd

Offline

#5 2012-04-30 09:01:26

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]ALSA not detecting sound card

If I'm not mistaken, your soundcard should use the snd-intel8x0 driver. Try "modprobe snd-intel8x0" and see if a soundcard appears then.


Burninate!

Offline

#6 2012-04-30 09:05:19

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED]ALSA not detecting sound card

Gcool wrote:

If I'm not mistaken, your soundcard should use the snd-intel8x0 driver. Try "modprobe snd-intel8x0" and see if a soundcard appears then.

You're mistaken smile. samrat94's lspci output clearly says "High Definition Audio", so snd-hda-intel is the right module. snd-intel8x0 is for oooooooooooold sound cards using the AC'97 codec.

Offline

#7 2012-04-30 09:19:14

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]ALSA not detecting sound card

Gusar wrote:
Gcool wrote:

If I'm not mistaken, your soundcard should use the snd-intel8x0 driver. Try "modprobe snd-intel8x0" and see if a soundcard appears then.

You're mistaken smile. samrat94's lspci output clearly says "High Definition Audio", so snd-hda-intel is the right module. snd-intel8x0 is for oooooooooooold sound cards using the AC'97 codec.

Oops smile You're absolutely right. My bad.

@OP: So basically the same thing but with the "snd-hda-intel" module instead.


Burninate!

Offline

#8 2012-04-30 17:05:24

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: [SOLVED]ALSA not detecting sound card

○ sudo modprobe snd-hda-intel
FATAL: Module snd-hda-intel not found.

sad

Offline

#9 2012-04-30 17:20:53

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]ALSA not detecting sound card

That's mainly because I should triple check my posts before hitting submit sometimes.

The module is actually called "snd_hda_intel" (underscores instead of dashes).


Burninate!

Offline

#10 2012-04-30 17:49:49

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED]ALSA not detecting sound card

Actually, it doesn't matter if you use dashes or underscores.

@samrat94: If you don't have the snd-hda-intel module, something is quite screwed up on your machine. It's possible installing OSS made a mess. Maybe simply uninstalling OSS will clean up the mess.

Offline

#11 2012-04-30 17:56:38

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: [SOLVED]ALSA not detecting sound card

Gusar: yeah, the soundcard does appear now. But the sound still is not working

Offline

#12 2012-04-30 18:34:45

samrat94
Member
Registered: 2011-01-07
Posts: 29

Re: [SOLVED]ALSA not detecting sound card

hey, actually its working now. turns out I'd forgotten to unmute.

Offline

Board footer

Powered by FluxBB