Mokomaze as non-root

Rui Miguel Silva Seabra rms at 1407.org
Thu May 7 16:09:22 CEST 2009


On Thu, May 07, 2009 at 02:57:13PM +0300, Timo Juhani Lindfors wrote:
> Rui Miguel Silva Seabra <rms at 1407.org> 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");

Ah oops, that's true :(

Rui

-- 
All Hail Discordia!
Today is Boomtime, the 54th day of Discord in the YOLD 3175
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?




More information about the community mailing list