Reply
Thread Tools
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#1
I'm trying to make a python script that turns on the vibrator touchscreen pattern when an outgoing call is answered or disconnected.

I have some code posted in following thread;
http://forums.internettablettalk.com...3&postcount=13

but it seems as if all dbus signals for vibration are ignored when phone is active.
i tried activating the vibrator when the phone is active, then sending the signal but it doesn't work, or at least i'm not getting it to work...

i have zero coding experience, most of it is copy pasted / trial and error... but is it possible someone more experienced can take a look at it, and provide pointers?

Last edited by ny-hardcore; 2010-06-22 at 12:27.
 

The Following User Says Thank You to ny-hardcore For This Useful Post:
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#2
Ok, update on this;
i ended up using dbus-scripts for this (much easier) and writing directly to hardware instead of dbus.

see this post for more info.

http://talk.maemo.org/showpost.php?p...5&postcount=25
 

The Following User Says Thank You to ny-hardcore For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#3
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#4
okay, after id chmod +x vibra_on.sh it worked

but only vibes at start of call not when recipient answers..
 
Posts: 44 | Thanked: 28 times | Joined on Mar 2010
#5
Originally Posted by f2thak View Post
okay, after id chmod +x vibra_on.sh it worked

but only vibes at start of call not when recipient answers..
sorry forgot to include the chmod +x
but, how do you mean with start of call?
does it stop when call is answered?
for me it vibes just after the call is answered.

are you using this in de dbus-script setting:
Code:
/home/user/vibra_on.sh * * com.nokia.csd.Call Created
 

The Following User Says Thank You to ny-hardcore For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#6
it vibrates for about 2 seconds when i start call, not when call is answered
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:10.