![]() |
use sh script for vibration test
hi.
i want to make a sh-file so that i can execut it and see if my phone is working correct. for this i want to check the vibration-function. i found this: Code:
#!/bin/sh so where can i find this on maemo? this file will also be used in pidgin as vibration alarm on new messages. thx for your help! |
Re: use sh script for vibration test
From Jebba's DBUS wiki page:
Quote:
|
Re: use sh script for vibration test
/sys/class/leds/twl4030:vibrator/brightness
I suggest you use dbus though, have a look @ the wiki or use the phone-control package. |
Re: use sh script for vibration test
thx.
MohammadAG it works :D but only as root. if i run the script as normal user i got "permission denied" on twl4030 :< dam how about that dbus? will this run as normal user? |
All times are GMT. The time now is 12:10. |
vBulletin® Version 3.8.8