You are not logged in.

#1 2014-02-07 12:35:47

nnn
Member
Registered: 2014-02-07
Posts: 5

alsamixer = "cannot open mixer: No such file or directory" old n/a

New 2014 Lenovo T440s laptop.  Entire dmesg is here: http://pastebin.com/mGNMN0mX

Very nice machine.  But can't get audio to work yet.   alsa-utils is installed.

Typing `alsamixer` gets the old error: "cannot open mixer: No such file or directory" - whether I type it as root or regular user.

I've seen this same error posted many times on the bbs here over the last few years, but none of those solutions worked.

$ amixer sset Master unmute
amixer: Mixer attach default error: No such file or directory

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC292 Analog [ALC292 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 0b)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)

$ ls -l /dev/snd/
total 0
drwxr-xr-x  2 root root      100 Feb  8 01:11 by-path
crw-rw----+ 1 root audio 116, 11 Feb  8 01:11 controlC1
crw-rw----+ 1 root audio 116,  6 Feb  8 01:11 controlC2
crw-rw----+ 1 root audio 116,  2 Feb  8 01:11 controlC4
crw-rw----+ 1 root audio 116, 10 Feb  8 01:11 hwC1D0
crw-rw----+ 1 root audio 116,  5 Feb  8 01:11 hwC2D0
crw-rw----+ 1 root audio 116,  9 Feb  8 01:11 pcmC1D3p
crw-rw----+ 1 root audio 116,  8 Feb  8 01:11 pcmC1D7p
crw-rw----+ 1 root audio 116,  7 Feb  8 01:11 pcmC1D8p
crw-rw----+ 1 root audio 116,  4 Feb  8 01:11 pcmC2D0c
crw-rw----+ 1 root audio 116,  3 Feb  8 01:11 pcmC2D0p
crw-rw----  1 root audio 116,  1 Feb  8 01:11 seq
crw-rw----+ 1 root audio 116, 33 Feb  8 01:11 timer

# alsactl init
Found hardware: "HDA-Intel" "Intel Haswell HDMI" "HDA:80862807,80860101,00100000" "0x17aa" "0x220c"
Hardware is initialized using a generic method


Any other ideas?

Being a pretty popular Lenovo Thinkpad, I'll bet this will come up again.

Thank you.

Offline

#2 2014-02-16 18:45:26

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: alsamixer = "cannot open mixer: No such file or directory" old n/a

What appears odd to me is the fact that all of your cards have an index higher than 0. While mine, for example, just sits at index 0:

Rexilion's terminal wrote:

ronald@Charlie ~ smile $ ls /dev/snd
by-path  controlC0  pcmC0D0c  pcmC0D0p    pcmC0D1p  timer

Do you use any custom kernel opts? (both grub.cfg and .config)


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-02-17 04:36:08

HarlemSquirrel
Member
From: US-East
Registered: 2014-01-22
Posts: 130
Website

Re: alsamixer = "cannot open mixer: No such file or directory" old n/a

What desktop environment are you using?  Are you sure that alsa is installed?  Do you get any sound at all?


"Melody reigns supreme!"
    -J. J. Johnson

Offline

#4 2014-02-17 07:05:18

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: alsamixer = "cannot open mixer: No such file or directory" old n/a

Try to use:

alsamixer -c 1
alsamixer -c 2
alsamixer -c 3

fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-02-25 13:17:08

Ventil1
Member
Registered: 2010-03-17
Posts: 140

Re: alsamixer = "cannot open mixer: No such file or directory" old n/a

I have the same problem. Just installed arch with openbox yesterday. Sound worked fine. It was muted so I just run alsamixer and un mute it. But today I get "cannot open mixer: No such file or directory" which is just strange since I didn't touch alsa or update the system. I can run alsamixer with

alsamixer -c 1

and it works. But if I try to run just alsamixer without the "-c 1" then I get that  "cannot open mixer" error.


my /etc/modprobe.d/alsa-base.conf

options snd slots=snd_hda_intel
options snd_hda_intel index=0 

I am searching through forum all day and I can not find what to do next.


EDIT:
Also when I try to play mp3 file in vlc player I get "The audio device "default" could not be used:". Sound in chromium doesn't work also. Both worked fine yesterday. I am trying to run alsamixer as normal user and as root. No luck. I can run it as sudo alsamixer, but the sound doesn't work in chromium or vlc

Last edited by Ventil1 (2014-02-25 13:39:56)

Offline

#6 2014-02-25 14:38:55

Ventil1
Member
Registered: 2010-03-17
Posts: 140

Re: alsamixer = "cannot open mixer: No such file or directory" old n/a

Works fine again. I removed user from group audio and added it back. And reinstalled "linux" package

Offline

Board footer

Powered by FluxBB