- Download it! -
Get the latest tarballs here
- What it is -
Some Sony VAIO laptops such as the 505LE and the Crusoe-powered picturebooks have a hardware jogwheel similar to that found on the Clie handheld. In Windows, this wheel activates a window similar to a bookmark/launcher list.
Takaya Kinjo has written a SPIC kernel module to interface with the jogwheel, and a GTK application which mimics the windows utilities. JogMouse interfaces with this driver and maps the jog dial functions to the standard X mouse wheel buttons, allowing you to scroll using the jog wheel!
- How to install it -
1a: Download and install Takaya's SPIC driver module from: http://www05.u-page.so-net.ne.jp/tc4/t-kinjo/vaio/index_e.html
1b: Download and install Linux 2.4.9 or later, and enable the SonyPI support. Consult /usr/src/linux/Documentation/sonypi.txt for info on how to create the /dev/sonypi device.
1a: To compile the SPIC drivers under 2.4.3ac9 and higher (such as 2.4.4), add '-I/usr/src/linux/include' to the spicdriver/Makefile CFLAGS line.
2: Run 'make' to create the jogmouse executeable and 'make install' to install.
3: Configure XFree86 to use ZAxisMappings
Place the following in your XF86Config mouse definition:
Option "ZAxisMapping" "4 5"
for XFree86 4.x, or
ZAxisMApping 4 5
for XFree86 3.x
4: Add 'jogmouse' to your ~/.xinitrc file to load jogmouse each time you start X.
5: Add scrolling to your ~/.Xdefaults file. An excellent example of the entries needed can be found at: http://x.themes.org/php/download.phtml?object=resources.xdefault.949565759
- Options -
-f Remain in foreground instead for forking into daemon mode
-s # Speed scaling factor. This defines how many wheel events are sent per jog click.
-k Use the kernel-rpovided SonyPI drivers instead of the SPIC module.
- How it works -
JogMouse reads the status of the jog wheel from /dev/spic and issues X events via the XTest extension. Because of the power behind XTest (ability to issue any event as user input), this can ONLY be done on the local server. Of course, it wouldn't be very useful to do remotely, so I don't feel this is a problem.
- Changelog -
Sep 20, 2001 - 1.5 - Added kernel SonyPI support thanks to Caleb Shay
May 3, 2001 - 1.1 - Added speed scaling
April 22, 2001 - 1.0 - Created
- Credit -
The credit for this goes to Takaya Kinjo, because without his SPIC driver module none of this would be possible. Thanks!!
Mike Kershaw
dragorn@nerv-un.net
Sep 20, 2001
- END -