Difference between revisions of "AD1981HD"

From ThinkWiki
Jump to: navigation, search
(Linux ALSA driver)
(switched categorization)
 
(20 intermediate revisions by 14 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.
  
=== Linux OSS driver ===
+
{{ 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 ALSA driver ===
+
* If you have problems recording audio, try selecting "Front Mic" as the capture device.
This chip works with '''snd-hda-intel''' driver. Possible cracking noises can be avoided by adding the
+
{{ NOTE | There have been reported problems using arecord while debugging, it's recommended to instead use Audacity. }}
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.
 
* As of kernel 2.6.17, some users report a missing master volume control (e.g., with the T60p), as described in this thread: http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg17089.html The "Front" channel, which controls the external speakers, can act as a master, but must be unmuted for headphones to work. However, with the "Front" volume all the way down, the headphones will be very quiet, and audible sound may still emerge from the speakers.
 
  
 +
* 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.
  
{{ NOTE | The modem and audio chip are very closely connected somehow. According to a bug in the BIOS,
+
* external / internal microphone does not work for me. see
the modem disables the audio device, too. That seems to be the reason for most sound problem with this chip.}}
+
  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)
  
Oddly enough, in Fedora Core 5 on an x60s, the recording function seems to work fine (if you select the "Front Mic" as the capture device in alsamixer) in both Audacity and skype, while not working in ALSA's own arecord! Users are advised to try audacity before concluding that recording is not functioning correctly.
+
{{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 ===
+
== 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:Audio Devices]]

Latest revision as of 14:26, 15 November 2020

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