Re: Console beep on Lenovo Thinkpad X61S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 3 Mar 2014 06:55:14 +0100,
Lars Bjørndal wrote:
> 
> Hello
> 
> Could we please get back the system beep on Lenovo X61S. It worked
> with kernel 3.11. On 3.12 and 3.13, it doesn't.
> 
> I had a similar problem back in 2010, which was discussed here, ref.:
> 
>   <https://www.mail-archive.com/alsa-user@xxxxxxxxxxxxxxxxxxxxx/msg26381.html>
> 
> I suppose it's something similar that has happened to the sound car
> driver from within kernel 3.12.
> 
> I'm blind, and so cannot use the GUI analyzing tool that was suggested back
> in 2010.
> 
> Hope we can work to fix the system beep problem.

Could you check whether the patch below works?


Takashi

---
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 1eb00a6d3ef5..b59545cfe5d1 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -1025,6 +1025,8 @@ static void ad1884_fixup_thinkpad(struct hda_codec *codec,
 		spec->gen.keep_eapd_on = 1;
 		spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook;
 		spec->eapd_nid = 0x12;
+		/* Analog PC Beeper - allow firmware/ACPI beeps */
+		spec->beep_amp = HDA_COMPOSE_AMP_VAL(0x20, 3, 3, HDA_INPUT);
 	}
 }
 

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux