LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2017, 02:22 PM   #1
Haines Brown
LQ Newbie
 
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 27

Rep: Reputation: 0
Alsamixergui won't run


Newly installed ALSA on Debian Jessie. Installed alsa-base, alsa-utils, alsamixergui.

$ alsamixergui
alsamixer: Function snd-ctl-open failed for default: No such file or directory

$ ls -la /usr/bin | grep alsamixergui
alsamixergui

$ cd /usr/bin
./alsamixergui
alsamixer: Function snd-ctl-open failed for default: No such file or directory

$ echo $PATH
/home/haines/scripts:/usr/local/texlive/2014/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

$ lsmod | grep snd
snd_ctxfi 62598 0
snd_hda_codec_hdmi 26352 1
snd_virtuoso 33765 1
snd_oxygen_lib 27905 1 snd_virtuoso
snd_mpu401_uart 13299 1 snd_oxygen_lib
snd_usb_audio 71481 2
snd_usbmidi_lib 18809 1 snd_usb_audio
snd_seq_midi 12744 0
snd_seq_midi_event 13124 1 snd_seq_midi
snd_rawmidi 22559 3 snd_seq_midi,snd_usbmidi_lib,snd_mpu401_uart
snd_hda_intel 21786 1
snd_hda_codec 63477 2 snd_hda_intel,snd_hda_codec_hdmi
snd_hwdep 12943 2 snd_hda_codec,snd_usb_audio
snd_pcm 53461 6 snd_hda_codec,snd_hda_intel,snd_usb_audio,snd_oxygen_lib,snd_hda_codec_hdmi,snd_ctxfi
snd_seq 39592 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 13016 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_page_alloc 12867 3 snd_pcm,snd_hda_intel,snd_ctxfi
snd_timer 22369 2 snd_seq,snd_pcm
snd 42761 23 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_rawmidi,snd_usbmi di_lib,snd_usb_audio,snd_mpu401_uart,snd_oxygen_lib,snd_virtuoso,snd_hda_codec_hdmi,snd_ctxfi
soundcore 12921 1 snd
usbcore 104555 8 xhci_hcd,ehci_hcd,usbhid,usb_storage,usblp,snd_usbmidi_lib,snd_usb_audio

Haines Brown
 
Old 06-17-2017, 02:57 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I think its looking for snd-ctl-open.
 
Old 06-17-2017, 08:03 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
The command "alsamixer" opens a very nice NCurses interface for ALSA. That's what I've always used.

If you want to make settings persistent, as root, run the command

Code:
alsactl store
 
Old 06-18-2017, 12:14 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ alsamixergui
alsamixer: Function snd-ctl-open failed for default: No such file or directory

Common when something isn't installed, or the soundcard is in use and locked, or it's trying to open the wrong device.

$ alsamixergui -D hw:0
$ alsamixergui -D hw:1
$ alsamixergui -D hw:2

depending on which device as indexed in /proc/asound/cards

$ cat /proc/asound/cards

By default hw:0 is assumed. Which might be a non-standard device like a webcam, or modem.
 
Old 06-19-2017, 06:26 AM   #5
Haines Brown
LQ Newbie
 
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 27

Original Poster
Rep: Reputation: 0
The problem disappeared when I purged alsa and audacious, rebooted them and reinstalled
audacious. This time alsamixer saw my audio card as default, which it didn't before.
 
Old 06-19-2017, 10:20 AM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Haines Brown View Post
The problem disappeared when I purged alsa and audacious, rebooted them and reinstalled
audacious. This time alsamixer saw my audio card as default, which it didn't before.
Hi...

Awesome, glad it's working now. If you would, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

Regards...
 
Old 06-19-2017, 11:10 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Card indexing can change between boots if you have multiple cards. And you likely do these days. GPU on the motherboard, soundcard on the motherboard, add in graphics card, webcam, modem, ... ... ... They're all soundcards or bound to one in some form or another. You likely changed something in /etc/modprobe.d/ when you purged alsa. One trick to choose the non-index 0 card is as follows:

FILE: $HOME/.asoundrc
Code:
defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0
Technically you only need the defaults.pcm.card 1 to output to the non-default card. The ctl one tells mixers and things what to use. Where the device one can be changed to say 3 for HDMI audio, but 0 is default.
 
2 members found this post helpful.
Old 06-20-2017, 08:52 AM   #8
Haines Brown
LQ Newbie
 
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 27

Original Poster
Rep: Reputation: 0
Thanks, shadow. I'll see if this works next time I boot the system.
 
  


Reply

Tags
alsa



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
computer asks me to run a FSCK Manually, but won't : says can't run on mounted lightwave Linux - Newbie 12 04-02-2008 12:25 AM
alsamixergui - what do the buttons mean? spindles Linux - Newbie 6 06-02-2006 11:42 PM
Alsamixergui settings not stored RBEmerson SUSE / openSUSE 2 06-01-2006 10:09 AM
ALSA/OSS problems (via82xx driver, alsamixergui, etc.) jadenbane Linux - Hardware 2 04-18-2006 09:09 PM
programs won't start, even if they do, they won't run smoothly sometimes, why? randytsx Linux - Software 4 12-23-2004 02:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration