On Fri, 22 Aug 2003, Daniel Herring wrote:
> Hi all,
> I can't get the OSS emulation to work at all.
>
> Here's what I did:
> Installed ALSA version 0.9.6: alsa-lib, -oss, and -utils from source.
>
> and
>
> Compiled the 2.6.0-test3 kernel, with
> - ALSA
> - Sequencer support
> - OSS emulation (including mixer, PCM, and sequencer)
> - Virtual MIDI soundcard
> - Intel i8x0 audio
> all built-in (not as modules)
>
>
> Now, dmesg gives
> Linux version 2.6.0-test3 ...
> ...
> ALSA device list:
> #0: Virtual MIDI Card 1
> #1: NVidia nForce2 at 0xe1080000, irq 11
> ...
>
> and
>
> /proc/asound contains
> VirMIDI -> card0
> card0/
> card1/
> cards
> devices
> nForce2 -> card1
> oss/
> pcm
> seq/
> timers
> version
>
>
> So 'aplay -D hw:1 test.wav' lets me listen to wav files and such.
>
> Now, I'd like to get OSS emulation working.
>
> (edited terminal session)
> > play test.wav
> sox: Can't open output file '/dev/dsp': No such device
> > ls -l /dev/dsp
> lrwxrwxrwx 1 root root /dev/dsp -> /dev/dsp0
> > ls -l /dev/dsp0
> crw-rw-rw- 1 root root /dev/dsp0
> > cat /dev/dsp0
> cat: /dev/dsp0: No such device
>
>
> Any ideas or manuals I can read?
> All the documentation I've found stresses loading the modules; but this
> doesn't help since everything is built into the kernel.
If you have virmidi as the first card, you will have to use the /dev/dsp1
OSS device (second card) or move the virmidi driver as second: Append this
to the kernel command line: snd-virmidi=,1
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user