Mokomaze as non-root

Timo Juhani Lindfors timo.lindfors at
Thu May 7 13:57:13 CEST 2009

Rui Miguel Silva Seabra <rms at> writes:
> What do you need them for? In OmNewRotate I use /dev/input/events3 and it always
> works regardless of kernel!

lindi1:~/debian/debian-mokomaze/mokomaze-0.5.0$ grep -r /sys src/*c
src/accelerometers.c:   fh = fopen("/sys/devices/platform/lis302dl.2/threshold", mode);
src/accelerometers.c:   fh = fopen("/sys/class/i2c-adapter/i2c-0/0-0073/lis302dl.2/threshold", mode);
src/accelerometers.c:   fh = fopen("/sys/class/i2c-adapter/i2c-0/0-0073/spi_s3c24xx_gpio.0/spi3.1/threshold", mode);
src/vibro.c:    fvibro = fopen("/sys/class/leds/neo1973:vibrator/brightness", "w");
src/vibro.c:    fvibro = fopen("/sys/devices/platform/neo1973-vibrator.0/leds/neo1973:vibrator/brightness", "w");

More information about the community mailing list