Difference between revisions of "AD1981HD"

From ThinkWiki
Jump to: navigation, search
(Linux ALSA driver)
(21 intermediate revisions by 16 users not shown)
Line 3: Line 3:
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
=== AD1981HD ===
 
This is a Analog Devices High-Definition Audio 1.0 controller
 
  
=== Features ===
+
This is a Analog Devices High-Definition Audio 1.0 codec
 +
 
 +
== Features ==
 
* Chipset: AD1981HD
 
* Chipset: AD1981HD
 
* Interface: HD Audio 1.0
 
* Interface: HD Audio 1.0
Line 12: Line 12:
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
|}
 
|}
 +
{{HINT|By default, the volume buttons on the laptop control the volume of the hardware while software mixers like alsamixer and aumix increase or decrease the volume relative to the hardware volume.}}
 +
== Linux ALSA driver ==
 +
HD Audio is supported by the snd-hda-intel kernel module
 +
 +
=== Installation on Debian GNU/Linux ===
 +
The AD1981HD installs by default in Debian. To get it to work type 'alsaconf' on the command line as the root user.
 +
 +
{{ cmdroot| alsaconf }}
 +
{{HINT|To become root, type su at the command line.}}
 +
=== Problems ===
 +
* As of kernel 2.6.17, some users report a missing master volume control (e.g., with the T60p and Z60m), as described in this thread: http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg17089.html
 +
: As of ALSA 1.0.13 the master volume has returned. Download the latest modules from your distrobution to fix this problem. Otherwise as a temporary fix add model=hp to the snd-hda-intel module option. This will return the master volume control to your control.
 +
{{HINT|If you use Debian, edit /etc/modprobe.d/sound to change ALSA module options. }}
 +
* If you experience crackling noises, this can be avoided by adding the position_fix=2 optional argument for the module.
  
=== Linux OSS driver ===
+
* If you have problems recording audio, try selecting "Front Mic" as the capture device.
??
+
{{ NOTE | There have been reported problems using arecord while debugging, it's recommended to instead use Audacity. }}
  
=== Linux ALSA driver ===
+
* According to a bug in the BIOS, the modem disables the audio device too. If you are having problems with your soundcard and have disabled your modem, try re-enabling it. On some systems disabling the modem results in fixing some problems, so if you haven't disabled the modem, try it. On the T60p model, the in-kernel ALSA system will report "azx_get_response timeout"; re-enabling the modem fixed this issue and brought audio back. This also works for the X60s.
This chip works with '''snd-hda-intel''' driver. Possible cracking noises can be avoided by adding the
+
* Another bug seems to also exist when the Wireless LAN (sierra wireless card) is disabled in the BIOS. Re-enabling the Wireless LAN will enable sound.
position_fix=2 optional argument for the module.
 
* The AD1981HD installs by default in Debian. To get it to work you must first install it with alsaconf.
 
  
 +
* external / internal microphone does not work for me. see
 +
  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449
 +
  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2736
 +
(different laptops but same sound chip)
  
{{ NOTE | The modem and audio chip are very closely connected somehow. According to a bug in the BIOS,
+
{{NOTE | This problem was fixed for me by specifying the model option to 'ref' for the snd-hda-intel module (see first problem). }}
the modem disables the audio device, too. That seems to be the reason for most sound problem with this chip.}}
+
{{NOTE | 'laptop' as model option is also working but 'thinkpad' should be the preferred model option. }}
  
=== ThinkPads this chip may be found in ===
+
== ThinkPads this chip may be found in ==
 +
* {{R60}}, {{R60e}}
 
* {{T60}}, {{T60p}}
 
* {{T60}}, {{T60p}}
* {{X60}}, {{X60s}}
+
* {{X60}}, {{X60s}}, {{X60 Tablet}}
* {{Z60m}}, {{Z60t}}
+
* {{Z60m}}, {{Z60t}}, {{Z61e}}, {{Z61m}}, {{Z61t}}, {{Z61p}}
  
=== Datasheets ===
+
== Datasheets ==
 
* [http://www.analog.com/en/prod/0,2877,AD1981HD,00.html Analog Devices page for the AD1981HD]
 
* [http://www.analog.com/en/prod/0,2877,AD1981HD,00.html Analog Devices page for the AD1981HD]
 
* [http://www.analog.com/UploadedFiles/Data_Sheets/338118709AD1981HD_0.pdf Direct link to the AD1981HD datasheet]
 
* [http://www.analog.com/UploadedFiles/Data_Sheets/338118709AD1981HD_0.pdf Direct link to the AD1981HD datasheet]
  
 
[[Category:Components]]
 
[[Category:Components]]

Revision as of 11:32, 3 March 2010

This is a Analog Devices High-Definition Audio 1.0 codec

Features

  • Chipset: AD1981HD
  • Interface: HD Audio 1.0
Hint:
By default, the volume buttons on the laptop control the volume of the hardware while software mixers like alsamixer and aumix increase or decrease the volume relative to the hardware volume.

Linux ALSA driver

HD Audio is supported by the snd-hda-intel kernel module

Installation on Debian GNU/Linux

The AD1981HD installs by default in Debian. To get it to work type 'alsaconf' on the command line as the root user.

# alsaconf

Hint:
To become root, type su at the command line.

Problems

As of ALSA 1.0.13 the master volume has returned. Download the latest modules from your distrobution to fix this problem. Otherwise as a temporary fix add model=hp to the snd-hda-intel module option. This will return the master volume control to your control.
Hint:
If you use Debian, edit /etc/modprobe.d/sound to change ALSA module options.
  • If you experience crackling noises, this can be avoided by adding the position_fix=2 optional argument for the module.
  • If you have problems recording audio, try selecting "Front Mic" as the capture device.
NOTE!
There have been reported problems using arecord while debugging, it's recommended to instead use Audacity.
  • According to a bug in the BIOS, the modem disables the audio device too. If you are having problems with your soundcard and have disabled your modem, try re-enabling it. On some systems disabling the modem results in fixing some problems, so if you haven't disabled the modem, try it. On the T60p model, the in-kernel ALSA system will report "azx_get_response timeout"; re-enabling the modem fixed this issue and brought audio back. This also works for the X60s.
  • Another bug seems to also exist when the Wireless LAN (sierra wireless card) is disabled in the BIOS. Re-enabling the Wireless LAN will enable sound.
  • external / internal microphone does not work for me. see
 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2449
 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2736

(different laptops but same sound chip)

NOTE!
This problem was fixed for me by specifying the model option to 'ref' for the snd-hda-intel module (see first problem).
NOTE!
'laptop' as model option is also working but 'thinkpad' should be the preferred model option.

ThinkPads this chip may be found in

Datasheets