Hello,

For those of you who would like to use the hardware switches on Assabet,
either for debugging or application interface purposes, I thought I'd
mention some resources that might be helpful.

First, a device driver has been covertly added to Nicolas' most recent
patch (2.4.0-test9-rmk1-np3) which provides the kernel interface; see
CONFIG_SA1100_SWITCHES during configuration. Note that until the UCB1200
driver is reworked, switches 3-8 on Assabet are only usable if support
for the UCB1200 touchscreen driver is not enabled during kernel
configuration. This driver now supports a filesystem interface which can
be read by userland processes.

Next, there now exists an absolutely trivial daemon which listens for
switch events from this driver, and invokes interpreter scripts or
binaries in response. The distribution point for this daemon is:

  http://www.wearablegroup.org/software/switchd/

This daemon has been a reasonable debugging aid in some cases, and would
probably also do well in applications where a more full-blown console
manager would be too heavyweight.

Last, I've added switchd to the Kitchen Sink ramdisk, which is now being
distributed from:

  http://www.wearablegroup.org/software/ramdisk/

The ramdisk illustrates filesystem setup for the daemon, among other
things.

Have fun,
-jd


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to