Hallo,
(sorry for crossposting, but this might be a Linux-using problem on my side.)
I have a new toy (I couldn't resist, it's so cute): a Contour ShuttleXpress USB Jog/Shuttle control surface, info at http://contourdesign.com
Now of course I'm trying to make use of it in Pd on Linux. It is recognized by the kernel as a HID device, and it is producing vrious characters when doing "cat /dev/input/event3"
So I built Hans-Christoph's linuxevent from current pure-data.sf.net CVS, which turned up a first problem: EV_RST isn't defined, but used in linuxevent.c and linuxjoystick.c There is no EV_RST in /usr/include/linux/input.h I just commented the offending two lines, after that it builds and loads.
Creating a [linuxevent /dev/input/event3] object shows this:
#======== Configuring Contour Design ShuttleXpress on /dev/input/event3 Supported events: Reset (type 0) Event code 0 (Reset) Event code 1 (Key) Event code 2 (Relative) Key (type 1) Event code 256 (Btn0) Event code 257 (Btn1) Event code 258 (Btn2) Event code 259 (Btn3) Event code 260 (Btn4) Event code 261 (Btn5) Event code 262 (Btn6) Event code 263 (Btn7) Event code 264 (Btn8) Event code 265 (Btn9) Event code 266 (?) Event code 267 (?) Event code 268 (?) Relative (type 2) Event code 7 (Dial) Event code 8 (Wheel)
Using 2 relative axes, 0 absolute axes, and 13 buttons. #=======
Actually the device only has five buttons, but probably it's the same as the ShuttlePRO by Contour internally, which has many buttons more.
Now the problem is: I pressed "start" or "poll" in the help patch, but there is no movement in linuxevent's output. Also, but this probably is my fault, one of the ShuttleXpress buttons acts as a right mouse button, that is, it opens the context menu when in Pd, or the window manager's root menu, when focus is outside of Pd. I did remove all references to /dev/input from my XF86Config beforehand.
Does anyone have an idea, why I cannot get the device to play nice with Pd??
Frank Barknecht _ ______footils.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
So I built Hans-Christoph's linuxevent from current pure-data.sf.net CVS, which turned up a first problem: EV_RST isn't defined, but used in linuxevent.c and linuxjoystick.c There is no EV_RST in /usr/include/linux/input.h I just commented the offending two lines, after that it builds and loads.
Short update: EV_RST is EV_SYN in kernel 2.6...
Frank Barknecht _ ______footils.org__
hi list . . .i did setup a icecast2 server (win) . . . .and got following error: oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://195.177.250.110:8000/stream_name.ogg oggcast~: ogg/vorbis encoder initialised error: oggcast~: could not send ogg header to server (-1) oggcast~: closing due to error... oggcast~: connection closed
. .. .has anyone a clue whats wrong here
thanx nos
noskule wrote:
hi list . . .i did setup a icecast2 server (win) . . . .and got following error: oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://195.177.250.110:8000/stream_name.ogg oggcast~: ogg/vorbis encoder initialised error: oggcast~: could not send ogg header to server (-1) oggcast~: closing due to error... oggcast~: connection closed
. .. .has anyone a clue whats wrong here
Which server are you using? Looks like trying to connect to latest Icecast2 with wrong (i.e. JRoar) server type setting in oggcast~. Try sending oggcast~ a message 'server 1'. - Or maybe they changed the login scheme for Icecast2 again, haven't checked for at least 6 weeks.... ;-)
Olaf
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I have a new toy (I couldn't resist, it's so cute): a Contour ShuttleXpress USB Jog/Shuttle control surface, info at http://contourdesign.com
Now of course I'm trying to make use of it in Pd on Linux.
Okay, forget it, user error, Frank buggy. It works and always did, I just didn't see it until I now opened my eyes at last.
At least it works on my Intel-based laptop (where I intend to use it anyways), but it is not recognized at my Via-based PC, so take care before buying.
Frank Barknecht _ ______footils.org__
On Saturday, Feb 14, 2004, at 05:27 America/New_York, Frank Barknecht
wrote:
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
I have a new toy (I couldn't resist, it's so cute): a Contour ShuttleXpress USB Jog/Shuttle control surface, info at http://contourdesign.com
Now of course I'm trying to make use of it in Pd on Linux.
Okay, forget it, user error, Frank buggy. It works and always did, I just didn't see it until I now opened my eyes at last.
At least it works on my Intel-based laptop (where I intend to use it anyways), but it is not recognized at my Via-based PC, so take care before buying.
You mean I have been spared debugging this problem? woo hoo! ;)
So it works, closing, freeing and all? (I am not sure of the original
order of these messages.)
.hc
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
"Information wants to be free." -Stewart Brand
If you cat the device (or better yet use evtest), do you see output? I
don't remember offhand what EV_RST was. Which kernel version are you
using?
Its alpha code, so its very much in the "works for me" stage. But I'd
like to get it working well. Anyway, tomorrow I'll be looking at it.
.hc
On Friday, Feb 13, 2004, at 13:49 America/New_York, Frank Barknecht
wrote:
Hallo,
(sorry for crossposting, but this might be a Linux-using problem on my side.)
I have a new toy (I couldn't resist, it's so cute): a Contour ShuttleXpress USB Jog/Shuttle control surface, info at http://contourdesign.com
Now of course I'm trying to make use of it in Pd on Linux. It is recognized by the kernel as a HID device, and it is producing vrious characters when doing "cat /dev/input/event3"
So I built Hans-Christoph's linuxevent from current pure-data.sf.net CVS, which turned up a first problem: EV_RST isn't defined, but used in linuxevent.c and linuxjoystick.c There is no EV_RST in /usr/include/linux/input.h I just commented the offending two lines, after that it builds and loads.
Creating a [linuxevent /dev/input/event3] object shows this:
#======== Configuring Contour Design ShuttleXpress on /dev/input/event3 Supported events: Reset (type 0) Event code 0 (Reset) Event code 1 (Key) Event code 2 (Relative) Key (type 1) Event code 256 (Btn0) Event code 257 (Btn1) Event code 258 (Btn2) Event code 259 (Btn3) Event code 260 (Btn4) Event code 261 (Btn5) Event code 262 (Btn6) Event code 263 (Btn7) Event code 264 (Btn8) Event code 265 (Btn9) Event code 266 (?) Event code 267 (?) Event code 268 (?) Relative (type 2) Event code 7 (Dial) Event code 8 (Wheel)
Using 2 relative axes, 0 absolute axes, and 13 buttons. #=======
Actually the device only has five buttons, but probably it's the same as the ShuttlePRO by Contour internally, which has many buttons more.
Now the problem is: I pressed "start" or "poll" in the help patch, but there is no movement in linuxevent's output. Also, but this probably is my fault, one of the ShuttleXpress buttons acts as a right mouse button, that is, it opens the context menu when in Pd, or the window manager's root menu, when focus is outside of Pd. I did remove all references to /dev/input from my XF86Config beforehand.
Does anyone have an idea, why I cannot get the device to play nice with Pd??
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into the
possession of everyone, and the receiver cannot dispossess himself of
it."
- Thomas
Jefferson