Em 06-09-2010 19:05, Timo Juhani Lindfors escreveu:
> Rui Miguel Silva Seabra <r...@1407.org> writes:
>> I expect that would be more because it tries to read /dev/input/event3
>> (or 4 or both) and perhaps doesn't have enough privileges?
> 
> No it's because it uses the accelerometer which is a LED device and
> thus chown/chmod can not be used to grant permissions.

chgrp and chmod appear to work, or I'm not understanding what you mean?

r...@om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     root       13,  67 Jan  1  1970 /dev/input/event3
r...@om-gta02 ~ # chgrp disk /dev/input/event3
r...@om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     disk       13,  67 Jan  1  1970 /dev/input/event3
r...@om-gta02 ~ # chgrp root /dev/input/event3
r...@om-gta02 ~ # chmod g+rw /dev/input/event3
r...@om-gta02 ~ # ls -laF /dev/input/event3
crw-rw----    1 root     root       13,  67 Jan  1  1970 /dev/input/event3
r...@om-gta02 ~ # chmod g-rw /dev/input/event3
r...@om-gta02 ~ # ls -laF /dev/input/event3
crw-------    1 root     root       13,  67 Jan  1  1970 /dev/input/event3



> 
> 
> _______________________________________________
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to