The Twiddler-FAQ version 0.001Alpha So you have a twiddler and cant get it to behave on your Linux computer? Me too! but after compiling a bunch of information from various sources I have came up with this small FAQ, to be expanded and corrected as time permits.... Step 1 - download the twiddler driver from handykey for Linux. This FAQ is based on the origional driver(Version2.0) and not the enhanced version. Untar this as root into yor favorite directory. Step 2 - edit the twid_defaults.ini file to remove all traces of dos Ctrl-M's the program will choke as soon as it sees one CTRL-M. so eradicate them all carefully. In fact I would work on a copy and not the actual file. Step 3 - after you have edited the twid_defaults.ini file move it to your /etc directory (you must still be root to do this!) and be sure it is world readable. Step 4 - untar the a2x.tar.gz where it sits, it will make a rats nest of directories to navigate through.. find the source code and look at the makefile (If you dont know how to deal with makefiles or sourcecode dont worry it will compile on a normal linux system) now run xmkmf. After xmkmf has finished run make. everything should compile (On slackware it will, I have tried it from slackware 2.0 to 3.5 and it compiled flawlessly on all) red hat is another matter... the GCC compiler under Red Hat is broken and will sometimes not work, long with Red-Hat not following normal filesystem setup. (I.E. directory layout is bizzare compared to the rest of the linux world) when make is done copy the a2x program to your /sbin directory (Or wherever you desire.. I put it in /bin so I dont have to mess with path statements) Step 4 - go back to where you untarred twiddler and copy that to your /sbin or /bin directory. Plug in the twiddler (if it hasnt been plugged in already) and let's see if this works. type twiddler to run the driver. NOTE : the twiddler driver wants to see the twiddler on com2 or /dev/cua1 if you dont have it there type twiddler -p 0 for com1 1 for com2 2 for com3 etc.... (remember Linux device numbers start at 0!) Everything should be working. unless you get an error stating that the twiddler cant be found, then check the port you are connected to and try again. Step5 - Xwindows!!!! note.. be sure you dont have the twiddler plugged into the port that X expects to find a mouse, it will kill the twiddler driver. I have yet to figure out how to configure X without a mouse /dev entry. If your mouse doesnt work press CTRL-ALT-F1 to exit to text mode, press CTRL-C to stop XWindows.. look for a message on your screen from a2x - it will complain there. that's it for now.... I'll have more detail later with some utilities to strip the CTRL-M's for you in a tarball -- Subcription/unsubscription/info requests: send e-mail with subject of "subscribe", "unsubscribe", or "info" toWear-Hard Mailing List Archive (searchable): http://wearables.ml.org
From Wear-Hard Mailing list Archive (WH)
Maintained by R. Paul McCarty
Archive created with babymail