1 Documentation for the AD1816(A) sound driver
2 ============================================
4 NOTE: This driver is still EXPERIMENTAL, so don't use it on production
11 To get your AD1816(A) based sound card work, you'll have to enable
12 module support ("Enable loadable module support") and support for
13 experimental code ("Prompt for development and/or incomplete
14 code/drivers") during kernel configuration. Enable "Sound card
15 support", "OSS modules support" and "Support for AD1816(A) based cards
16 (EXPERIMENTAL)" in the sound configuration menu, too. Be sure, that
17 you build "Support for AD1816(A) based cards (EXPERIMENTAL)" as a MODULE,
18 otherwise you may run into problems later.
19 Now build, install and reboot the new kernel as usual.
21 Since the AD1816(A) is a P'n'P sound chip you'll usually have to
22 configure it using the isapnptools. See isapnptools documentation for
23 details on configuring P'n'P cards.
25 After you have successfully configured the card using isapnp, you may
26 load the AD1816 driver using modprobe. A typical modprobe call should
29 modprobe ad1816 io=0x530 irq=5 dma=1 dma2=3 ad1816_clockfreq=33000
31 if your isapnp.conf file looks like this (relevant lines only):
33 (INT 0 (IRQ 5 (MODE +E)))
40 NOTE: Be sure, that you use the address IO 2 (in our example 0x530) when
43 If your setup was correct, you should see the following messages in
44 /var/log/messages (numbers may be different):
46 Nov 6 17:07:26 tek01 kernel: ad1816_detect(530)
47 Nov 6 17:07:26 tek01 kernel: ad1816_detect() - Detected OK
48 Nov 6 17:07:26 tek01 kernel: AD1816 Version: 3
54 List of features supported by this driver:
56 - supported audio formats: unsigned 8bit, signed 16bit little endian,
57 signed 16bit big endian, ยต-law, A-law
58 - supported channels: mono and stereo
59 - supported recording sources: Master, CD, Line, Line1, Line2, Mic
60 - supports phat 3d stereo circuit (Line 3)
66 The following cards are known to work with this driver:
72 - Highscreen Sound-Boostar 32 Wave 3D
73 - Highscreen Sound-Boostar 16
79 Cards listed in brackets are not supported reliable. If you have such a card
80 you should add the extra parameter:
82 when loading the ad1816 module via modprobe.
88 First of all you should check, if the driver has been loaded
89 properly. If you get the following message in your /var/log/messages:
91 Nov 6 17:06:31 tek01 kernel: ad1816_detect(530)
92 Nov 6 17:06:31 tek01 kernel: Chip is not an AD1816 or chip is not active
94 you either used the wrong address for loading the driver, your chip is
95 not an AD1816 or you forgot to initialize the card with isapnp.
97 If loading of the driver succeeds, but playback/capture fails, check
98 if you used the correct values for irq, dma and dma2 when loading the module.
99 If one of them is wrong you usually get the following error message:
101 Nov 6 17:06:13 tek01 kernel: Sound: DMA (output) timed out - IRQ/DRQ config error?
103 If playback/capture is too fast or to slow, you should have a look at
104 the clock chip of your sound card. The AD1816 was designed for a 33MHz
105 oscillator, however most sound card manufacturer use slightly
106 different oscillators as they are cheaper than 33MHz oscillators. If
107 you have such a card you have to adjust the ad1816_clockfreq parameter
108 above. For example: For a card using a 32.875MHz oscillator use
109 ad1816_clockfreq=32875 instead of ad1816_clockfreq=33000.
112 Updates, bugfixes and bugreports:
113 --------------------------------
115 As the driver is still experimental and under development, you should
116 watch out for updates. Updates of the driver are available on the
117 Internet from one of my home pages:
118 http://www.student.informatik.tu-darmstadt.de/~tek/projects/linux.html
120 http://www.tu-darmstadt.de/~tek01/projects/linux.html
122 Bugreports, bugfixes and related questions should be sent via E-Mail to:
123 tek@rbg.informatik.tu-darmstadt.de
126 Thorsten Knabe <tek@rbg.informatik.tu-darmstadt.de>
127 Last modified: 1999/05/02