Re: Newbie to compile opl3 driver

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

 



 From what  
http://www.alsa-project.org/main/index.php/Matrix:Module-opl3-sa2 and you  
said, these modules might be important:

$ sudo modinfo soundcore
filename:        
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/soundcore.ko
alias:          char-major-14-*
license:        GPL
author:         Alan Cox
description:    Core sound module
srcversion:     8ABC5ACBDA218CE05EAE01E
depends:
intree:         Y
vermagic:       3.7.10-antix.5-486-smp SMP mod_unload modversions 486
parm:           preclaim_oss:int

$ sudo modinfo opl3
filename:        
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/oss/opl3.ko
license:        GPL
srcversion:     3B7C182C9214810EEE22CD2
depends:        sound
intree:         Y
vermagic:       3.7.10-antix.5-486-smp SMP mod_unload modversions 486
parm:           io:int

$ sudo modinfo snd-opl3-lib
filename:        
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/drivers/opl3/snd-opl3-lib.ko
license:        GPL
description:    Routines for control of AdLib FM cards (OPL2/OPL3/OPL4  
chips)
author:         Jaroslav Kysela <perex@xxxxxxxx>, Hannu Savolainen  
1993-1996, Rob Hooft
srcversion:     9FE35009FCFD4AE4EBDCD76
depends:        snd,snd-timer,snd-hwdep,snd-seq-device
intree:         Y
vermagic:       3.7.10-antix.5-486-smp SMP mod_unload modversions 486

$ sudo modinfo snd-opl3-synth
filename:        
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/drivers/opl3/snd-opl3-synth.ko
description:    ALSA driver for OPL3 FM synth
license:        GPL
author:         Uros Bizjak <uros@xxxxxxxxxxx>
srcversion:     CA6A544D4F264D483200900
depends:        snd-seq-midi-emul,snd,snd-opl3-lib,snd-seq,snd-seq-device
intree:         Y
vermagic:       3.7.10-antix.5-486-smp SMP mod_unload modversions 486
parm:           use_internal_drums:Enable internal OPL2/3 drums. (bool)

Since "$ modinfo" finds them but "$ lsmod" doesn't, I guess these modules  
are available on my system, but not loaded at boot.
Is that correct?

As the link suggests, I try loading the modules:
"$ modprobe opl3 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ;  
modprobe snd-seq-oss"
now "$ lsmod" lists them plus some dependencies.

"$ alsamixer" reports an error:
Fehler beim Öffen des Mixer-Gerätes: Datei oder Verzeichnis nicht gefunden

Loading snd-opl3-lib and snd-opl3-synth still doesn't help starting  
alsamixer.

$ lsmod
Module                  Size  Used by
snd_opl3_synth          8039  0
snd_seq_midi_emul       3396  1 snd_opl3_synth
snd_opl3_lib            5930  1 snd_opl3_synth
snd_hwdep               4064  1 snd_opl3_lib
opl3                    8879  0
sound                  49228  1 opl3
snd_seq_dummy            992  0
snd_seq_oss            20893  0
snd_seq_midi_event      3645  1 snd_seq_oss
snd_pcm_oss            26709  0
snd_mixer_oss          10327  1 snd_pcm_oss
snd_pcm                50454  1 snd_pcm_oss
snd_page_alloc          5015  1 snd_pcm
snd_seq                34663  7  
snd_opl3_synth,snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi_emul
snd_seq_device          3890  5  
snd_seq,snd_opl3_synth,snd_seq_oss,snd_seq_dummy,snd_opl3_lib
snd_timer              12034  3 snd_pcm,snd_seq,snd_opl3_lib
snd                    36700  11  
snd_pcm_oss,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_opl3_synth,snd_seq_oss,snd_seq_device,snd_mixer_oss,snd_seq_dummy,snd_opl3_lib
soundcore               3447  2 snd,sound
plus things already loaded before


On Mon, 03 Nov 2014 03:41:11 +0100, Robert M. Riches Jr.  
<rm.riches@xxxxxxxxxxxxxx> wrote:

> (second attempt, had forgotten to copy the list)
>
> The driver is a kernel module, not usually a package.  Try
>
>     modprobe snd-opl3sa2
>
> and/or
>
>     modprobe snd-opl3-lib
>
> and/or
>
>     modprobe snd-opl3-synth
>
> I don't have a kernel as recent as 3.7.10.  Debian Wheezy's
> kernel 3.2.0-4 has snd-opl3-{lib,synth} kernel modules.  An old
> remaster of TinyCore with kernel 3.0.3 has snd-opl3sa2,
> snd-opl3-lib and snd-opl3-synth.
>
> To see if kernel modules might differ with your kernel, do 'find
> lib/modules -name '*opl3*.ko*'.  If no luck there, check your
> kernel's config to see whether the OPL3 drivers were enabled.
>
> Regarding compiling from source, is there a file with a name
> similar to 'bootstrap'?  Sometimes that is a precursor to
> ./configure.  If there's an INSTALL or README* file, that often
> contains compilation instructions.
>
> HTH
>
> Robert
>
>
>> Date: Mon, 03 Nov 2014 03:19:19 +0100
>> To: "Advanced Linux Sound Architecture - User"
>>       <alsa-user@xxxxxxxxxxxxxxxxxxxxx>
>> From: "John Smith" <allesblossn@xxxxxx>
>>
>> Hello list,
>>
>> this Toshiba Tecra 8000 runs Antix Linux (Kernel 3.7.10-antix.5-486-smp
>> i686 (32 bit)) for a few days now. Neither does it produce any sound nor
>> does "inxi -F" mention any sound devices.
>> The laptop is equipped with a Yamaha Opl3-sa2 chip. It works nicely  
>> under
>> the Windows98SE that is now to be replaced by Antix.
>>
>> "apt-get install opl3-sa2" cannot find the requested package. So I  
>> followed
>> http://www.alsa-project.org/main/index.php/Matrix:Module-opl3-sa2 and
>> downloaded the sources of alsa-driver, alsa-lib, alsa-firmware and
>> alsa-utils. But I got stuck when calling "./configure
>> --with-cards=opl3-sa2 --with-sequencer=yes ; make ; make install"  
>> because
>> there is no executable "configure".
>> I got the sources again via git, checked out version 1.0.25 and still no
>> "./configure" script.
>>
>> What am I doing wrong?
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Alsa-user mailing list
>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
>> https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user





[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux