Active Topics

 



Notices


Reply
Thread Tools
Posts: 20 | Thanked: 26 times | Joined on Jul 2010
#41
f2thak, in a last release in the Extras-devel I changed frequency and duration to a lower values. Now vibration does not break off a brain
 

The Following 2 Users Say Thank You to nastradamus For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#42
okay, cool =)

any chance of implementing the proximity setting I suggested? only vibe if phone not to ear when call answered???

cheers
 
Posts: 20 | Thanked: 26 times | Joined on Jul 2010
#43
I will try to make it. But I do not promise that soon.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#44
Code:
vibro() {
if grep -q "Call answered"; then
	if [ `cat /sys/devices/platform/gpio-switch/proximity/state` = "closed" ] then; echo 0 > /sys/class/leds/twl4030:vibrator/brightness
	else
	echo 200 > /sys/class/leds/twl4030:vibrator/brightness
	sleep 0.9
	echo 0 > /sys/class/leds/twl4030:vibrator/brightness
	fi
fi
}
Haven't tested it, you might find syntax errors since I'm half asleep atm
 

The Following 4 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 20 | Thanked: 26 times | Joined on Jul 2010
#45
MohammadAG,

Oh, thanks for hint. I'll add this in the next release. )
 
Posts: 20 | Thanked: 26 times | Joined on Jul 2010
#46
I've added Proximity sensor support.
Enjoy )

A new version is on the Extras-devel.
 

The Following 5 Users Say Thank You to nastradamus For This Useful Post:
mthmob's Avatar
Posts: 378 | Thanked: 206 times | Joined on Dec 2009 @ Denmark
#47
Many thx for this, works perfect for me
 
Tomaszd's Avatar
Posts: 284 | Thanked: 498 times | Joined on Jun 2009 @ Poland
#48
nastradamus, you can add a nice name for this in debian/control, so that "out-call-vibro" is not the name in Application Manager, something like this:

XB-Maemo-Display-Name: Vibrate When Call Estabilished

Here are some other pointers, for example to have an icon.
__________________
Do you like Extra Decoders Support? Consider donating to support the project.
 

The Following User Says Thank You to Tomaszd For This Useful Post:
Posts: 134 | Thanked: 41 times | Joined on Mar 2010
#49
It'll be better if someone change thread title to [Announce] or open a new thread because it still says [Request] and i really didn't know that it has been done. Thanks.
 
Posts: 134 | Thanked: 41 times | Joined on Mar 2010
#50
so what is the name of the app?
 
Reply


 
Forum Jump


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