Reply
Thread Tools
Posts: 142 | Thanked: 120 times | Joined on Jul 2010
#11
Ok problem solved, thanks to don_falcone and the link to #2 thread.

If anyone has the same problem, if you want to simulate opening lens cover:

Code:
sudo hal-set-property --udi /org/freedesktop/hal/devices/platform_cam_shutter --key button_state_value --bool false
and to close it:

Code:
sudo hal-set-property --udi /org/freedesktop/hal/devices/platform_cam_shutter --key button_state_value --bool true
I created two Desktop command Execution Widget and it works perfectly. Until next time I'm drink too much...

Last edited by phap; 2013-01-26 at 16:49.
 

The Following 5 Users Say Thank You to phap For This Useful Post:
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#12
 

The Following 2 Users Say Thank You to anthonie For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:38.