DebianThis forum is for the discussion of Debian Linux.
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.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Rep:
Sound problems in Etch after Install on Laptop
I just installed Debian Etch on my Gateway 7330GZ laptop, and it finished about 90%. After tweaking the broadcom wireless, I am down to my final issue, no sound. At first, when I tried to open the meters on mixers, I got an error stating "cannot connect to sound daemon. Please run 'esd' at the command prompt.". I ran alsoconf and alsactl start and those problems went away. Next I installed gnome-audio, and the meters responded to the sample, but still no sound. All inputs on the Alsa mixer have been un-muted, and all levels are up. So everything seems to work except no sound out of the built-in speakers.
I don't know how to read those, but knew to run them due to other threads. Does anything stand out in what I have provided? Any help is greatly appreciated.
Then follow these instructions. They are ubuntu specific, but should work fine on debian. They also go into detail on how to install the new versions of Alsa, and what files to edit and exactly how.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
Thanks for the help. I got most of the way through before running into a snag. I downloaded and compiled the latest drivers per the Ubuntu article. Then I went to the cat /proc/asound... section, and that is where I got stuck. In my install, Debian Etch, there is no asound directory. I looked, and I didn't see any directory relating to sound. How else can I determine what model my sound card is? I seem to remember another way to determine these things, but cannot remember how to save my life. The laptop is a Gateway 7330GZ.
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
Update: I seem to have gone backwards. I followed the instructions and still have no sound. However, I now cannot open the Volume Control; I get the following error: No volume control GStreamer plugins and/or devices found. When I try to run alsaconf, it cannot find any sound devices. Running lsmod no longer shows the modules that I got in my first post. And I cannot open the meters again, but I cannot fix it this time because alsaconf can't run. Any ideas?
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675
Rep:
Go through the instructions again. When you hit the part about finding your soundcard in the dir that you don't have, don't worry about it. Just continue. When you get to this part..
************* *
Open /etc/modprobe.d/alsa-base with the following command:
sudo nano /etc/modprobe.d/alsa-base
Then paste the following line at the end of the file (change MODEL with the type of sound card's model, in our example it should be "acer" (without quotation marks)):
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
OK, here is the update. I was having other issues, so I reinstalled Etch. I still didn't have sound, but I had no errors. I opened the volume control (I'm using gnome) and un-muted all of the settings; still no sound. So then I opened the volume control preferences, selected External Amplifier, looked at the switches tab, and noticed that it was selected. I unchecked the External Amplifier box, and all of my system sounds now work. So I only have 1 more audio problem.
When I open Amarok, I selected the welcome audio track and received the following error:
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
Another update. I got audio working with Amarok by changing the xine output engine output plugin from auto to esd. Finally, my last hurdle is audio output in videos. I have a series of CBT Nuggets, and need to be able to play them. Video plays fine in the built in movie player, but no audio. The files are AVI's, and I am using Totem. I tried VLC, but the video flashes like it's running under regular lights. That aside, it also had no audio output.
I opened one of the AVI files with Amarok, and Amarok played the audio, so the problem must be the video players. Any suggestions?
I have made a script that continually shows which application accesses which sound device. I would like you to use it:
Code:
#!/bin/bash
test "$1" != "--help" || {
echo "card-use [interval(=5)] shows which processes access any device in the group audio"
exit
}
seconds=5
test -z "$1" || seconds=$1
while true
do
clear
echo
echo -- processes using devices in the group audio:
echo
lsof -w $( find /dev -group audio 2>/dev/null )
echo
echo
echo \( refresh every $seconds sec. \)
sleep $seconds
done
read
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
Thanks for the script. I wish I had a clue how to read it, but that will come in time. Anyway, here is the output when I try to launch an avi movie in Totem:
Here is the output when launching the same avi with VLC:
-- processes using devices in the group audio:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
esd 3332 hank 5w CHR 14,3 5548 /dev/dsp
( refresh every 5 sec. )
To get audio to play in Amarok, I had to change the xine output device from alsa to esd. I also have system sounds, so it appears the only thing left is audio out in videos. One thing I noticed is the output of cat /proc/asound/cards:
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382
Original Poster
Rep:
That sounds great, I want a pure alsa system. I guess where I am stuck is what to do next. I have alsa installed, it just seems to be missing something. I did notice that when I look in Amarok's configuration window, the xine engine currently has esd as the output plugin. When I change it to alsa, the alsa device configuration is blank and greyed out. From what I have seen in various Googled searches, my sound device information should be in there. That is why I believe there is something missing or I have a conf file that needs tweeking. Problem is, I am lost.
Thanks for your help, and any further help you can provide.
I didn't follow it from beginning to end; I added the files in the Sound Mixing section, added multimedia links in my sources list, installed the multimedia-keyring, added the keys, and then installed the rest of the files under Multimedia. Afterwards, it all worked.
Thanks to everyone who helped. From all of my research on this topic, it seems that this is a current issue with many different distros. I'm sure in time, this will all work itself out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.