The Following User Says Thank You to cooperpeng For This Useful Post: | ||
![]() |
2011-04-10
, 15:44
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#2
|
The Following User Says Thank You to nicholes For This Useful Post: | ||
![]() |
2011-04-10
, 15:50
|
|
Posts: 551 |
Thanked: 507 times |
Joined on Feb 2010
@ North West England
|
#3
|
sudo gainroot < "your command here"
sudo gainroot < "echo This is root"
The Following User Says Thank You to JohnLF For This Useful Post: | ||
![]() |
2011-04-10
, 15:56
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#4
|
The Following User Says Thank You to nicholes For This Useful Post: | ||
![]() |
2011-04-11
, 02:45
|
Posts: 30 |
Thanked: 3 times |
Joined on Jun 2010
|
#5
|
sudo gainroot < "echo 0 >/sys/class/backlight/acx565akm/brightness"
![]() |
2011-04-11
, 05:45
|
Posts: 30 |
Thanked: 3 times |
Joined on Jun 2010
|
#7
|
I've mentioned a trick to do this in another thread post here. See if that works for you.
sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
/bin/busybox sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
![]() |
2011-04-11
, 06:25
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#8
|
The Following User Says Thank You to nicholes For This Useful Post: | ||
![]() |
2011-04-11
, 06:30
|
Posts: 38 |
Thanked: 33 times |
Joined on Aug 2010
@ Bangalore, India
|
#9
|
It like good idea, but it didn't work.
I try
sh: cannot create /sys/class/backlight/acx565akm/brightness: Permission deniedCode:sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
Root shell enabled
I see the link, get the file "disable_ts.desktop". The code is " Exec=/bin/busybox sh -c 'echo "sleep 15; echo 1 > /sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts" | sudo gainroot' "
so I try
But it was the same.Code:/bin/busybox sh -c 'echo 0 > /sys/class/backlight/acx565akm/brightness | sudo gainroot'
In fact, I just run my app.py using by cmd shortcuts launching. But it will modify /sys file so that be permission deny. If it's running in terminal is good by root privilege.
sh -c 'echo "sleep 1; echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot'
The Following 2 Users Say Thank You to kitwalker For This Useful Post: | ||
![]() |
2011-04-11
, 07:08
|
Posts: 30 |
Thanked: 3 times |
Joined on Jun 2010
|
#10
|
Use it this way:
Code:
sh -c 'echo "sleep 1; echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot'
sh -c 'echo "sleep 1; echo 0 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot'
The Following User Says Thank You to cooperpeng For This Useful Post: | ||
Last edited by cooperpeng; 2011-04-11 at 01:42.