Re: Newbie to compile opl3 driver

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

 





William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

On Wed, 5 Nov 2014, John Smith wrote:

On Tue, 04 Nov 2014 22:40:49 +0100, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:

In my kernel libraries I see
kernel/sound/isa/snd-opl3sa2.ko.xz
kernel/sound/drivers/opl3/snd-opl3-lib.ko.xz
kernel/sound/drivers/opl3/snd-opl3-synth.ko.xz
kernel/sound/drivers/opl4/snd-opl4-lib.ko.xz
kernel/sound/drivers/opl4/snd-opl4-synth.ko.xz

but no snd-opl3-sa2
Are you sure you have the name right?

No, I'm absolutely not sure to have the name right. That whole OS still riddles me.
Your kernel liraries inspired me to look after mine:

$ find /lib/modules/3.7.10-antix.5-486-smp/kernel/ | grep isa
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/isa
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/isa/sb
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/isa/sb/snd-sb16-dsp.ko
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/isa/sb/snd-sb-common.ko

$ find /lib/modules/3.7.10-antix.5-486-smp/kernel/ | grep opl
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/drivers/opl3
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/drivers/opl3/snd-opl3-lib.ko
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/drivers/opl3/snd-opl3-synth.ko
/lib/modules/3.7.10-antix.5-486-smp/kernel/sound/oss/opl3.ko

What does that tell us when trying to get the laptop's sound to work?

It looks to me like your distribution does not include the isa/snd-opl3sa2
module in its compilation. Whetther or not it would help you to get your
soundcard working I do not know, Try
grep SND_OPL3SA2 /boot/config
and see if there is any entry for that. I suspect there will not be. This
would mean you either have to compile that modules on your own for your
distribution or recompile the whole kernel with that module included.
It could be compiled directly into the kernel (CONFIG_SND_OPL3SA2=y) but I
doubt it. More likely it is not there at all or you have
CONFIG_SND_OPL3SA2=n

I am afraid that I am not the right person to ask how to recompile your kernel
or that module.


the sound/isa/ part reminds me of a Creative Labs Soundblaster 16. IIRC the Yamaha opl chip can emulate a Soundblaster. Does that help?


On Tue, 4 Nov 2014, John Smith wrote:


On Tue, 04 Nov 2014 08:44:17 +0100, Clemens Ladisch
<cladisch@xxxxxxxxxxxxxx> wrote:

John Smith wrote:
With "outdated", you mean everything in the link
http://www.alsa-project.org/main/index.php/Matrix:Module-opl3-sa2 ?
Or something specific?

Only what it says about alsa-driver.

But I still have to "$ ./configure" alsa-lib, alsa-utils and
alsa-firmware. Right?


What is still relevant to get my laptop to play/record mp3 files?

The snd-opl3-sa2 module.

I don't have such a module available:
$ modinfo snd-opl3-sa2
ERROR: Module snd-opl3-sa2 not found.

$ apt-get install snd-opl3-sa2
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket snd-opl3-sa2 kann nicht gefunden werden.

Does all that "$ ./configure" stuff create the snd-opl3-sa2 module?

What is the module "opl3" for?

$ 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

------------------------------------------------------------------------------
_______________________________________________
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