I have also tried:
on device-added-/dev/mynode
chmod 0777 /dev/mynode
Like every time the same - no change...
But now I have found a workaround, which is a little bit ugly - but so
what, this does what I want ;)
I have made a shellscript:
#!/system/bin/sh
chmod 0777 /dev/mydev
which is started by init.rc:
service setPermission /system/bin/sh myscript.sh
oneshot
But I also would like to know why this is so a crux - does it give any
possibility to "debug" the init.rc execution without rewriting init?
Greetz
Dudero
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting