Hi,
after switching from SuSE to debian, pd won't open audio. aplay and alsamixer work fine.
Here's the output of various attempts:
plain:
orm@grisey:~$ pd /home/orm/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). /dev/dsp (writeonly): No such device /dev/dsp (readonly): No such device
as root:
grisey:~# pd /root/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). /dev/dsp (writeonly): No such device /dev/dsp (readonly): No such device audio I/O stuck... closing audio
with -alsa flag (same output with -alsadev 1):
grisey:~# pd -alsa /root/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). snd_pcm_open (input): No such file or directory snd_pcm_open (output): No such file or directory audio I/O stuck... closing audio
with -alsadev "hw:0.0" flag
grisey:~# pd -alsadev "hw:0.0" /root/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). ALSA lib pcm_hw.c:930:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such device ALSA lib pcm_hw.c:930:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such device audio I/O stuck... closing audio
What am I missing?
-- Orm
Orm Finnendahl hat gesagt: // Orm Finnendahl wrote:
aplay and alsamixer work fine.
Good.
Here's the output of various attempts:
plain:
orm@grisey:~$ pd /home/orm/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). /dev/dsp (writeonly): No such device /dev/dsp (readonly): No such device
Maybe you didn't load the oss compatibility modules? Could you send your alsa-modules configuration and the output of "lsmod | grep snd"?
as root:
If you're in group "audio" root should be necessary.
with -alsa flag (same output with -alsadev 1):
grisey:~# pd -alsa /root/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1
Midi in PD is simply the raw midi devices /dev/midiXX, "-alsa" doesn't change anything midi-wise.
opened 0 MIDI input device(s) and 0 MIDI output device(s). snd_pcm_open (input): No such file or directory snd_pcm_open (output): No such file or directory audio I/O stuck... closing audio
with -alsadev "hw:0.0" flag
grisey:~# pd -alsadev "hw:0.0" /root/.pdrc couldn't open MIDI input device 1 couldn't open MIDI output device 1 opened 0 MIDI input device(s) and 0 MIDI output device(s). ALSA lib pcm_hw.c:930:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (input): No such device ALSA lib pcm_hw.c:930:(_snd_pcm_hw_open) Invalid value for card snd_pcm_open (output): No such device audio I/O stuck... closing audio
What am I missing?
What card do you use? What version of ALSA? Is PD really built for the matching ALSA? There are quite good alsa 0.9x packages in Debian unstable/testing, that I am using here.
Frank Barknecht _ ______footils.org__