[SOLVED] No Sound with Realtek ALC892 on Debian Squeeze
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Desktop and netbook: Debian Squeeze; Router: DD-WRT
Posts: 43
Rep:
No Sound with Realtek ALC892 on Debian Squeeze
Hi, all. I just installed Debian Squeeze alpha1 for AMD64 with KDE onto a desktop PC I just built. However I cannot get sound to work, and I've been at it for about six hours already...
My primary audio device is a Realtek ALC892 chip on an Intel HDA ATI SB card on an MSi 870A-G54 motherboard (very nice board, especially on sale ). lspci identifies the device as follows:
Quote:
# lspci -v
[...]
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: Micro-Star International Co., Ltd. Device 7599
Flags: bus master, slow devsel, latency 64, IRQ 16
Memory at fe5f8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: HDA Intel
[...]
And ALSA's aplay reports:
Quote:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 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
(Card 1 being an additional HDMI device on my video card.)
I first used the stock Debian Squeeze Linux kernel (2.6.32-5). Eventually I read that support for ALC892 was added in 2.6.33. So then installed the LiquorixLinux kernel 2.6.35-2 (Linux debian 2.6.35-2.dmz.1-liquorix-amd64) for the audio drivers and some additional performance boosts. I'm using ALSA 1.0.23. Information on my ALSA installation from dpkg:
Quote:
# dpkg -l *alsa*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================================-============================================-==================================================================================================== ====
un alsa <none> (no description available)
ii alsa-base 1.0.23+dfsg-1 ALSA driver configuration files
ii alsa-oss 1.0.17-4 ALSA wrapper for OSS applications
ii alsa-utils 1.0.23-2 Utilities for configuring and using ALSA
ii gstreamer0.10-alsa 0.10.30-1 GStreamer plugin for ALSA
un libesd-alsa0 <none> (no description available)
ii libsdl1.2debian-alsa 1.2.14-6 Simple DirectMedia Layer (with X11 and ALSA options)
I also tried installing the oss4-base package, but that just made ALSA throw errors.
I was missing devices like /dev/dsp and /dev/audio and /dev/sndstat showed audio devices "NOT ENABLED IN CONFIG", so I fixed all of that by installing two kernel modules -- snd-pcm-oss and snd-mixer-oss. Results:
Quote:
# modprobe snd-pcm-oss # modprobe snd-mixer-oss # cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
Kernel: Linux debian 2.6.35-2.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sat Aug 14 19:15:19 CDT 2010 x86_64
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA ATI SB at 0xfe5f8000 irq 16
HDA ATI HDMI at 0xfe6ec000 irq 47
I've checked audio levels with 'alsamixer' and 'alsamixer -Dhw' and all playback channels are set to full gain. After every little change, I've tried speaker-test, aplay, and piping files to audio devices.
Does anyone have any ideas why I can't get sound to work? This is the desktop computer I'll be taking with me to college within the next week and a half, so I'd really like to get everything working as soon as possible...
Distribution: Desktop and netbook: Debian Squeeze; Router: DD-WRT
Posts: 43
Original Poster
Rep:
Thanks, it's reassuring to see that it's possible. I assume that person used the PulseAudio Volume Control, since I found those settings in there. I saw the volume meter move with sound output in KDE apps, but nothing I tried would produce actual output.
'alsactl init' gives an error:
Quote:
# alsactl init
Unknown hardware: "HDA-Intel" "Realtek ALC892" "HDA:10ec0892,14627599,00100302" "0x1462" "0x7599"
Hardware is initialized using a guess method
Also, I tried adding these two lines to /etc/modprobe.d/alsa-base.conf based on readings in other threads I've come across, to no avail.
Quote:
options snd-hda-intel enable=1 index=0 model=auto position_fix=1
alias snd-card-0 snd-hda-intel
I should note though that I am hearing an occasional clicking sound out of my speakers. It seems random, and the only way I was able to generate that clicking myself was by pressing the mute button in the PA Volume Control. Also, unmuting the headphone channel in alsamixer or KMix creates odd solid noise on the case's audio connector and on the following motherboard connectors: line-out, center speaker, and rear speaker (but not side speaker).
And for what it's worth, aplay will "play" a file without errors, but there is no actual sound output.
Quote:
# aplay Downloads/iron_maiden_sign_of_the_cross.mp3
Playing raw data 'Downloads/iron_maiden_sign_of_the_cross.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
UPDATE:
I tried using a Debian stable/Lenny live CD (with alsaconf and an older kernel, since I thought I read in some places that this is a new issue). I had the same problems; I had no audio, even after running through alsaconf.
Then I thought of running a Windows installation to make sure that the hardware is really working properly (I assume it is anyway, since it identifies itself to Linux). I took the hard drive out of my netbook (Windows XP) and put it in my desktop case. Windows simply flashed an orange screen of death at me (something about an unauthorized hardware configuration I guess, I couldn't catch it fast enough) and rebooted the PC.
Does anyone have any ideas that might help me to get sound to work on this computer?
Last edited by PehJota; 08-19-2010 at 12:27 AM.
Reason: clarified noise conditions.
Distribution: Desktop and netbook: Debian Squeeze; Router: DD-WRT
Posts: 43
Original Poster
Rep:
Okay, so I gave up on the onboard audio. I ordered and installed a cheap but good ASUS Xonar DS (a rebranded Creative something) PCI sound card, disabled the onboard Realtek ALC892 in BIOS, booted Debian, and let KMix remove the onboard sound device. Then I rebooted Debian, and I instantly had sound, no configuration necessary.
It's too bad the Realtek chip wouldn't work (I guess maybe it's not the best hardware anyway), but at least I managed to solve my problem (with a cheap but good separate 7.1 audio device, so it worked out okay).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.