Wireless PC Lock – Continued

I’ve improved it a little bit further:

  • After some fiddling around, I can now detect leaving of dongle in 2-3 seconds. If you want it to react this fast is a second question.
  • Lock and unlock the screen. (using gnome-screensaver)

Todo list:

  • I have the cleanup the code a bit and add a configure system (its 120 lines of code now, with everything hardcoded) and I will try to get some first code available this weekend.
  • I am also looking (probably buy one monday) for more wireless pc locks, so I can start trying to figure out how I can differentiate between dongles. If somebody has a Wireless PC Lock from thinkgeek (or any other brand) lying around (unused) let me know.
  • A option to temporary disable it.
  • more I forgot.

A screenshot:

Not much more to see.

p.s. I used the following udev rule to allow me to run the program as the user qball: SUBSYSTEM==”usb_device”,SYSFS{idVendor}==”04b4″, SYSFS{idProduct}==”7417″, GROUP=”qball”,MODE=”0664″

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>