https://www.thinkwiki.org/w/api.php?action=feedcontributions&user=Antgel&feedformat=atomThinkWiki - User contributions [en]2024-03-29T10:40:59ZUser contributionsMediaWiki 1.31.12https://www.thinkwiki.org/w/index.php?title=AD1984&diff=39055AD19842008-10-07T13:15:00Z<p>Antgel: Add R61 volume keys hint</p>
<hr />
<div>__NOTOC__<br />
{| width="100%"<br />
|style="vertical-align:top" |<br />
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;"><br />
=== AD1984 ===<br />
This is a ''Analog Devices'' High-Definition Audio controller<br />
<br />
=== Features ===<br />
* Chipset: AD1984<br />
* Interface: HD Audio <br />
</div><br />
|style="vertical-align:top" |<br />
|}<br />
<br />
=== Linux ALSA driver ===<br />
* This device is supported by the alsa driver since 1.0.15 (including R61/T61/X61 bugfix)<br />
* This device is supported by the kernel since 2.6.23 (which includes alsa 1.0.15 !)<br />
<br />
==== For previous versions ====<br />
<br />
However, Takashi Iwai has added support to this device in Alsa development version [http://hg.alsa-project.org/alsa-kernel/log?rev=AD1984]... Still have to wait to get it included in the Linux Kernel... Note: It is rather trivial to get this working in a standard kernel right now, It is only 3 patches on top of the stock 1.0.14 code:<br />
<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/958b39f3e8dd Fix Oops with AD1984 thinkpad model]<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/47ca87407c84 Fix AD1984 basic model]<br />
* [http://hg.alsa-project.org/alsa-kernel/rev/ca37aeeeb0ea Fix Thinkpad X61/T61 outputs]<br />
<br />
Alsa-Driver 1.0.14 added some support for this chip, but did not work on my T61; however, using the latest HG/Mercurial makes everything work. I created a Debian package for unstable/sid with the HG alsa that works for me, available at [http://people.debian.org/~jello/alsa-modules-2.6.21-2-686_1.0.15~hg2007070601-1+2.6.21-5_i386.deb]. --[[User:Jello|Jello]] 15:31, 6 July 2007 (UTC)<br />
<br />
amd64 debian package here:<br />
http://www.cse.unsw.edu.au/~jdas417/alsa-modules-2.6.22-1-amd64_1.0.14-1_jda+2.6.22-3_amd64.deb<br />
--jashar<br />
<br />
Works with Kernel 2.6.22 and Alsa 1.0.14a<br />
--[[User:Schlodty|Schlodty]] 12:01, 21 July 2007 (UTC)<br />
<br />
Did not get it to work on X61s with either of the above packages. Newer HG packages do support this chip, so alsa 1.0.15 should have full support for this chip. --[[User:hjh|hjh]] 9:09, 27 July 2007 (UTC)<br />
<br />
Debian users (both Stable/Etch and Testing) can use the small [http://www.klabs.be/~fpiat/linux/debian/Lenny_on_Thinkpad_T61/#Sound script] I wrote to patch and build an alsa module package (with module-assistant). --[[User:Fpiat|Fpiat]] 11:45,04 August 2007 (UTC)<br />
<br />
Works with a patched 2.6.22.1 kernel using the 2007/07/20 patch from ftp://ftp.alsa-project.org/pub/kernel-patches/ . Just make sure that you have the PCM channel unmuted and the speaker switch checked. --[[User:Mozz|Mozz]] 17:13, 7 August 2007 (UTC)<br />
<br />
Above patches are in kernel mainline from Kernel 2.6.23-rc1 , it works on my T61 --[[User:Brain79|Brain79]] 22:01, 09 August 2007 (UTC)<br />
<br />
Worked on my T61 running Debian Lenny, with a sid 2.6.23 kernel. (That is, I installed Lenny (and so have a Lenny version of ALSA - 1.0.14, and then upgraded the kernel to 2.6.23 from the sid repositories). [[User:Kyle Barbour|Kyle Barbour]] 09:46, 13 February 2008 (CET)<br />
<br />
Not working with 2.6.24.2 and alsa 1.0.16 on T61 --Linea 23 March 2008<br />
<br />
=== Trouble shooting ===<br />
{{WARN|It's really necessary to leave the modem enabled in the BIOS or the hda_intel driver will reutrn azx_get_response timeouts which will lead to a non-working soundchip.<br />
Got that information from a comment from: [http://crypto.riken.go.jp/archives/linux/kernel.org/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/broken-out/git-alsa.patch here] --[[User:Gladiac|Gladiac]] 06:12, 24 July 2007 (UTC)}}<br />
The reason modem must be enabled (at least on the x60,x61 series) is because the modem and sound share a bus. (got that from calling lenovo hardware support today) [[User:Aliencam|Aliencam]] 01:43, 28 January 2008 (CET)<br />
<br />
{{HINT|ALSA did not recognise the sound card on my T61 when the driver was compiled in the kernel. After compiling it as a module it worked. [[User:xaxo|xaxo]] 18 Jun 2008}}<br />
<br />
{{HINT|Many people have complained of keyboard noise (and ambient noise) being picked up by the mic and played back through the speakers (you will notice that the keyboard sounds "loud" until you mute sound). FIX: turn down the mixer channel "Internal Mic Boost" from alsamixer's Playback menu. There is another "Internal Mic Boost" in alsamixer's Capture menu, but that does not seem to have the same effect.}}<br />
<br />
{{HINT|The hardware volume keys didn't work out of the box on my R61, using Debian Lenny with no GNOME or KDE. It has been documented elsewhere that the R61 doesn't have a hardware mixer. However xev did recognise the keys, so it was trivial to get them working. This was solved by adding the following sections to .xmodmap and .xbindkeysrc respectively. There is no need to restart Xorg, just xmodmap ~/.xmodmap && xbindkeys, and all should work. You may wish to add a call to xbindkeys to your .xsession to avoid having to run it manually whenever Xorg starts. [[User:Antgel|Antgel]] 15:15, 7 October 2008 (CEST)}}<br />
<br />
<pre><br />
keycode 160 = XF86AudioMute <br />
keycode 174 = XF86AudioLowerVolume <br />
keycode 176 = XF86AudioRaiseVolume<br />
keycode 233 = XF86Forward<br />
keycode 234 = XF86Back</pre><br />
<br />
(Note the forward and back key entries, which work out of the box on Firefox 3.0.)<br />
<br />
<pre><br />
"amixer -c 0 set PCM 2dB+"<br />
XF86AudioRaiseVolume<br />
"amixer -c 0 set PCM 2dB-"<br />
XF86AudioLowerVolume<br />
"amixer -c 0 set PCM 0"<br />
XF86AudioMute</pre><br />
<br />
=== This chip may be found in ===<br />
* {{R61}}<br />
* {{T61}}<br />
* [[:Category:X61|X61]], [[:Category:X61s|X61s]], [[:Category:X61_Tablet|X61 Tablet]]<br />
<br />
=== Datasheets ===<br />
* [http://www.analog.com/en/prod/0,2877,AD1984,00.html Analog Devices page for the AD1984]<br />
<br />
[[Category:Components]]</div>Antgel