From: Erhard Rank MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14758.19565.609674.126146@cougar.nt.tuwien.ac.at> Date: Fri, 25 Aug 2000 12:37:33 +0200 (CEST) To: Niccolo Rigacci Subject: Re: Recording with OPL3-SAx soundcard In-Reply-To: <39523CEC.E606D25A@iname.com> References: <14670.20993.937506.77088@cougar.nt.tuwien.ac.at> <39523CEC.E606D25A@iname.com> X-Mailer: VM 6.71 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) Status: RO X-Status: X-Mozilla-Status: 8011 X-Mozilla-Status2: 00000000 X-UIDL: c53a7028333ae0a1e1a70a12a9c90621 Niccolo Rigacci writes: > Erhard Rank wrote: > > > > Hallo Niccolo, > > > > concerning your Linux on Notebooks page: have you found a solution for > > the recording problem? I have a similar problem with my Toshiba > > Satellite 2540 CDT, which also has a OPL3-SAx card: when recording, > > you get some signal, but it is completely covered with noise - as if > > some bits were swapped. > > Unfortunately no. The problem seems exactly the one I have. If > you have some news, please let me know! Hallo, I found, that on my notebook recording works with the ALSA driver: http://www.alsa-project.org/ (at least until I do a suspend-resume, then it's the same as with the OSS-free drivers). The ALSA driver seems to provide an emulation of the OSS driver, so all applications using OSS should work. You have to configure all parameters for the soundcard by hand, here is my /etc/conf.modules file: *** /etc/conf.modules # parallel port alias parport_lowlevel parport_pc options parport_pc io=0x378 irq=7 pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start # for automatic loading sound and midi modules from rc.sysinit #alias sound snd #alias midi off #alias sound opl3sa2 #alias midi opl3 # original OSS/free configuration #pre-install sound /sbin/insmod sound dmabuf=1 options opl3 io=0x388 options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370 # OSS/free alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss # ALSA alias char-major-116 snd options snd snd_major=116 snd_cards_limit=1 alias snd-card-0 snd-card-opl3sa2 options snd-card-opl3sa2 snd_port=0x370 snd_sb_port=0x220 snd_wss_port=0x530 \ snd_midi_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_dma1=1 snd_dma1_size=64 \ snd_dma2=0 snd_dma2_size=64 snd_isapnp=0 *** I also use the `alsasound' script in the utils directory for starting the driver and recovering the mixer settings via VSysinit. I had to install also the alsa-utils package for that. And I found, that I had to start the sounddriver before the pcmcia driver, or else the pcmcia driver grabs the soundcard interrupt, so I changed the startlevel for alsasound to 06: *** in /etc/rc.d/init.d/alsasound # For RedHat 5.0+: # chkconfig: 2345 06 14 # description: ALSA driver *** Good luck, Erhard