Thread: Development coolreader for EE
View Single Post
Old 03-12-2012, 08:59 PM   #28
vldmr
Bigendian confidologist
vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.vldmr has a complete set of Star Wars action figures.
 
vldmr's Avatar
 
Posts: 60
Karma: 494
Join Date: Oct 2011
Device: edge & edgejr
Quote:
Originally Posted by fekhner View Post
Hi vldmr,

Thanks for your help. I am also not quite able to get it to work, probably I am misunderstanding the instructions, which I interpreted as a way to include the changed permissions in the updated firmware. Since I could not find update.sh,
update.sh is main script in every firmware update for edge. The original post refers to allmine update, so that after installtion of allmine all add-on programs writing to eink would work without need for root privileges

Quote:
Originally Posted by fekhner View Post
what I did was copy the line
/system/esi/bin/eink_permissions.sh \&
to the end of
/system/esi/bin/start_epd.sh
and add the file
/system/esi/bin/eink_permissions.sh
with the content you have described. But that is probably not quite the way to go ?
You actually did exactly what is needed. start_epd.sh is executed by system at startup, so you added a call to eink_permissions.sh that will take care of setting permission of /dev/fb2. Since you added contents manually, you do not need a backslash before last character ('&' instead of '\&'), I am not sure if having & escaped would change intended behaviour, better delete it. Also make sure that eink_permissions.sh has execute permission set, do 'chmod +x eink_permissions.sh' on it.
vldmr is offline   Reply With Quote