Hey all,
Just got Gentoo GNU/Linux (www.gentoo.org) up and running on one of my machines. Gentoo has now /dev/dsp, but it does have /dev/dspW, which is an alternate dsp device, I'm led to understand. How do I get pd to use this instead of /dev/dsp? When I start up pd, I get:
/dev/dsp (read/write): No such file or directory (now will try write-only...) /dev/dsp (writeonly): No such file or directory /dev/dsp (readonly): Now such file or directory
Where do I get pd to use /dev/dspW instead of /dev/dsp?
P
"Computers in the future may weigh no more than 1.5 tons." Popular Mechanics, 1949
========= Phil Thomson home: http://www.sfu.ca/~pthomson label: http://centibel.org/ blog: http://pthomson.blogspot.com/ group: http://groups.yahoo.com/group/databenders/ =========
SDF Public Access UNIX System http://www.freeshell.org/ Geekier than you since 1987.
I read:
Where do I get pd to use /dev/dspW instead of /dev/dsp?
# ln -s /dev/dspW /dev/dsp
??
HTH
x
I read:
Where do I get pd to use /dev/dspW instead of /dev/dsp?
# ln -s /dev/dspW /dev/dsp
??
HTH
x
Thanks, except now I get "Permission denied" errors when I try to run pd as a non-root user, and "No such device or address" when I run it as root. I was thinking maybe there was something like .pdrc file or similar config file where I could specify which /dev pd would use.
P
"Computers in the future may weigh no more than 1.5 tons." Popular Mechanics, 1949
========= Phil Thomson home: http://www.sfu.ca/~pthomson label: http://centibel.org/ blog: http://pthomson.blogspot.com/ group: http://groups.yahoo.com/group/databenders/ =========
SDF Public Access UNIX System http://www.freeshell.org/ Geekier than you since 1987.
Thanks, except now I get "Permission denied" errors when I try to run pd as a non-root user, and "No such device or address" when I run it as root. I was thinking maybe there was something like .pdrc file or similar config file where I could specify which /dev pd would use.
no, i think, it's hardcoded in the oss layer to use /dev/dspX devices (X = number)
cheers ... tim
I read:
Thanks, except now I get "Permission denied" errors when I try to run pd as a non-root user, and "No such device or address" when I run it as root.
brute f0Rc3: chmod 777 /dev/dsp
recommended: addgroup audio # if not there already chown :audio /dev/dsp chmod g+rw /dev/dsp
then add yourself or any other user that needs access to the audio group i.e.: adduser username audio
I was thinking maybe there was something like .pdrc file or similar config file where I could specify which /dev pd would use.
as mentioned earlier it's hardcoded
HTH
x
just to jump in ......on gentoo, you already have an audio group. you may need to edit /etc/group and add your name to the group.
also, if you are not up and running...make sure you do:
emerge alsa-oss
and
modprobe snd-pcm-oss
you should then see 'snd-pcm-oss' along with your other alsa modules when you do lsmod
here is a good guide on how to set up the alsa modules on gentoo:
http://www.gentoo.org/doc/en/alsa-guide.xml
-august.
Hallo, Phil Thomson hat gesagt: // Phil Thomson wrote:
Just got Gentoo GNU/Linux (www.gentoo.org) up and running on one of my machines. Gentoo has now /dev/dsp, but it does have /dev/dspW, which is an alternate dsp device, I'm led to understand. How do I get pd to use this instead of /dev/dsp? When I start up pd, I get:
/dev/dsp (read/write): No such file or directory (now will try write-only...) /dev/dsp (writeonly): No such file or directory /dev/dsp (readonly): Now such file or directory
Where do I get pd to use /dev/dspW instead of /dev/dsp?
I would rather try to fix /dev/dsp. Somnething is wrong if you don't have this device. Are you running the ALSA drivers? If yes, make sure you have snd-pcm-oss loaded and you did run the snddevices script in the alsa-driver sources. If you're running the OSS drivers you should seriously consider to replace them with the ALSA drivers.
Just linking dspW to dsp probably won't solve your problems.
Frank Barknecht _ ______footils.org__
Just got Gentoo GNU/Linux (www.gentoo.org) up and running on one of my machines. Gentoo has now /dev/dsp, but it does have /dev/dspW, which is an alternate dsp device, I'm led to understand. How do I get pd to use this instead of /dev/dsp? When I start up pd, I get:
i don't think it's possible to use an alternate /dev/dsp device ... when i was using my old quattro i had to use /dev/dsp0 and /dev/adsp0 ... the only way to do that was creating a symlink from /dev/adsp0 to /dev/dsp1 ... you could try something like that ...
Where do I get pd to use /dev/dspW instead of /dev/dsp?
i forgot all these problems using jack (although there are some issues with jack and usb audio devices)
cheers ... tim