On Tue, 15 Jan 2008, Mario Lang wrote:

Does anyone know what happens if the same event device is opened more than
once, which could happen, for example, if more than one brltty is started?

I *think* if the application does not "grab" the keyboard,
other apps can still open the device.  I never tested
what happens if a grabbed keyboard gets opened a second time,
but that should be fairly easy to test with a custom piece of C code.
I am currently swamped with work, so I could look at this
case on the weekend at the earliest.

Doing a second EVIOCGRAB gives me
EVIOCGRAB: Device or resource busy

--
Stéphane Doyon
<[EMAIL PROTECTED]>
http://pages.videotron.com/sdoyon/
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@mielke.cc
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to