I'm gonna give it a try. Thank you!
i would suggest you to use udev rules, it is quite easy.
for example here is a line i used for arduino to appear as
/dev/arduino_SERIALNO:
KERNEL==ttyUSB*, SUBSYSTEMS==usb, ATTRS{product}==FT232R USB
UART,
ATTRS{idProduct}==6001,
Doh, try this:
http://at.or.at/hans/pd/objects.html#hidio
.hc
On Jan 28, 2010, at 3:58 AM, Ingo Scherzinger wrote:
Thank you, Hans!
unfortunately the link to the [hidio] object is not working
(localhost?).
That stuff is supported in the [hidio] object that hasn't been
officially
Hi,
does anybody know if I can receive the stdout that prints to the pd console?
I am trying to get the ID number of an hid gamecontroller / joystick
automatically at startup. I tried sending dmesg | grep Joystick to the
shell object which gives me the hidraw ID but not the one that Pd
i would suggest you to use udev rules, it is quite easy.
for example here is a line i used for arduino to appear as
/dev/arduino_SERIALNO:
KERNEL==ttyUSB*, SUBSYSTEMS==usb, ATTRS{product}==FT232R USB UART,
ATTRS{idProduct}==6001, ATTRS{idVendor}==0403,
SYMLINK+=arduino.port%n
That stuff is supported in the [hidio] object that hasn't been
officially released. Its in SVN, and should build on GNU/Linux and
Mac OS X. Or here's a tarball with binaries for GNU/Linux x86 and Mac
OS X 32-bit.
http://localhost/hans/pd/objects.html#hidio
.hc
On Jan 27, 2010, at