On Mon,Sukrit Mehta wrote:
> I have an Aztech sound card and I don't have windoze installed. The sndconfig
> utiltity doesn't detect it...
If your sound card is based on AD1816 chip, the following steps will solve the
problem:
1. Run pnpdump and capture the stdout to /etc/isapnp.conf. However check that
you do not overwrite if a this file already exists.
2. All the lines of the resulting files will be commented. Remove comments from
the lines which are as shown below (They decide the IRQ, DMA and IO etc).
Alternatively you can use the following lines and save them directly in
/etc/isapnp.conf.
------------------------cut here------------------------------------
# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
(CONFIGURE ADS7181/-1 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 3))
(IO 0 (SIZE 16) (BASE 0x0220))
(IO 1 (SIZE 4) (BASE 0x0388))
(IO 2 (SIZE 16) (BASE 0x0530))
(NAME "ADS7181/-1[0]{Analog Devices AD1816A}")
(ACT Y)
))
#
# Logical device id ADS7181
# Device support I/O range check register
# Device supports vendor reserved register @ 0x39
# Device supports vendor reserved register @ 0x3a
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE ADS7181/-1 (LD 1
(INT 0 (IRQ 9 (MODE +E)))
(IO 0 (SIZE 2) (BASE 0x0300))
(NAME "ADS7181/-1[1]{Analog Devices AD1816A}")
(ACT Y)
))
(CONFIGURE ADS7181/-1 (LD 2
(IO 0 (SIZE 8) (BASE 0x0200))
(NAME "ADS7181/-1[2]{Analog Devices AD1816A}")
(ACT Y)
))
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
------------------------------cut here-------------------------------------
3. Now add the following lines in your /etc/conf.modules. There should be no
other lines referring to sound or opl3 etc.
alias sound ad1816
pre-install sound insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options ad1816 io=0x530 irq=5 dma=1 dma2=3 ad1816_clockfreq=33000 options=1
4. Check in /etc/sysinit that the lines dealing with the initialisation of pnp
are not commented out. Most probably they will not be (eg RH 6.1)
5. Reboot
6. 'cat /proc/sound' should give you the status of the sound driver loaded in
the kernel after reboot.
7. Use X Window sound tools to check it out.
8. Enjoy.
9. If the IRQ and DMA does not work then try the other values in the pnpdump
file.
Hope this helps.
----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH