Making sound with the Maxi Sound under Linux

An example configuration

You need

I used

The ALSA packages you can get at ftp.alsa-project.org.
The sam9407 driver you can get here. It is necessary for uploading firmware and soundbank files.

My suggestion how to do it

  1. Compile your kernel with "Sound card support" and "OSS sound modules" as modules
  2. Install the new modules and copy the new kernel to your boot partition
  3. Adjust your /etc/lilo.conf, call
    lilo -v
    and
    reboot
    to your new kernel
  4. Make sure that no sound modules, especially no alsa modules are loaded. For stopping all sound services you can use my modified alsasound script. Copy it to /etc/init.d/ and call
    /etc/init.d/linuxsound stop
  5. untar the alsa-driver package and change to the new alsa-driver directory
  6. type
  7. Adjust your /etc/modules.conf (or /etc/conf.modules). That's my /etc/modules.conf.
  8. depmod -a
    There should be no output.
  9. Test:
    modprobe snd-card-es18xx
    There should be no error message.
  10. untar alsa-lib-, alsa-utils-packages, do a
    ./configure
    and
    make install
    in both directories.
  11. untar sam9407 package
  12. I do not know if this is necessary but maybe it is:
  13. In the sam9407 directory:
  14. /etc/init.d/linuxsound stop
  15. Adjust/create your /etc/isapnp.conf. That is my /etc/isapnp.conf
  16. Call
    isapnp /etc/isapnp.conf
    (This command produces an error if the alsa driver snd-card-es18xx is still running!)
  17. Copy firmware and soundbanks to suitable place and create your /etc/sam9407.conf. (That is my sam9407.conf and there you can also see where I have placed the firmware and soundbank files.)
  18. Start the sam9407 driver:
    sam9407 -s -v
  19. Is the soundcard found? O.k. stop all sound services:
    linuxsound stop
  20. Start all:
    linuxsound start
  21. Type lsmod: everything ok?
  22. Run alsamixer: unmute master channel and push up levels (at least master and PCM)
  23. Quit alsamixer and do an
    alsactl store
  24. Try to play sound, e.g. mpg123 -v -v myMP3.mp3
  25. make a link to your /etc/init.d/linuxsound in /etc/rcx.d/ (e.g. that is my /etc/rc3.d directory)
Up to now I did not test MIDI. I read somewhere you need the alsa virmidi driver and you have to connect it via aconnect with the sam9407 driver. Maybe you do not need to do this. Try it! pmidi is a good choice for that, I think.

My Config files


Any questions? Mail me.