You are not logged in.

#1 2014-01-16 16:02:25

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

[Solved]ALSA settings, no sound

Hi, I have had this problem for a while now with my Arch installation, but I was using Mint as my main distro, so to solve this problem wasn't a priority. Finally a few days ago I managed to break Mint, so I decided to fix the sound on my Arch rather than fixing/reinstalling Mint.

I've got an onboard soundcard (ALC880) that I want to get to work. I also have an Nvidia Graphics card that shows up as an HDMI sound card, but I want to use the analog one. Somebody suggested to blacklist the Nvida card, which I did via blacklisting snd_hda_intel, but that stops alsa from seeing my analog one as well. I have gone through the wiki and spent countless hours searching for a sound solution, but came up short. Unfortunately it is NOT just muted.

lspci finds both cards:

lspci | grep Audio
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
01:00.1 Audio device: NVIDIA Corporation GF114 HDMI Audio Controller (rev a1)

aplay only lists Nvidia:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alc880 and Nvidia card are using the same module:

cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel

HDA Intel/ALC880 shows up in alsamixer, but only as single channel not 5.1, no mic, and its settings have no effect whatsoever on the sound.

aplay < /dev/urandom
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory

Any help would be greatly appreciated.

Last edited by fasza2mobile (2014-01-17 00:20:21)

Offline

#2 2014-01-16 16:43:12

Maty
Member
Registered: 2013-09-06
Posts: 11

Re: [Solved]ALSA settings, no sound

I also had a problem with same kind of annoying force usage of the HDMI audio, simple fix was to change the default sound card with the asoundconf package from AUR. I don't remember the exact commands I used, but the package has a really good man page.

Offline

#3 2014-01-16 17:09:58

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

Thanks Maty, I'm looking into it right now.

Offline

#4 2014-01-16 17:33:13

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

@Maty
Apart from setting the default sound card and setting up pulseaudio/oss I didn't find anything.

asoundconf
Usage:
asoundconf is-active
asoundconf get|delete PARAMETER
asoundconf set PARAMETER VALUE
asoundconf list

Convenience macro functions:
asoundconf set-default-card PARAMETER
asoundconf reset-default-card
asoundconf set-pulseaudio
asoundconf unset-pulseaudio
asoundconf set-oss PARAMETER
asoundconf unset-oss

"asoundconf is-active" returns me nothing, I tried "asoundconf set-default Intel" but it doesn't help either.

Offline

#5 2014-01-16 18:25:57

xtraroot
Member
Registered: 2013-12-17
Posts: 59

Re: [Solved]ALSA settings, no sound

If aplay -l doesn't show your card, then the driver must be missing.

Why are you using OSS and Alsa? Won't they conflict?

Last edited by xtraroot (2014-01-16 18:28:14)

Offline

#6 2014-01-16 18:33:41

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

@xtraroot
I am not using oss and neither am I planning to do so. I will use pulseaudio, but it isn't installed at this time either; I want to fix alsa first.

Offline

#7 2014-01-16 18:40:59

xtraroot
Member
Registered: 2013-12-17
Posts: 59

Re: [Solved]ALSA settings, no sound

http://philipp.cuntz.org/2012/11/arch-l … intel.html

Try this. Sounds weird, but it has to be a driver problem, so might as well give it a shot.

Offline

#8 2014-01-16 18:57:11

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

@xtraroot
Thanks I will definitely give it a try, though now my GF is using that computer with a liveCD so it will have to be at night. I'll get back with the results as soon as I have them. Without you I would've never come accross this blog post, it doesn't contain any of my search terms. sad

Offline

#9 2014-01-16 20:16:55

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

@xtraroot
I tried "blacklisting i82975x_edac", but it didn't fix my problem. sad

Here is what modules would get loaded by default:
(snd_usb_audio, snd_pcsp and pcspkr are already blacklisted)

mkinitcpio -M
==> Modules autodetected
8139cp
8139too
acpi_cpufreq
ata_generic
ata_piix
btrfs
button
ehci_pci
evdev
firewire_ohci
gpio_ich
gspca_stv06xx
hid_generic
i2c_i801
iTCO_wdt
intel_agp
intel_rng
leds_ss4200
lpc_ich
microcode
nouveau
nvidia
parport_pc
pata_acpi
pcspkr
processor
psmouse
rt61pci
sata_sil24
sd_mod
serio_raw
shpchp
snd_hda_intel
snd_usb_audio
sr_mod
thermal
uhci_hcd
usb_storage
usbcore
usbhid

Offline

#10 2014-01-17 00:18:44

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: [Solved]ALSA settings, no sound

Ok, I managed to solve the problem thaks to this thread, particularly post #36. Basically the kernel kept loading the wrong module.

For my card this worked splendidly:

# rmmod snd_hda_intel
# sudo modprobe snd_hda_intel model=6stack

To make it presist through reboots one needs:

echo "options snd_hda_intel model=6stack" >> /etc/modprobe.d/snd-hda-intel.conf

Here are some possible models(credit to same thread as above post #8):

3stack
tcl
3stack-digout
clevo
5stack
5stack-digout
w810
z71v
6stack
6stack-digout
asus
asus-w1v
asus-dig
asus-dig2
uniwill
uniwill-p53
fujitsu
F1734
lg
lg-lw
medion
test
auto

Thanks guys for the help.

Last edited by fasza2mobile (2014-01-17 00:21:00)

Offline

Board footer

Powered by FluxBB