[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?
yes,
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
>
> to
>
> //#define DEBUG(x)
> #define DEBUG(x) x
>
> and recompiling.
Ok,
in the next wek I try it and post the output.
>
> .hc
thanks
--
Lazzaro
>
> On Mar 31, 2005, at 4:04 AM, Lazzaro Nicolò Ciccolella wrote:
>
>> Hi,
>> 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.
>>
>>
>> pd-0.38-4
>> slackware with kernel 2.6.11.5
>>
>> Thanks for every aid
>> -- Lazzaro
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>>
>
> ________________________________________________________________________
> ____
>
> http://at.or.at/hans/
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
More information about the Pd-list
mailing list