Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

alsamixer cannot open mixer: No such file or directory

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

alsamixer cannot open mixer: No such file or directory

  • Quote

Post by kevstar31 » Sun Feb 21, 2010 4:00 am

Code: Select all

kevin@localhost ~ $ alsamixer
cannot open mixer: No such file or directory
kevin@localhost ~ $ ls /dev|grep mixer
mixer
mixer1
mixer2
mixer3
kevin@localhost ~ $
God bless,
Kevin
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
Muso
Veteran
Veteran
User avatar
Posts: 1052
Joined: Tue Oct 22, 2002 7:45 am
Location: The Holy city of Honolulu
Contact:
Contact Muso
Website

  • Quote

Post by Muso » Sun Feb 21, 2010 5:02 am

emerge alsa-utils and add your user to the audio group?
"You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop!
Top
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

  • Quote

Post by kevstar31 » Tue Feb 23, 2010 1:42 am

Chopinzee wrote:emerge alsa-utils and add your user to the audio group?
Already tryed both.
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Feb 24, 2010 10:02 am

'ls /dev|grep mixer' is meaningless for alsa.
It's 'ls /dev/snd/control*'.
Top
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

  • Quote

Post by kevstar31 » Wed Feb 24, 2010 5:32 pm

Code: Select all

kevin@localhost ~ $ ls /dev/snd/
ls: cannot access /dev/snd/: No such file or directory
kevin@localhost ~ $ cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb100000 irq 21
Kernel config
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Feb 24, 2010 9:43 pm

What's your udev version ?
Do you have any "funny" custom udev rules regarding your soundcard ?
As it's in /proc, it should be in the correct place in /dev.

On a completely unrelated note: you may want to migrate to pure libata setup.
There are a few good reasons for it.
Top
Stu_28
Tux's lil' helper
Tux's lil' helper
Posts: 129
Joined: Thu Jun 12, 2003 1:12 am

  • Quote

Post by Stu_28 » Wed Feb 24, 2010 11:17 pm

Did you run alsaconf?
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Feb 24, 2010 11:35 pm

alsaconf seems off-topic here - as the card is seen in /proc, it is there, just not
in the proper place in /dev.
Top
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

  • Quote

Post by kevstar31 » Thu Feb 25, 2010 7:53 pm

kevin@localhost ~ $ emerge -pvq udev
[ebuild R ] sys-fs/udev-151-r1 USE="devfs-compat old-hd-rules -extras (-selinux) -test"
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Fri Feb 26, 2010 12:57 am

So, about those custom rules...?
Top
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

  • Quote

Post by kevstar31 » Fri Feb 26, 2010 3:18 am

VoidMage wrote:So, about those custom rules...?
Not that I know of but i have had problems such as missing and corrupted files recently.
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Fri Feb 26, 2010 10:54 am

Check /proc/asound for all the info, check /etc/udev/rules.d/ and /lib/udev/rules.d/
for all sound related rules. If the cards are in /proc/asound, there should be
somewhere in /dev (though /dev/snd should be the correct dir).
What's your kernel/alsa version ?

You may check udev-browse (not in portage, see 0pointer.de), it requires vala and libgee,
but it's a nice little GUI to show you content of udev tree.
Top
kevstar31
Guru
Guru
User avatar
Posts: 449
Joined: Wed Nov 22, 2006 6:03 pm
Location: Ohio

  • Quote

Post by kevstar31 » Fri Feb 26, 2010 6:16 pm

Code: Select all

kevin@localhost ~ $ ls /etc/udev/rules.d/
64-device-mapper.rules  90-hal.rules
kevin@localhost ~ $ /lib/udev/rules.d/
bash: /lib/udev/rules.d/: is a directory
kevin@localhost ~ $ ls /lib/udev/rules.d/
30-kernel-compat.rules  50-firmware.rules      60-floppy.rules            60-persistent-serial.rules        60-persistent-v4l.rules          75-persistent-net-generator.rules  90-network.rules
40-gentoo.rules         50-udev-default.rules  60-persistent-alsa.rules   60-persistent-storage-tape.rules  61-persistent-storage-edd.rules  79-fstab_import.rules              95-udev-late.rules
40-isdn.rules           60-cdrom_id.rules      60-persistent-input.rules  60-persistent-storage.rules       75-cd-aliases-generator.rules    80-drivers.rules
kevin@localhost ~ $ cat /lib/udev/rules.d/
cat: /lib/udev/rules.d/: Is a directory
kevin@localhost ~ $ cat /lib/udev/rules.d/60-persistent-alsa.rules
# do not edit this file, it will be overwritten on update

ACTION!="add|change", GOTO="persistent_alsa_end"
SUBSYSTEM!="sound", GOTO="persistent_alsa_end"
KERNEL!="controlC[0-9]*", GOTO="persistent_alsa_end"

SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p"
SUBSYSTEMS=="usb", ENV{ID_IFACE}="$attr{bInterfaceNumber}"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="?*", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_IFACE}"
ENV{ID_SERIAL}=="?*", ENV{ID_IFACE}=="", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}"

ENV{ID_PATH}=="", IMPORT{program}="path_id %p"
ENV{ID_PATH}=="?*", SYMLINK+="snd/by-path/$env{ID_PATH}"

LABEL="persistent_alsa_end"
kevin@localhost ~ $ uname -A
uname: invalid option -- 'A'
Try `uname --help' for more information.
kevin@localhost ~ $ uname -a
Linux localhost 2.6.32.8 #3 SMP PREEMPT Sat Feb 20 11:22:58 EST 2010 x86_64 Dual-Core AMD Opteron(tm) Processor 1210 AuthenticAMD GNU/Linux
kevin@localhost ~ $ emerge -pqv alsa-utils
[ebuild   R   ] media-sound/alsa-utils-1.0.21-r1  USE="nls -doc -minimal"

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

kevin@localhost ~ $
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Fri Feb 26, 2010 9:54 pm

Check for any 'NAME="' strings (that is with only a single '=') among those rules.

See also /sys/class/sound/<your card>/<one of pcm devices> and check:

Code: Select all

udevadm info --query=all --path=/class/sound/<chosen device>
Top
mimosinnet
l33t
l33t
User avatar
Posts: 720
Joined: Thu Aug 10, 2006 4:20 pm
Location: Barcelona, Spain
Contact:
Contact mimosinnet
Website

  • Quote

Post by mimosinnet » Thu Feb 17, 2011 7:40 am

I just had the same message and the problem was incorrect kernel configuration of my card.

Cheers!
Top
Post Reply

15 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic