[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with sound modules?



On Fri, Oct 29, 1999 at 12:25:14PM +0800, Nazareth Shu wrote:
> 	This is my stiuration: Toshiba Satellite 2520CDT, with Yamaha
> 	OPL3 SAx sound chips which is compatiable with Microsoft Sound
> 	System or Creative Sound Blaster(The user menual said so...).

I have working sound with Satellite 2540CDS, with the same sound chip,
so I hope this help.

> 	And here is my Debian: Debian 2.1 whith 2.2.10 kernel, I put
> 	the last part of "make menuconfig"/"sound" for 2.2.10 kernel
> 	in the end of this mail.

Here is my sound config for linux 2.2.13:

#
# Sound
#
CONFIG_SOUND=y
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_SB is not set
CONFIG_SOUND_ADLIB=m
# CONFIG_SOUND_GUS is not set
CONFIG_SOUND_MPU401=m
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_CS4232 is not set
CONFIG_SOUND_OPL3SA2=m
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_SOFTOSS is not set
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_VMIDI=m
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_NM256 is not set

Anyway, take a look at Documentation/sound/OPL3-SA2 in the linux kernel
sources.

> 	What I have done is: After complied my new kernel, I modified
> 	the conf.modules with the value that came from Windows, I put
> 	it at the edn of conf.modules file, here is the file(part of):

Don't do that; this may work, but I think you will lost these changes
the next time you install a new package that change the modutils config.
Instead of this, put a new file ("sound", for example) in /etc/modutils;
here is mine:

------- BOF
# Sound
alias char-major-14 opl3sa2
pre-install opl3sa2 modprobe "-k" "mpu401"
pre-install opl3sa2 modprobe "-k" "ad1848"
post-install opl3sa2 modprobe "-k" "opl3"
pre-remove opl3sa2 modprobe "-r" "opl3"
options opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=9 dma=1 dma2=0
options opl3 io=0x388
------- EOF

And then run "update-modules"; this make a new /etc/conf.modules,
including your "sound" file.

Double-check your BIOS settings; I'm using the default values except for
irq (9 is more convenient for me).

Cheers,
-- 
David


Reply to: