LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-21-2013, 08:45 PM   #1
bdoremus
LQ Newbie
 
Registered: May 2010
Posts: 12

Rep: Reputation: 0
No Sound - ALC887 on a Gigabyte GA-E350N with AMD E-350D APU


Hello!
I've spent some time hacking at this, and made some progress. But, I am still missing something. I can get no audio out in any form. After a lot of googling, I've tried everthing I've found that was posted since 2012.

Every volume control is on 100% (alsamixer, pulseaudio mixer). The rear audio port is connected to functional headphones with no volume control. I have no front audio port on this machine.

Unfortunately, I don't have the ability to play audio over HDMI, so I can't check if that is working.


Here is the output of 'cat /proc/asound/cards'
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe024000 irq 16
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfe020000 irq 41

Here is the output of 'aplay -l'
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
I realize there is some history with the ALC887 device; I found some advice which said to modify /etc/modprobe.d/alsa-base.conf to include
options snd-hda-intel model=generic
I still have that change applied.


lspci relevant information:
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
Subsystem: Giga-byte Technology Device 1314
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at fe020000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
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 a002
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

OS Information: Debian Sid 3.2.0-4-amd64 (but I've tried it on 2.6 as well)


Harware Information: Gigabyte GA-E350N with built in AMD E-350D APU


Let me know if there is any more information I can provide.

Thanks!

~Ben
 
Old 02-22-2013, 03:13 PM   #2
agentsteel
Member
 
Registered: Oct 2012
Location: France
Distribution: Debian / Fedora / Ubuntu / OpenBSD
Posts: 46

Rep: Reputation: Disabled
On my E350-based netbook I have to include this in /etc/modprobe.d/alsa.conf

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd_hda_intel index=1

So that the analog sound controller ("Azalia") has precedence over the HDMI audio controller.

But your setup seems to have that correctly done already...

Seems to be ALC887 only related (I have a different analog controller in my setup)
 
Old 02-25-2013, 03:20 PM   #3
Janochan
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by bdoremus View Post
Hello!
I've spent some time hacking at this, and made some progress. But, I am still missing something. I can get no audio out in any form. After a lot of googling, I've tried everthing I've found that was posted since 2012.

Every volume control is on 100% (alsamixer, pulseaudio mixer). The rear audio port is connected to functional headphones with no volume control. I have no front audio port on this machine.

Unfortunately, I don't have the ability to play audio over HDMI, so I can't check if that is working.


Here is the output of 'cat /proc/asound/cards'
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe024000 irq 16
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfe020000 irq 41

Here is the output of 'aplay -l'
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
I realize there is some history with the ALC887 device; I found some advice which said to modify /etc/modprobe.d/alsa-base.conf to include
options snd-hda-intel model=generic
I still have that change applied.


lspci relevant information:
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
Subsystem: Giga-byte Technology Device 1314
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at fe020000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
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 a002
Flags: bus master, slow devsel, latency 32, IRQ 16
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

OS Information: Debian Sid 3.2.0-4-amd64 (but I've tried it on 2.6 as well)


Harware Information: Gigabyte GA-E350N with built in AMD E-350D APU


Let me know if there is any more information I can provide.

Thanks!

~Ben
Hello

Did you find the solution ?, I have the same motherboard Gigabyte E350N.
And the same problem I dont have audio.
I'm trying to solve the same problem since various days.
I choose this motherboard due the good performance with very low power consumption.

Im waiting your answer.

Thanks.

Sorry for my english

Last edited by Janochan; 02-25-2013 at 03:21 PM.
 
Old 02-25-2013, 03:46 PM   #4
greenleaf
Member
 
Registered: Feb 2004
Location: Chester, UK
Distribution: Linux From Scratch. 64 bit. Kernel 3.7.9. KDE 4.9.1.
Posts: 41

Rep: Reputation: 19
Permissions?

It might be an idea to eliminate the possibility that your permissions are insufficient by trying to generate sound output as user root. This should at least give a little more information when you run lspci (at the moment we cannot see the capabilities - note the "Capabilities: <access denied>").

If it turns out that it is a permissions problem then maybe you need to add yourself to the right group - it might be group audio.

Incidentally I have a Gigabyte board.
 
Old 02-25-2013, 04:15 PM   #5
Janochan
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by greenleaf View Post
It might be an idea to eliminate the possibility that your permissions are insufficient by trying to generate sound output as user root. This should at least give a little more information when you run lspci (at the moment we cannot see the capabilities - note the "Capabilities: <access denied>").

If it turns out that it is a permissions problem then maybe you need to add yourself to the right group - it might be group audio.

Incidentally I have a Gigabyte board.
Ive install everything as a root

This is what I get with lspci

deybi@Ale:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] Device 1510
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9802
00:01.1 Audio device: ATI Technologies Inc Device 1314
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode] (rev 40)
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (rev 40)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:15.0 PCI bridge: ATI Technologies Inc Device 43a0
00:15.1 PCI bridge: ATI Technologies Inc Device 43a1
00:16.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
 
Old 02-25-2013, 06:55 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,524

Rep: Reputation: 235Reputation: 235Reputation: 235
Make sure the user is in the audio group.

$ cat /proc/asound/cards

$ speakertest -c 0
$ speakertest -c 1

(or whatever appies and ^C to kill it)

Also use alsamixer on the card(s), as there are digital modes which might not give you anything useful until changed to analog modes. Plus various other sound daemons like pulseaudio, jackd, and the likes. Depending on your distro and configuration. And sound tends to be muted by default.
 
Old 02-26-2013, 04:10 AM   #7
greenleaf
Member
 
Registered: Feb 2004
Location: Chester, UK
Distribution: Linux From Scratch. 64 bit. Kernel 3.7.9. KDE 4.9.1.
Posts: 41

Rep: Reputation: 19
Janochan,

try
lspci -v > lspci.audio.txt
Then edit the file lspci.audio.txt so as to get just those entries relating to audio devices. This should show the device capabilities and reveal which kernel drivers are being used.

You can have more than 1 soundcard on a system. alsamixer can select between the soundcards with the -c switch. So on my system I can use any of -c 0, -c 1 and -c 2. E.g.:
alsamixer -c 1
You do need to establish that you are adjusting the controls of the soundcard that you are actually monitoring.

When you do your sound tests, do them first as user root, then as your own user id. If the first works and the second fails then you have almost certainly got a permissions problem.
 
Old 03-02-2013, 04:46 AM   #8
BoraxMan
Member
 
Registered: Apr 2010
Posts: 84

Rep: Reputation: 8
Check your /etc/asound.conf, or the .asoundrc file in your home directory. Do you get sound when logged in as root?

The card may have multiple outputs, but only one is connected to speakers. You need to ensure alsa is configured to output to the one connected to speakers.

Secondly, check your volume levels. Sounds simple, but sometimes, some obscure channel like HD out might be muted, but still set to max volume.

Here is my asound.conf

pcm.card0 {
type hw
card 0
}
ctl.card0 {
type hw
card 0
}


If that doesn't work, change 'card 0' to 'card 1'.

I also recommended removing pulse audio, but that can be done later.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nvidia drivers for a Gigabyte GA-E350N Portdale Linux - Newbie 5 01-28-2013 06:30 AM
Screen tearing on Ubuntu 12.04(32-bit) with AMD A4-3400 APU and AMD Radeon 6410D PhantomTurtle Linux - General 4 08-25-2012 08:09 PM
[SOLVED] Video working perfectly but no sound. On an AMD A4 3400 APU with radeon HD 6410d. techno-fire Linux - Hardware 2 07-27-2012 11:10 PM
No Sound Debian Lenny AMD64 Gigabyte GA-MA78GM-S2H AMD 780G McDale Debian 6 10-21-2008 11:48 PM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration