[PD] [hid] Segmentation fault (errata c.)
hans at eds.org
Sat Apr 2 18:15:16 CEST 2005
Hmm, I can't think of anything immediately. Have you tried using the
joystick with any other program? Do other devices work, like the
It would also be helpful if you used a version with the debug messages
on. You can do that in hid.c by swapping these two:
//#define DEBUG(x) x
#define DEBUG(x) x
and recompiling. If you aren't set up to compile pd objects, I'll try
to compile one for you when I get a chance.
On Mar 31, 2005, at 4:04 AM, Lazzaro Nicolò Ciccolella wrote:
> apologize, I have inverted the outputs in the original post.
> Here the message formulated correctly:
> I try to use the joystick in a patch.
> The joystick is a hid peripheral and the relative driver comes loaded
> in the system, this is dmesg:
> input: USB HID v1.10 Joystick [Mega World Inter. USB GAME DEVICE
> CONTROLLER ] on usb-0000:03:0b.0-1
> When I insert the "hid" object in the patch all is OK in fact the pd
> output print:
> [hid] 0.4, written by Hans-Christoph Steiner <hans at eds.org>
> [hid] opened device 0 (/dev/input/event0): Mega World Inter. USB GAME
> DEVICE CONTROLLER
> But when I touch the joystick, pd prints: "Segmentation fault" and
> quit itself.
> slackware with kernel 22.214.171.124
> Thanks for every aid
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list