[SOLVED] New debian 7.7 non-free install - sound not working.
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.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Rep:
New debian 7.7 non-free install - sound not working.
Hello everyone.
I have just installed debian stable non-free onto my hard drive but the sound isn't working.
I've been to the debian site https://wiki.debian.org/SoundConfiguration and found that 'users' don't automatically have access to audio (for security reasons).
So I did the following command as root (sudo):
From the 'lspci -v' command, I get these 2 outputs which have the word 'audio' in it:
Code:
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]
Subsystem: Giga-byte Technology Device 960f
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fdefc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: Giga-byte Technology Device a102
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: snd_hda_intel
So I have 2 sound cards.
The debian website says: 'If sound does not work for root account as well, then that means that either your sound card is not supported by Debian or it was not configured properly'.
Ok, so the first part of the statement is worrying.
So I went to the debian device driver check page http://kmuto.jp/debian/hcl/ and did 'lspci -n'.
The output can be pasted onto their web page and debian will say if the sound cards are supported.
The web page shows that the sound cards are supported:
Quote:
10024383 Yes Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) snd-hda-intel v2.6.25
10029715 Yes Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4250] radeon v2.6.35-
1002970f Yes Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series] snd-hda-intel v2.6.27-
So now I'm guessing that my sound cards are 'not configured properly'. But I've run a Youtube video and then changed the sound cards under alsamixer and I still don't get sound.
Is there is a simple solution to this please? Thank you in advance.
Where the 1 is the number of the preferred device as referenced in /proc/asound/cards. And yes users are not autmoatically in the audio group. Not only that but if you do a minimal install, the alsa-base package isn't installed. Technically you only need the defaults.pcm.card line to have audio (that doesn't use OSS aka /dev/dsp) go to the other card.
Edit: and channels are muted by default. alsamixer -c 1
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by Teufel
By default alsa has all channels muted, did you unmute them?
You can do it with alsamixer.
Yes, I've pressed the 'm' button to unmute the sound bars.
With F6, when I select the analog sound card - I get a number of sound bars.
But when I select the HDMI sound card there aren't any sound bars - just a small square with S/PDIF underneath.
So I'm wondering if the HDMI card has been configured correctly.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by colorpurple21859
If both of these statements are true It shouldn't be a problem as long as you get sound as a user.
Sorry, I should've been more clear. I used the 'adduser USER_NAME audio' to enable sound to the user. But I still can't get sound for either user or root.
I opened the Synaptic package manager on System Tools and did a search for 'non-free'.
There's options for 'firmware-linux' and 'fglrx' packages which refer to 'non-free ATI/AMD RadeonHD display driver'. These must include my sound card.
But when I installed the packages, I got this error message:
Code:
The fglrx driver is not yet configured. please consider using /usr/bin/aticonfig to create a working xorg.conf configuration.
For example, sudo aticonfig --initial should be sufficient for most use cases
So does this mean I create directory /usr/bin/aticonfig and reinstall those 'non-free' packages?
I can't find an aticonfig directory in /usr/bin/, although I may have deleted it after removing the 'broken' pkg install on synaptic.
With F6, when I select the analog sound card - I get a number of sound bars.
But when I select the HDMI sound card there aren't any sound bars - just a small square with S/PDIF underneath.
So I'm wondering if the HDMI card has been configured correctly.
What is your speakers? How do you have them connected to PC?
If you're using regular speakers connected to line output, then nothing to do with HDMI. You should go with HDA ATI SB instead of HDA ATI HDM.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by Teufel
What is your speakers? How do you have them connected to PC?
If you're using regular speakers connected to line output, then nothing to do with HDMI. You should go with HDA ATI SB instead of HDA ATI HDM.
I have the computer hooked up to a tv.
I think the computer then gives sound from the tv's speaker.
Even so, if I play an mp3 file and then open alsamixer, neither of the sound cards produce sound when I use F6.
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508
Original Poster
Rep:
Quote:
Originally Posted by colorpurple21859
Have you tried going into system settings>sound to get sound working?
Yes, I've tried that. Essentially it allows me to change sound cards which I've done with rhythmbox running. Still no sound.
On System Tools there's an ATI Catalyst Converter app which I also have on Windows.
But when I open it, I get an error message: 'No AMD graphics driver is installed or the AMD driver is not functioning properly. Please install the AMD driver appropriate for your AMD hardware, or configure using aticonfig.'
But I'm using a new non-free 7.7 debian version on my live USB, which was a successful install, and synaptic seems to be showing all the drivers are installed at boot.
So now I'm wondering how to 'configure using aticonfig'!
I haven't used a computer connected to a TV, but have you tried connecting a speaker directly to the computer to rule out a problem originated in the computer/TV setup?
(In case you have Windows or another OS installed on your computer and your PC/TV setup works on this other OS, then definitely it's a configuration problem with Debian).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.