Very nice, so while my DM is running and the device is connected, I would maintain exclusive access and if for what ever reason, my DM is closed etc, I can release it. Thank you very very much.
Hopefully, I can provide some help so that HID support for Digitizers can be finished/fixed so that we Digitizer manufactures can do away with custom USB Drivers. I'm not sure why other Digitizer manufactures haven't worked toward this end instead of sticking with limited digitizer support. On Tue, 2007-02-13 at 23:34 -0500, Dmitry Torokhov wrote: > On Tuesday 13 February 2007 18:52, Jeremy Roberson wrote: > > Can you give me example syntax for using EVIOCGRAB ioctl or point me to > > the documentation? This may very well solve my problem. I wasn't aware > > that it could be issued after the device node had already been created. > > > > You basically do: > > ret = ioctl(fd, EVIOCGRAB, 1); > > to "grab" device for exclusive access and > > ret = ioctl(fd, EVIOCGRAB, 0); > > to release it after you are done with it. fd is a file descriptor you get > when you open /dev/input/eventX. > -- Jeremy Roberson Software Engineer GTCO CalComp "Do not go gentle into that good night, Old age should burn and rave at the close of the day; Rage, rage against the dying of the light." - Dylan Thomas Note: The information contained within this electronic transmission is intended by Interwrite Learning for the use of the named individual or entity to which it is directed and contains confidential and/or privileged information. It is not intended for transmission or receipt by anyone other than the named addressee or entity. It should not be forwarded or copied to any unauthorized persons. If you have received this is error, please remove it from your system, without copying or forwarding it and notify the sender by return email. Thank you. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
