Answers to: Audio Not working After Debian Upgrade (Lenny, Squeeze & Sid)http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid<p>I've upgraded many of the packages on my system using Synaptic, which upgraded various components including the kernel and KDE4. As a result I now no longer have audio.</p> <p>uname -a gives me:</p> <pre><code>Linux alchemist 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux </code></pre> <p>lspci -vv gives me:</p> <pre><code>00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04) Subsystem: Acer Incorporated [ALI] Device 011e Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 22 Region 0: Memory at 98400000 (64-bit, non-prefetchable) [size=16K] Capabilities: &lt;access denied&gt; Kernel driver in use: HDA Intel </code></pre> <p>KDE is on version 4.4.3</p> <p>I don't have PulseAudio installed.</p> <p>Alsa is on version 1.0.21</p> <p>Using KDE's Settings tool for audio I've tried both the Xine and GStreamer backends, which give me options of outputting to either HDA Intel (ALC268) or to Jack. Neither option works.</p> <p>Running alsactl init both as root and as the normal user gives me the following error:</p> <pre><code>Unknown hardware: "HDA-Intel" "Realtek ALC268" "HDA:10ec0268,1025011e,00100003 HDA:14f12c06,1025011e,00100000" "0x1025" "0x011e" Hardware is initialized using a guess method </code></pre> <p>I'm fairly experienced as a Linux user, but I haven't had to reconfigure my sound since I moved from Slackware to Ubuntu 6 04, 4 years ago, and I don't think I've done a kernel recompile since then either.</p> <p>The machine in question is my Acer Aspire 5720 Laptop. sound was working perfectly prior to the upgrade, Google has given me various ideas but none of them have worked yet.</p> <p><strong>EDIT</strong> I've tried the following: </p> <ul> <li><p>Switching between the different backends. </p></li> <li><p>I've also tried adding the line "options snd-hda-intel index=0 model=72" to the bottom of alsa-base.conf as suggested on one of the pages I went to, but it appears to have no effect. </p></li> <li><p>I tried installing PulseAudio, but no combination of PulseAudio and other settings worked.</p></li> </ul> <p><strong>EDIT2</strong> Right, I've got it partially working, by following olejorgenb's steps:</p> <ul> <li><p>Unload all processes using the soundcard.</p></li> <li><p>Change to the directory where the file called vendor_name contains Realtek (on mine it's at /sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0)</p></li> <li><p>then as root do echo acer > modelname &amp;&amp; echo 1 > reconfig</p></li> </ul> <p>Restarting kmix then lets me unmute the sound and it works. </p> <p><strong>But how can I make this change stick?</strong></p> <p><strong>EDIT3</strong> As per olejorgenb's suggestion I've tried adding:</p> <pre><code>echo acer &gt; "/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/modelname" echo 1 &gt; "/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0/reconfig" /usr/sbin/alsactl init </code></pre> <p>to /etc/rc.local which didn't work. Then I tried putting it in /etc/init.d/speech-dispatcher as this is one of the processes I have to kill to get sound working manually. I see the usual message about </p> <pre><code>Unknown hardware: "HDA-Intel" "Realtek ALC268" "HDA:10ec0268,1025011e,00100003 HDA:14f12c06,1025011e,00100000" "0x1025" "0x011e" Hardware is initialized using a guess method </code></pre> <p>scroll past during startup, but still no sound.</p> <p>Anymore suggestions from anyone, how to get my sound to come up automagically on startup?</p> <p><strong>SOLUTION:</strong> It turns out that the above was a red herring, the problem lay with the fact that I wasn't a member of the audio group (or possibly pulse or pulse-access) adding myself to this group, and logging back in (I may have been able to bypass the login but I wanted to make sure) restored working sound to my system. </p> <p>Have the requirements for either the kernel or Alsa changed so that to make audio work, you now need to be a member of the audio group. Or have Debian made changes? Or did the update change my membership?</p> <p>Depending on which of these is probably the cause, depends where I submit a bug to.</p> <p>Thanks for all of your help.</p>enTue, 30 Aug 2011 18:53:46 -0400Answer by PurpleRabbithttp://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/2676<p>Hi, I had the same problems (Debian 6 Squeeze), my soundcard was working one moment and then on the next boot it just would not work, no matter what I tried, interestingly the Orca screen reader worked. I (Googled) the solution and found this page, lucky for me Im a noob and was struggling to install the alsa drivers etc &amp; work out what to do, however the other day when I booted my system &lt;fsck&gt; was automatically forced to run by the system while booting (After 26 boots). When it had finnished and the login screen loaded I could tell that the sound was working again. And it is! Maybe you should try to force &lt;fsck&gt; to see if this works.</p>PurpleRabbitTue, 30 Aug 2011 18:53:46 -0400http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/2676Answer by pcardouthttp://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/424<p>Are you a member of the audio group?</p> <p>Look at <code>/etc/group</code> for a line like:</p> <blockquote> <p>audio:x:29:youruseridshouldbehere</p> </blockquote> <p>If it's </p> <blockquote> <p>audio:x:29:</p> </blockquote> <p>Then that might be an easy fix!</p>pcardoutMon, 10 May 2010 04:09:22 -0400http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/424Answer by olejorgenbhttp://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/351<p>I'm just throwing out something here:</p> <p>First off you could try playing around with <a href="http://www.alsa-project.org/main/index.php/HDA_Analyzer" rel="nofollow">http://www.alsa-project.org/main/index.php/HDA_Analyzer</a></p> <p>Or:</p> <ul> <li><p>Go to /sys/devices</p></li> <li><p>Find the folder containing vendor_name with content Realtek. (probably pciXXX/xx/xx/hwC0D0)</p></li> <li><p><code>$ echo $MODELNAME &gt; modelname &amp;&amp; echo 1 &gt; reconfig</code></p></li> </ul> <p>If you get <code>echo: write error: device or resource busy</code>, make sure all audio apps is closed. Try different stuff for MODELNAME. Since you have a Realtek ALC268, try some of these: (from $KERNELSOURCE/Documentation/sound/alsa/HD-Audio-Models.txt)</p> <pre><code>ALC267/268 quanta-il1 Quanta IL1 mini-notebook 3stack 3-stack model toshiba Toshiba A205 acer Acer laptops acer-dmic Acer laptops with digital-mic acer-aspire Acer Aspire One dell Dell OEM laptops (Vostro 1200) zepto Zepto laptops test for testing/debugging purpose, almost all controls can adjusted. Appearing only when compiled with $CONFIG_SND_DEBUG=y auto auto-config reading BIOS (default) generic </code></pre> <p>I'd try test and generic first</p> <p>I take in now way responsibility for what this might do. (You might have to reboot a couple times)</p>olejorgenbThu, 06 May 2010 22:12:40 -0400http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/351Answer by Web31337http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/330<p>What have you tried so far? <em>alsaconf</em> didn't help? Did you try to rebuild alsa from source?</p>Web31337Thu, 06 May 2010 12:33:05 -0400http://linuxexchange.org/questions/329/audio-not-working-after-debian-upgrade-lenny-squeeze-sid/330