Hello PD people, I tried sending this to the ALSA mailinglist but have gotten no reply. Does anyone have any pointers on why I can get ALSA by itself working?
otherwise I guess i'll have to try OSS/free...
Thanks a bunch.
Hello all, I'm running ALSA 0.9.0B7 with a 2.4.16 kernel
lib, util and driver all compile fine I then insert the snd-card-ens1371 module into my kernel for my SB PCI 128.
When I try and run aplay I get this error:
ALSA lib pcm_hw.c:580:(snd_pcm_hw_open) SNDRV_PCM_IOCTL_PVERSION failed: Inappropriate ioctl for device aplay: main:429: audio open error: Inappropriate ioctl for device
I was sure to run the ./snddevices script.
lsmod output:
Module Size Used by Tainted: P
snd-card-ens1371 9704 0 (unused)
snd-rawmidi 11808 0 [snd-card-ens1371]
snd-seq-device 3904 0 [snd-rawmidi]
snd-pcm 45984 0 [snd-card-ens1371]
snd-timer 9672 0 [snd-pcm]
snd-ac97-codec 22992 0 [snd-card-ens1371]
snd 21220 0 [snd-card-ens1371 snd-rawmidi
snd-seq-device snd-pcm snd-timer snd-ac97-codec]
gcc 2.95.3 make 3.79.1 2.4.16 kernel with base sound support.
Any suggestions would be appriciated. anyone running ALSA without OSS emulation in 2.4.16?
Thanks Ben
Hello all again,
I did get a reply from the ALSA mailing list and looks like only 0.9.0B10 support the 2.4.16 kernel.
So what ALSA driver do I need that will compile with Pd 34.4 and work with the 2.4.16 kernel?
I have a bit of a fear of makefiles, how difficult would it be to get Beta 10 to compile with PD? (just changing a few #include references?)
Thanks! Ben
On Sun, 23 Dec 2001, Ben Bogart - FMPM/F1999 wrote:
Hello PD people, I tried sending this to the ALSA mailinglist but have gotten no reply. Does anyone have any pointers on why I can get ALSA by itself working?
otherwise I guess i'll have to try OSS/free...
Thanks a bunch.
Hello all, I'm running ALSA 0.9.0B7 with a 2.4.16 kernel
lib, util and driver all compile fine I then insert the snd-card-ens1371 module into my kernel for my SB PCI 128.
When I try and run aplay I get this error:
ALSA lib pcm_hw.c:580:(snd_pcm_hw_open) SNDRV_PCM_IOCTL_PVERSION failed: Inappropriate ioctl for device aplay: main:429: audio open error: Inappropriate ioctl for device
I was sure to run the ./snddevices script.
lsmod output:
Module Size Used by Tainted: P
snd-card-ens1371 9704 0 (unused) snd-rawmidi 11808 0 [snd-card-ens1371] snd-seq-device 3904 0 [snd-rawmidi] snd-pcm 45984 0 [snd-card-ens1371] snd-timer 9672 0 [snd-pcm] snd-ac97-codec 22992 0 [snd-card-ens1371] snd 21220 0 [snd-card-ens1371 snd-rawmidi snd-seq-device snd-pcm snd-timer snd-ac97-codec]gcc 2.95.3 make 3.79.1 2.4.16 kernel with base sound support.
Any suggestions would be appriciated. anyone running ALSA without OSS emulation in 2.4.16?
Thanks Ben
B. Bogart
I have a bit of a fear of makefiles, how difficult would it be to get Beta 10 to compile with PD? (just changing a few #include references?)
Think i've already answered that one, you don't need to change a lot of PD code :
a/ install alsa-driver and alsa-lib
b/ change #include <sys/asoundlib.h> with #include <alsa/asoundlib.h> in src/s_linux.c.
Still, you'll get those warnings :
s_linux.o: In function `alsa_open_audio': /usr/local/pd/src-patch-sounfile/s_linux.c:2032: Warning: start_mode is deprecated, consider to use start_threshold /usr/local/pd/src-patch-sounfile/s_linux.c:2035: Warning: xrun_mode is deprecated, consider to use stop_threshold
Don't panic, it will work despite those warnings ( at least with 2.4.9 kernel ).
Sorry if new errors appear with kernel 2.4.16.... Good luck§
Yves/