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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-17-2017, 02:22 PM
|
#1
|
LQ Newbie
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 28
Rep:
|
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
|
|
|
06-17-2017, 02:57 PM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
I think its looking for snd-ctl-open.
|
|
|
06-17-2017, 08:03 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,023
|
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
|
|
|
06-18-2017, 12:14 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ 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.
|
|
|
06-19-2017, 06:26 AM
|
#5
|
LQ Newbie
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
06-19-2017, 10:20 AM
|
#6
|
LQ Veteran
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
|
Quote:
Originally Posted by Haines Brown
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...
|
|
|
06-19-2017, 11:10 AM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
06-20-2017, 08:52 AM
|
#8
|
LQ Newbie
Registered: Nov 2010
Location: Hartford, CT
Distribution: Devuan Jessie
Posts: 28
Original Poster
Rep:
|
Thanks, shadow. I'll see if this works next time I boot the system.
|
|
|
All times are GMT -5. The time now is 06:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|