Upon a brief examination, nothing sticks out. I'll be working on this tomorrow, I'll let you know if I find anything. Are you sure that it only happens with Pd? Could it be happening with this device in other programs? Sounds like a cool device, what do you think of it so far?
.hc
On Saturday, Feb 14, 2004, at 08:56 America/New_York, Frank Barknecht wrote:
Hallo,
I have a problem with fully freeing the linuxevent object. If I open an event device file, say /dev/input/event3 with linuxevent and then do not close the device correctly by either deleting the linuxevent object, or sending it a "close" message, I cannot claim the device again later.
This happens, if I close Pd with the Quit message or the window manager buttons. The only way to reclaim a device - a Contour ShuttleXpress - I found is by unplugging it, removing various kernel modules (hid, evdev) with rmmod and then plugging the device back in.
I suppose, that the linuxevent's linuxevent_free method isn't called, when Pd is closed. Could this be? Of course I can work around all this by properly closing the device descriptor by hand, but this won't help for example, when Pd crashed.
ciao
Frank Barknecht _ ______footils.org__
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
________________________________________________________________________ ____
"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