konfigurace ESS1868
Petr Mosnicka
Petr.Mosnicka na EUnet.cz
Čtvrtek Říjen 16 17:19:32 CEST 1997
Miroslav Dvorak wrote:
> Zdravim,
> ma nekdo zkusenosti se %subj? mne se to zatim moc nedari, i kdyz mam
> nainstalovane isapnp v jadre,
> diky za kazdou pomoc
> m.dvorak
Nevim sice jestli mam 1688 nebo 1868, ale treba nasledujici (long) info k necemu bude.
Kazdopadne mi to zvuci bezproblemove.
bash$ cat /dev/sndstat
Sound Driver:3.5.4-960630 (Thu Feb 20 10:21:29 MET 1997 root,
Linux ni.EUnet.cz 2.0.29 #1 Fri Feb 7 17:55:21 MET 1997 i586)
Kernel: Linux ni.EUnet.cz 2.0.29 #1 Mon Mar 3 17:10:30 MET 1997 i586
Config options: 0
Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Card config:
Sound Blaster at 0x220 irq 7 drq 1,5
(OPL-2/OPL-3 FM at 0x388 drq 0)
Audio devices:
0: ESS ES1688 AudioDrive (rev 11)
Synth devices:
Midi devices: NOT ENABLED IN CONFIG
Timers:
0: System clock
Mixers:
0: Sound Blaster
v /etc/rc.d/rc.local (Redhat 4.2) mam na konci toto:
/sbin/isapnp /etc/isapnp.conf
/sbin/insmod sound
--Verze isapnptools:
bash$ rpm -qf /sbin/isapnp
isapnptools-1.8-1
--Cast konfigurace kernelu:
bash$ cat /usr/src/linux/.config
...
#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
# CONFIG_SB is not set
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_UART6850 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
CONFIG_CS4232=y
# CONFIG_MAUI is not set
CONFIG_AUDIO=y
# CONFIG_MIDI is not set
CONFIG_YM3812=y
CS4232_BASE=530
CS4232_IRQ=7
CS4232_DMA=1
CS4232_DMA2=3
CS4232_MPU_BASE=330
CS4232_MPU_IRQ=9
DSP_BUFFSIZE=65536
# CONFIG_LOWLEVEL_SOUND is not set
#
# Kernel hacking
#
...
bash$ cat /etc/isapnp.conf
# Trying port address 0203
# Board 1 has serial identifier 27 ff ff ff ff 68 18 73 16
# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 27 ff ff ff ff 68 18 73 16)
# ESS1868 Serial No -1 [checksum 27]
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS ES1868 Plug and Play AudioDrive<--
#
# Logical device id ESS0000
#
# 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 ESS1868/-1 (LD 0
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ff8
# IO base alignment 8 bytes
# Number of IO addresses required: 8
# (IO 0 (BASE 0x0800))
# (ACT Y)
))
#
# Logical device id ESS1868
#
# 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 ESS1868/-1 (LD 1
# Multiple choice time, choose one only !
# Start dependent functions: priority preferred
# First DMA channel 1.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
# Next DMA channel 0 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Fixed IO base address 0x0220
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Fixed IO base address 0x0388
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Fixed IO base address 0x0330
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0330))
# Start dependent functions: priority acceptable
# First DMA channel 1.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
(DMA 0 (CHANNEL 1))
# Next DMA channel 0 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9 or 10.
# High true, edge sensitive interrupt (by default)
(INT 0 (IRQ 7 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0240
# IO base alignment 32 bytes
# Number of IO addresses required: 16
(IO 0 (BASE 0x0220))
# Fixed IO base address 0x0388
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0300
# Maximum IO base address 0x0330
# IO base alignment 48 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0300))
# Start dependent functions: priority acceptable
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Fixed IO base address 0x0388
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0300
# Maximum IO base address 0x0330
# IO base alignment 48 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0300))
# Start dependent functions: priority acceptable
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Fixed IO base address 0x0388
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0388))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffe
# IO base alignment 2 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0800))
# Start dependent functions: priority functional
# First DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 0))
# Next DMA channel 0, 1 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 0))
# IRQ 5, 7, 9, 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0220
# Maximum IO base address 0x0280
# IO base alignment 32 bytes
# Number of IO addresses required: 16
# (IO 0 (BASE 0x0220))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffc
# IO base alignment 4 bytes
# Number of IO addresses required: 4
# (IO 1 (BASE 0x0800))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ffe
# IO base alignment 2 bytes
# Number of IO addresses required: 2
# (IO 2 (BASE 0x0800))
# End dependent functions
(ACT Y)
))
#
# Logical device id ESS0001
#
# 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 ESS1868/-1 (LD 2
# Multiple choice time, choose one only !
# Start dependent functions: priority preferred
# Fixed IO base address 0x0201
# Number of IO addresses required: 1
# (IO 0 (BASE 0x0201))
# Start dependent functions: priority acceptable
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0200
# Maximum IO base address 0x020f
# IO base alignment 1 bytes
# Number of IO addresses required: 1
# (IO 0 (BASE 0x0200))
# End dependent functions
# Compatible device id PNPb02f
# (ACT Y)
))
#
# Logical device id ESS0002
#
# 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 ESS1868/-1 (LD 3
# Multiple choice time, choose one only !
# Start dependent functions: priority preferred
# IRQ 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 12 (MODE +E)))
# Fixed IO base address 0x0168
# Number of IO addresses required: 8
# (IO 0 (BASE 0x0168))
# Fixed IO base address 0x036e
# Number of IO addresses required: 2
# (IO 1 (BASE 0x036e))
# Start dependent functions: priority acceptable
# IRQ 10 or 11.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 10 (MODE +E)))
# Fixed IO base address 0x0168
# Number of IO addresses required: 8
# (IO 0 (BASE 0x0168))
# Fixed IO base address 0x036e
# Number of IO addresses required: 2
# (IO 1 (BASE 0x036e))
# Start dependent functions: priority acceptable
# IRQ 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 10 (MODE +E)))
# Fixed IO base address 0x01e8
# Number of IO addresses required: 8
# (IO 0 (BASE 0x01e8))
# Fixed IO base address 0x03ee
# Number of IO addresses required: 2
# (IO 1 (BASE 0x03ee))
# Start dependent functions: priority functional
# IRQ 10, 11 or 12.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 10 (MODE +E)))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0100
# Maximum IO base address 0x01f8
# IO base alignment 8 bytes
# Number of IO addresses required: 8
# (IO 0 (BASE 0x0100))
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0300
# Maximum IO base address 0x03fe
# IO base alignment 2 bytes
# Number of IO addresses required: 2
# (IO 1 (BASE 0x0300))
# End dependent functions
# Compatible device id PNP0600
(ACT Y)))
# End tag... Checksum 0x00 (OK)
--
====== ___ == Petr Mosnicka, Projects Development
===== / / / ___ ____ _/_ === Internet CZ, Zirovnicka 6
==== /--- / / / / /___/ / ==== 10600 Prague 10, Czech Republic
=== /___ /___/ / / /___ /_ ===== http://home.eunet.cz/moshna
== ====== Tel: +420 2 24245624
Další informace o konferenci Linux