opl3sa2 sound driver and mixers
I have a toshiba portege 3020ct and a libretto 50ct with a opl3sa2 sound chips. The modules load ok and sound works, but an extra mixer seems to always load. I always suspected t was because of code sharing or somthing, but I thought I'd ask here to see if it was a bug or just a quirk of the driver. I don't have the notebook on hand right, now do these are from memory. When I load sound, several modules get loaded, opl3sa2 and AD18?? (can't remember the number off hand). What's strange is that 2 mixers seem to get loaded. The first is for a CS4??? (can't recall the exact numbers) and the second is for the opl3sa2. The problem is that most sound applications like gmix for example, seem to enumerate the CS4??? mixer (which does nothing) as the first mixer and the opl3sa2 mixer (which works) as the second mixer. Why is that? Is there a way to get rid of the CS4??? mixer or have it be enumerated as the second mixer device?
Just curious,
Alex
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
Quoted 7 lines
sound works, but an extra mixer seems to always load. I always suspected t was because of code sharing or somthing, but I thought I'd ask here to see if it was a bug or just a quirk of the driver. I don't have the notebook on hand right, now do these are from memory. When I load sound, several modules get loaded, opl3sa2 and AD18?? (can't remember the number off hand).
AD1848 - this is correct. The opl3sa2 is an AD1848 compatible device and an MPU401 compatible device (and some other oddments).
Quoted 2 lines
What's strange is that 2 mixers seem to get loaded. The first is for a CS4??? (can't recall the exact
CS4232 - that mixer shouldnt be getting created. That is a bug. I'll take a look at it
BTW, this is with kernel 2.4.9, but it has been happening with every 2.4 kernel I've tried on these notebooks. I haven't tried 2.2 kernels in so long I can't remember if they acted the same or not.
Alex
Quoted 19 lines · --- Alan Cox
Quoted 1 line
sound works, but an extra mixer seems to always
load.
Quoted 1 line
I always suspected t was because of code sharing
or
Quoted 1 line
somthing, but I thought I'd ask here to see if it
was
Quoted 1 line
a bug or just a quirk of the driver. I don't have
the
Quoted 1 line
notebook on hand right, now do these are from
memory.
Quoted 1 line
When I load sound, several modules get loaded,
opl3sa2
Quoted 1 line
and AD18?? (can't remember the number off hand).
AD1848 - this is correct. The opl3sa2 is an AD1848 compatible device
and an MPU401 compatible device (and some other oddments).
Quoted 7 lines
Quoted 1 line
What's strange is that 2 mixers seem to get
loaded.
Quoted 1 line
The first is for a CS4??? (can't recall the exact
CS4232 - that mixer shouldnt be getting created.
That is a bug. I'll take
a look at it
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
Quoted 5 lines · Alan Cox
Quoted 2 lines
What's strange is that 2 mixers seem to get loaded. The first is for a CS4??? (can't recall the exact
CS4232 - that mixer shouldnt be getting created. That is a bug. I'll take a look at it
Please read Documentation/sound/OPL3-SA2 (the two mixers are intentional, some channels are available only on the MSS mixer, others only on the OPL3-SA2), and don't break the driver! Since the latest DMA fix finally everything works fine on my Portege 3010 (which is exactly the same as the 3020 except for a slower CPU and smaller disk).
--
Dani
...and Linux for all.
Quoted 5 lines
Please read
Documentation/sound/OPL3-SA2(the two mixers are intentional, some channels are available only on the MSS mixer, others only on the OPL3-SA2), and don't break the driver! Since the latest DMA fix finally everything works fine on my Portege 3010 (which is exactly the same as the 3020 except for a slower CPU and smaller disk).
Thanks for warning me and saving me the effort of decoding it all
Quoted 7 lines · Alan Cox
Quoted 5 lines
Please read
Documentation/sound/OPL3-SA2(the two mixers are intentional, some channels are available only on the MSS mixer, others only on the OPL3-SA2), and don't break the driver! Since the latest DMA fix finally everything works fine on my Portege 3010 (which is exactly the same as the 3020 except for a slower CPU and smaller disk).Thanks for warning me and saving me the effort of decoding it all
I've found myself too busy at work over the last while to really look into any issues with this driver. Anyone keen on taking over as maintainer?
Scott
Signature · 4 lines
Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: [email protected]
Quoted 9 lines · Scott Murray
Quoted 6 lines · Alan Cox
Quoted 5 lines
Please read
Documentation/sound/OPL3-SA2(the two mixers are intentional, some channels are available only on the MSS mixer, others only on the OPL3-SA2), and don't break the driver! Since the latest DMA fix finally everything works fine on my Portege 3010 (which is exactly the same as the 3020 except for a slower CPU and smaller disk).
Quoted 5 lines
Quoted 1 line
Thanks for warning me and saving me the effort of decoding it all
I've found myself too busy at work over the last while to really look into any issues with this driver. Anyone keen on taking over as maintainer?
Some times ago I wanted to change the mixer part and get back to the "original" one, with a single mixer ... but as it was intentional, I left it like this.
However I think it would be a good thing to present, to the user, a single mixer. You have 1 or more soundcards and each soundcard have a single mixer that control all the volume available with this card, no ?
If Alan has not yet released a patch that changes this ... I could try to put all the controls back together ... and it will be the occasion to learn a little bit more of that "mighty and scaring kernel" :)
--
Quoted 11 lines · Jerome AUGE
Quoted 2 lines · Scott Murray
I've found myself too busy at work over the last while to really look into any issues with this driver. Anyone keen on taking over as maintainer?
Some times ago I wanted to change the mixer part and get back to the "original" one, with a single mixer ... but as it was intentional, I left it like this.
However I think it would be a good thing to present, to the user, a single mixer. You have 1 or more soundcards and each soundcard have a single mixer that control all the volume available with this card, no ?
I gave up on the idea because it seemed dumb to me to basically duplicate the MSS mixer handling that's already implemented in ad1848.c, but feel free to change it. The mixer code from opl3sa2.c in the 2.2 kernels is probably a good place to start. Remember that you have to worry about extra mixer channels on the SA3 versus the SA2.
Quoted 3 lines
If Alan has not yet released a patch that changes this ... I could try to put all the controls back together ... and it will be the occasion to learn a little bit more of that "mighty and scaring kernel" :)
Give it a shot.
Scott
Signature · 4 lines
Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: [email protected]
Quoted 3 lines · Alex Deucher
I have a toshiba portege 3020ct and a libretto 50ct with a opl3sa2 sound chips. The modules load ok and sound works, but an extra mixer seems to always load.
Yeah, I see this too, "MS Sound System (CS4231)". Toshiba Tecra
8000. 2.4.10-ac10. I will say that this is still an improvement over the "opl3sa2 doesn't work in 2.4" bit.
Joel
Signature · 7 lines
Life's Little Instruction Book #94 "Make it a habit to do nice things for people who will never find out." http://www.jlbec.org/ [email protected]