Difference between revisions of "AD1981B"

From ThinkWiki
Jump to: navigation, search
(Linux ALSA driver)
(Note)
Line 25: Line 25:
 
==== Note ====
 
==== Note ====
 
On some models ({{T40}}, {{T43p}}, ...) audio is muted if either Headphone or Line Jack are unmuted. See also ALSA Wiki FAQ [http://alsa.opensrc.org/FAQ004]
 
On some models ({{T40}}, {{T43p}}, ...) audio is muted if either Headphone or Line Jack are unmuted. See also ALSA Wiki FAQ [http://alsa.opensrc.org/FAQ004]
 +
 +
 +
If You have problems with mixing, You may need to try this:
 +
 +
$ cat ~/.asoundrc
 +
pcm.ossmix {
 +
    type dmix
 +
    ipc_key 1024
 +
    slave {
 +
        pcm "hw:0,0"
 +
        period_time 0
 +
        period_size 1024
 +
        buffer_size 8192        # buffer size < 6653, but pow(x, 2)
 +
        rate 48000              # we want to play CDs only
 +
 +
    }
 +
 +
    bindings {
 +
        0 0
 +
        1 1
 +
    }
 +
}
 +
 +
# Everything shall be dmixed, so redefine "default":
 +
pcm.!default {
 +
    type plug
 +
        slave.pcm "ossmix"
 +
        }
 +
 +
        # OSS via aoss should d(mix)stroyed:
 +
        pcm.dsp0 {
 +
            type plug
 +
                slave.pcm "ossmix"
 +
                }
 +
 +
                ctl.mixer0 {
 +
                    type hw
 +
                        card 0
 +
                        }
  
 
=== FreeBSD OSS driver ===
 
=== FreeBSD OSS driver ===

Revision as of 14:19, 16 December 2005

AD1981B

This is a Analog Devices AC'97 Audio controller

Note: The documentation of the R40 incorrectly(?) states it has a AD1891A

Features

  • Chipset: AD1981B or AD1981HD
  • Interface: AC'97

Linux OSS driver

On systems where lspci shows an Intel AC'97 Audio Controller, this chip is supported by the i810_audio kernel module.

Linux ALSA driver

On systems where lspci shows an Intel AC'97 Audio Controller, this chip is supported by the snd-intel8x0 kernel module.

On systems where lspci shows an ATI AC'97 Audio Controller (R40e and R51e), this chip is supported by the snd-atiixp kernel module.

Note

On some models (T40, T43p, ...) audio is muted if either Headphone or Line Jack are unmuted. See also ALSA Wiki FAQ [1]


If You have problems with mixing, You may need to try this:

$ cat ~/.asoundrc pcm.ossmix {

   type dmix
   ipc_key 1024
   slave {
       pcm "hw:0,0"
       period_time 0
       period_size 1024
       buffer_size 8192        # buffer size < 6653, but pow(x, 2)
       rate 48000              # we want to play CDs only
   }
   bindings {
       0 0
       1 1
   }

}

  1. Everything shall be dmixed, so redefine "default":

pcm.!default {

   type plug
       slave.pcm "ossmix"
       }
       # OSS via aoss should d(mix)stroyed:
       pcm.dsp0 {
           type plug
               slave.pcm "ossmix"
               }
               ctl.mixer0 {
                   type hw
                       card 0
                       }

FreeBSD OSS driver

snd_ich will work happily for this audio chip.

ThinkPads this chip may be found in