WSL 0.3 review
DownloadThe Sitecom Wireless Security Lock is based on the Cypress Ultra Mouse
|
|
The Sitecom Wireless Security Lock is based on the Cypress Ultra Mouse. WSL currently identifies itself as a wireless mouse.
Under Linux this is problematic as the input stacks tries to parse the input as mouse coordinates and button presses.
The patch on this page adds support for Wireless Security Locks based on the Cypress Ultra Mouse. It was created on a Slackware 10.1 box running kernel 2.6.11.
The driver should support most Wireless Security Locks based on the Cypress Ultra Mouse. The driver is known to work on these models:
Sitecom Wireless Security Lock.
ThinkGeek Wireless Security Lock.
Installation:
Unpack the linux kernel sources to /usr/src
Download the hid-core.c patch for 2.6.11 / 2.6.13-rc4:
gunzip hid-core-{VERSION}.patch.gz
cd /usr/src/linux
patch -p1 < /path/to/hid-core-{VERSION}.patch
Recompile and install your kernel, then reboot.
Using the WSL:
You can use it with xscreensaver v4.22 .. this is how:
Get and unpack xscreensaver-4.22.
Download the xscreensaver-wsl.patch.
Patch xscreensaver:
cd xscreensaver-4.22
patch -p1 < /path/to/xscreensaver-wsl.patch
Rebuild and install xscreensaver the usual way.
Restart xscreensaver.
Enter the preferences screen and check the Enable WSL Unlock option on the Display Modes tab:
xscreensaver-command -prefs
Get the wslxsctl program. wslxsctl is a small program which locks/unlocks xscreensaver depending on the availablity of your weasel. Install:
tar xzf wslxsctl-0.3.tar.gz
cd wslxsctl-0.3
./configure
make
make install (as root)
Launch wslxsctl as a background job:
wslxsctl &
wslxsctl should now monitor the first found WSL and lock your PC when your weasel is moved away or turned off and unlock your PC when your weasel is detected again.
I use WindowMaker and start wslxsctl from my ~/GNUstep/Library/WindowMaker/autostart after xscreensaver:
xscreensaver -no-splash &
wslxsctl &
What's New in This Release:
Added the -s script switch (BSC)
wslxsctl locks your computer if the weasel is removed (BSC)
WSL 0.3 keywords