Andrzej Popielewicz Phd

Dean Office
Department of Social Sciences , UAM

Download| Contact



CV

Interests

projects

CompactFlash+IDE

x3270

Other media projects


Driver for AC97 audio



23.5.2013

Finally AC97 driver works . Uff. It took a long time . Some kind of nightmare and magic. Just today I have „discovered” how to set buffers correctly .

Features supported

  • memory mapped registers

  • playing via write system call

  • OSS compatible ioctl calls

  • 2/4/6 channels

  • spdif support will be added

Audio chips tested

  • AD1981B , built in ICH5 controller

Audio chips supported

  • AD1981B, 2 channels

  • AD1888 , 2/4/6 channels (surround etc)

  • support for other ADI AC97 chips will be added

  • generally ICH4/5/6/7 AC97 should work out of the box

Audio formats tested

  • wav, 16 bits, 44.1 KHZ, using simple home made wave player

  • mp3 , madplay

Output devices tested

  • standard stereo PC 2+1 speakers

  • headphones 32 Ohm SBC HP1000

  • standard stereo PC headphones

TODO

  • recording

  • ...

Status : alpha, stable, 1.6.2013



Literature

  • AC97 codec manual

  • AD1981b datasheet

  • ICH5 IO controller datasheets

  • ...