Linux - NewbieThis 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.
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.
I have recently configured with alsaconf my sound card. When I run
$ aplay /usr/share/sounds/alsa/test.wav
I hear a sound in the speakers
If I run
$ cat /proc/asound/card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: ALC889 Analog
name: ALC889 Analog
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
I believe my card is well configured in the system, but in Gnome when I run gnome-volume-control it appears an error:
No volume control GStreamer plugins and/or devices found.
All I can say is that time ago I used to use OSS on my system. I want to use ALSA because it works better with an app of mine, so I need this back.
Any ideas why this might happen with gnome volume control?
BTW In the upper corner, it appears the simbol of the speaker with a cross, and If I go to Preferences, nothing happens.
$ gnome-volume-control --gst-debug-level=2
0:00:00.046728275 15570 0x9440b0 WARN oss4 oss4-property-probe.c:356:gst_oss4_property_probe_get_values:<oss4mixer0> Can't open file descriptor to probe available devices: No such file or directory
0:00:00.050289327 15570 0x9440b0 WARN oss gstossmixerelement.c:223:gst_oss_mixer_element_change_state:<ossmixerelement0> error: Failed to open oss mixer device '/dev/mixer'
Looks like is trying to open an OSS mixer, but don't know how to change this.
sirlouen@host#aplay-l
aplay: device_list:207: no soundcards found...
sirlouen@host# sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
About sounds:
sirlouen@host$ aplay /usr/share/sounds/alsa/test.wav
ALSA lib confmisc.c:768: (parse_card) cannot find card '0'
ALSA lib conf.c:4154: (_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392: (snd_func_concat) error evaluating strings
ALSA lib conf.c:4154: (_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251: (snd_func_refer) error evaluating name
ALSA lib conf.c:4154: (_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633: (snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211: (snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory
sirlouen@host$ sudo aplay /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Maybe this have something to do with users but the command usermod as I did, has not done the trick
Have you ever had sound working on this system with your linux install?
You have two sound cards installed. That is a problem. I have read many threads with the user trying to add a second card, then nothing works.
Have you got one of the cards ( chipsets ) disabled in the BIOS? Do you have your speakers connected to the card you want working? You have two, where are you connected? Which card do you want to work?
To add to the confusion, I can not figure out exactly what driver you should have loaded. By looking at the Alsa pages, it appears snd_hda_intel supports both cards; but I'm not positive.
Is this a desktop or a laptop? Make and model please.
Have you ever had sound working on this system with your linux install?
You have two sound cards installed. That is a problem. I have read many threads with the user trying to add a second card, then nothing works.
Have you got one of the cards ( chipsets ) disabled in the BIOS? Do you have your speakers connected to the card you want working? You have two, where are you connected? Which card do you want to work?
01:00.1 Audio device: ATI Technologies Inc RV710/730
Quote:
Originally Posted by camorri
To add to the confusion, I can not figure out exactly what driver you should have loaded. By looking at the Alsa pages, it appears snd_hda_intel supports both cards; but I'm not positive.
Is this a desktop or a laptop? Make and model please.
Actually as I said before, I can make as root, play sounds just by running aplay. When I want to hear something (a file) I download it, login as root and run aplay "file.wav" and I can hear it in the speakers. But I can use it as a real time sound speaker/mic like with skype or something.
Is not a laptop, is a desktop made by me. It has an Gigabyte GA-P55A-UD3 Mother Board. Also I have an ATI HD4350 video card, maybe it also has a sound chipset or something because it is named the same as the Audio Device (RV710)
# lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
With Alsa conf ran as root, I select the audio device "ATI Technologies Inc RV710/730" and in the end it runs a test with aplay and I hear the sound, whilst with the other audio device, in the play test, I can't hear anything. That's why I'm sticking with the RV710 sound card.
Well, that clears up a few things. This sounds more like a permission issue. If you can play a .wav file as root, but not as a regular user, there are some things to look into.
I have never run Debain, I do run ubuntu, a Deb derivative. Do you have an audio group? If yes, add your regular user to that group, and try aplay some.wav file.
If that still fails, you may need to look at the ownership of the /dev/audio . On my system /dev/audio is root:audio. However, distros do this differently, so I can't tell you for sure which file in /dev to look at. That said, look at /dev/snd/ directory. There should be files there for each part of the sound system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.