Tiny Core Extensions > TCE Talk

alsa issues

<< < (4/7) > >>

jpeters:
According to bootup complaints, alsa-oss seems to need the snd pcm, mixer installed before it loads. 

jpeters:
Success!!  I installed a new soundcard.h, which allowed me to recompile alsa-oss-1.0.12. I used alsa-lib-1.0.19, and didn't have any boot errors (I guess you added dev/dsp and /dev/mixer). Then I ran alsaconf, udevtrigger --subsystem-match=sound,  and loaded the modules: mknod /dev/dsp dc 14 3,  mknod /dev/mixer c 14 3, modprobe snd_pcm-oss, modprobe snd_mixer_oss.    The Output Plugin in XMMS preferences needed to be set to OSS Driver 1.2.11 (I think that's the default, but mine was set to the wrong one).

I copied the soundcard.h file from my Puppy setup.  I guess there's a way to save the alsaconfig
in opt/filelist so I don't have to keep repeating the process, and I'll write up a bootup script for the rest.

curaga:

--- Quote ---I have not rebooted and tested what udev and such does if alsa is loaded during boot, but I had to do the above to make alsa-oss work.
--- End quote ---
Udev does not handle wrapper modules like the alsa-oss ones, they must be manually loaded. An install script to do that would be best, so users don't need to modprobe themselves (or add to bootlocal.sh)

Jason W:
There is a startup script in the alsa-oss extensin that was posted yesterday that modprobes the modules and creates the devices. 

But rerunning alsaconf after initial setup deletes the devices, so recreating the devices after each alsaconf is necessary for using alsa-oss.  A solution is in discussion as part of an update to the alsa.ecel extension that solves that, so for now recreating the devices is necessary after each alsaconf.

Juanito:

--- Quote from: jpeters on February 08, 2009, 02:59:39 AM ---Success!!  I installed a new soundcard.h, which allowed me to recompile alsa-oss-1.0.12...I copied the soundcard.h file from my Puppy setup...

--- End quote ---

Good  :)

Are you sure alsa-oss is required (it looks like some kind of compaitibility kludge for very old stuff to work)? BTW, soundcard.h from the 2.6.26 kernel might be more appropriate for compiling alsa-oss...

After recompiling alsa-drivers-1.0.17 (I chose this because this is what's included in the 2.6.26 kernel tree) to enable oss and without compiling alsa-oss-1.0.17, this enabled me to play mp3s with xmms:
--- Code: ---$ sudo mknod /dev/dsp c 14 3
$ sudo mknod /dev/mixer c 14 3
$ sudo alsaconf
$ sudo modprobe snd-pcm-oss
$ sudo modprobe snd-seq-oss
$ sudo udevtrigger --subsystem-match=sound
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version