I made a nifty little patch for reading HID information from an Xbox controller and spitting it out all organized, and it was working fine about a month ago.
I finally decided to put it to use and now the HID object causes PD to crash without fail! O no!
When I open the hid help file (which I built my patch from), I click the green box that turns on the hid reading, and as soon as I click the object that lets me choose which hid (channel?) I'm reading, the whole program goes belly-up.
Why is this happening now and not before? Hid worked fine before... Is it my system?
I'm using pdL20rk and ubuntu 16.04
as always, I appreciate the help.
updates: vanilla crashed as well and jstest shows the controller is working fine
also ubuntu generated an error report but I've no idea what it means or what info would be useful to include from it. The most relevant piece seems to be "pd crashed with SIGSEV in hid_poll()"
for every position on the hradio in the help file patch, when I click it the console reads
error: [hid] open /dev/input/event0 failed
error: [hid] can not open device x
where x is the position of the hradio and the variable attached to the open message
FIXED?
for some reason hid was recognizing the controller as device 19, so I made an open message for device 19 and it is polling the controller.
This still doesn't tell me why it was crashing, which is worrisome.