Re: Crystal sound

From: Peter Schaffter (df191_at_ncf.ca.INVALID)
Date: 02/29/04


Date: Sat, 28 Feb 2004 23:39:04 -0600

On Sat, 28 Feb 2004 23:20:38 +0100, Martin Maat wrote:
> I have an IBM Aptiva with on-board sound from (what seems to be) Crystal
> Semiconductor and it doesn't work in Linux yet.

I have an IBM 300PL with a CS4232 that I had a helluva a time
getting to work. I wonder if your situation is similar to mine.
I'm just going to assume it is. It'll make writing comments
easier. If it's not, I guess you'll find out soon enough. Also, I
run a Debian box, so depending on your distro, you may have to
figure out alternative places for some things to go.

> It is probably on the ISA bus.

That's what I thought, too. Turns out mine was on the PCI bus.
Wasted days of time is isapnp tools.

> Then someone said I should try the ALSA stuff (some sound system interface
> layer for Linux).

Did that, too. Again, wasted days of time. My kernel was (is)
2.4.x, not 2.6.x (which, I understand, has alsa included; 2.4.x
didn't).

This is what worked for me.

Recompiled my kernel to include these modules

ad1848 Yamaha OPL3-SA1 audio controller
opl3 Yamaha FM synthesizer (YM3812/OPL-3) support
cs4232 Support for Crystal CS4232 based (PnP) cards
soundcore Sound card support
sound OSS sound modules
uart401 Yamaha OPL3-SA1 audio controller

Built the kernel, installed it, yada-yada...

Then, using modconf, I installed the modules, with the following
options given to modules that needed them:

cs4232
    io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9 synthio=0x330 synthirq=1

mpu401
    io=0x330 irq=9

opl3
    io=0x388

Lastly, I added these aliases to /etc/modules.conf

        alias char-major-14 cs4232
        alias sound-slot-0 cs4232
        alias synth0 opl3
        alias midi mpu401
        alias midi opl3

Don't know if this will work for you, but you can always give it a
try. Also, be aware that there's a bug in the cs4232 oss driver
that prevents your "master" volume from working. You have to
control the volume of each device (pcm, synth, cd) separately if
you're using some sort of mixer.

-- 
Peter Schaffter


Relevant Pages

  • Re: WARNING to potential LINUX users
    ... And I did not ask specificly for linux supported hardware, ... IDE CD-ROMS or DVD drives all ... > the sound events were turned on and the mixer showed volume was maximum ...
    (alt.os.linux.suse)
  • Re: WARNING to potential LINUX users
    ... > audio which is not supported by linux. ... >> The very first thing I noticed was that there was NO SOUND even though ... >>started over with SuSE. ... So much for installing right out of the box on ...
    (alt.os.linux.suse)
  • Re: Linux & SDL_mixer sound (Was: NPPAngband & Linux - Arrrgh!)
    ... I did a patch to Vanilla 3.0.5 some time ago to support ... There is interest in sound for Linux, so let's hope that SDL_mixer becomes ...
    (rec.games.roguelike.angband)
  • [OT]: Substitute VMS for Linux in this article
    ... Linux problems, including claims that sound isn't that important in business ... Rick Spencer on the general issue of Linux hardware support: ... As an analogy, say you worked for Coca-Cola since Windows 95 came out, say ...
    (comp.os.vms)
  • Re: Well, Windows is back on the disk.
    ... >>>There's just some programs not working with sound at all. ... But that puts me even further and further away from Ubuntu, ... >>>And yet, using Windows XP the past three years on this laptop, ... >>i still don't get the point in trying ubuntu (linux), ...
    (Ubuntu)