
ԭʼļLinux Soundblaster 16 PnP Mini-Howto
 Linux 趨 Soundblaster 16 PnP Ч
ڣ1997/11/20
ά[1]cwhuang@phys.ntu.edu.tw
-------------------------------------------------------------------------------
---------------
Linux Soundblaster 16 PnP Mini-Howto
by Eric Z. Ayers <[2]Eric.Ayers@compgen.com>
v1.0, 14 January 1997

ܸ˵أҵ̫̫һոµЧΪҵأ
Soundblaster 16 PnP Чܾ Linux ¹ʵϣҵ 3com
3c509 ·Ҳ Linux 

ᣬ渽Ķ Linux Чʽ
[3]ftp://ftp.redhat.com/pub/utils/isapnptools-1.8.tgz ȡõ
isapnp ׼ЭҵӲˣ

ұҪԱЧܹһҲ
֪Чͨ IRQ 벺(IO ports)λַ isapnp
׼ڶ 3c509 ̫·ƺȥı
ϵ趨Linux ĺĶû취ϳ̫·Ϊһ
Чϵװú 3c509 ʽ壮


1) װ isapnp ׼༭ /etc/isapnp.conf ʹЧ IRQ 
   벺λַκװ壮

2) ؽ Linux ģЧ֧Ԯһģ飬 IRQ, 뼰
   DMA λַ isapnp.conf õģͬʱҲ 3c509 һģ
   (ڱ뼰װĺ֮᲻Ҫִ make modules  make
   modules_install)

3) ޸ϵͳ壮

ܵ Slackware ׼İ汾 2.0.23·趨֮ǰ
ִ isapnp ʽ ( /etc/rc.d/rc.M  hostname 趨֮):


# EZA
# 趨弴װ
/sbin/isapnp /etc/isapnp.conf


Ȼᣬ /etc/rc.d/rc.inet1 ĵһ·ʽ


# EZA
# ·ģ
/sbin/insmod 3c509

Һʱ̬̫·޷ľѶϢΪû
Ӱ죮ᣬ /etc/rc.d/rc.local ҲЧʽģ:


/sbin/insmod sound


 Linux 弴װõѶ
[4]http://www.redhat.com/linux-info/pnp/ ҵڿֵ
Real-Audio player ·ҵĹŵ CD ֣

Eric Ayers
eric.ayers@compgen.com

---------------------------------------------------------------------------
зҵ isapnp.conf Ŀ󲿷ݵעⶼȥ

# Trying port address 0203
# Board 1 has serial identifier 67 00 00 40 17 2b 00 8c 0e

# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 67 00 00 40 17 2b 00 8c 0e)
# CTL002b Serial No 16407 [checksum 67]
# Version 1.0, Vendor version 2.0
# ANSI string -->Creative SB16 PnP<--
#
# Logical device id CTL0031
#
# 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 CTL002b/16407 (LD 0
#     ANSI string -->Audio<--

# Multiple choice time, choose one only !

#     Start dependent functions: priority preferred
#       IRQ 5.
#             High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0330))
(IO 2 (BASE 0x0388))
(ACT Y)
))

(CONFIGURE CTL002b/16407 (LD 1
(INT 0 (IRQ 11 (MODE +E)))
(IO 0 (BASE 0x01e8))
(IO 1 (BASE 0x03ee))
 (ACT Y)
))


(CONFIGURE CTL002b/16407 (LD 2
#     ANSI string -->StereoEnhance<--
#     Logical device decodes 16 bit IO address lines
#         Minimum IO base address 0x0100
#         Maximum IO base address 0x0138
#         IO base alignment 8 bytes
#         Number of IO addresses required: 1
#(IO 0 (BASE 0x0100))
#(ACT Y)
))


(CONFIGURE CTL002b/16407 (LD 3
(IO 0 (BASE 0x0200))
(ACT Y)))

References

   1. mailto:cwhuang@phys.ntu.edu.tw
   2. mailto:Eric.Ayers@compgen.com
   3. ftp://ftp.redhat.com/pub/utils/isapnptools-1.8.tgz
   4. http://www.redhat.com/linux-info/pnp/
