View Single Post
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#4
Actually, sorry, but after looking at the lshal man page again, I saw a command called hal-get-property.

hal-get-property --udi /org/freedesktop/Hal/devices/platform_cam_shutter --key button.state.value is cleaner than the lshal solution above
 

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