> asus p2b-ds motherboard
> 256 mb ram
> sound blaster awe 64
I've got both SB AWE 64 and GUS MAX in my P2B-DS.
Sound compiled as modules, working fine. On a similar
(P2B instead of P2B-DS) box with just SB AWE 64:
/etc/modules.conf:
alias char-major-14 sb
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
pre-install sb /sbin/isapnp /etc/isapnp.conf; /sbin/modprobe uart401; /sbin/modprobe
softoss2; /sbin/modprobe opl3; /sbin/modprobe awe_wave
/etc/isapnp.conf
(READPORT 0x020b)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
(CONFIGURE CTL00c5/521605018 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 1))
(DMA 1 (CHANNEL 5))
(IO 0 (SIZE 16) (BASE 0x0220))
(IO 1 (SIZE 2) (BASE 0x0330))
(IO 2 (SIZE 4) (BASE 0x0388))
(NAME "CTL00c5/521605018[0]{Audio }")
(ACT Y)
))
(CONFIGURE CTL00c5/521605018 (LD 1
(IO 0 (SIZE 8) (BASE 0x0200))
(NAME "CTL00c5/521605018[1]{Game }")
(ACT Y)
))
(CONFIGURE CTL00c5/521605018 (LD 2
(IO 0 (SIZE 4) (BASE 0x0620))
(IO 1 (SIZE 4) (BASE 0x0A20))
(IO 2 (SIZE 4) (BASE 0x0E20))
(NAME "CTL00c5/521605018[2]{WaveTable }")
(ACT Y)
))
(WAITFORKEY)
Most likely you should run isapnp just once from one of the startup
rc scripts; this would be more elegant and I guess it's The Right
Thing(tm) :-)
Use fairly recent isapnptools, so pnpdump would have option "-c":
-c, --config
attempt to determine safe settings to which the
devices can be set, and uncomment those settings in
the output. pnpdump will use the /proc filesystem,
the contents of the /etc/isapnp.gone file and the
lspci program to discover system resources that
have already been allocated if these facilities are
available on the system.
Note that this executes an external program 'lspci'
using popen, so care must be taken when invoking
with this option to prevent a root compromise.
(Note that 'lspci' is only suitable for kernels
later than 2.1.xxx).
Then you'd be able (given you've installed and edited /etc/isapnp.gone
prior to running pnpdump) to get a usable isapnp.conf file just by
running 'pnpdump -c | grep -v "^#" | grep -v "^$" > /etc/isapnp.conf'.
There's one small catch: you have to edit /etc/isapnp.conf manually
and add two following lines...
(IO 1 (SIZE 4) (BASE 0x0A20))
(IO 2 (SIZE 4) (BASE 0x0E20))
...to the last section (as can be seen in the file I've included).
--
Leszek.
-- [EMAIL PROTECTED] 2:480/33.7 - REAL programmers use INTEGERS -
-- speaking just for myself...
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]