[PD] [hid] Segmentation fault (errata c.)
Lazzaro Nicolò Ciccolella
ciccolix at tiscalinet.it
Sat Apr 2 20:00:59 CEST 2005
Hans-Christoph Steiner ha scritto:
> Hmm, I can't think of anything immediately. Have you tried using the
> joystick with any other program?
I use it with "torcs" (a game :) ) and all is OK.
> 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)
> //#define DEBUG(x) x
> //#define DEBUG(x)
> #define DEBUG(x) x
> and recompiling.
in the next wek I try it and post the output.
> 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
>> -- Lazzaro
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
More information about the Pd-list