Detecting external drive one-touch button?

Karl Auer kauer at biplane.com.au
Wed Sep 25 04:57:37 UTC 2013


On Wed, 2013-09-25 at 00:22 -0400, Ric Moore wrote:
> On 09/24/2013 07:42 PM, Avi Schwartz wrote:
> > I have an external Transcend disk drive which has a "One-Touch Backup"
> > button that on a Mac or a Windows machine will start a backup program
> > when pressed.
> >
> > I wasn't able to find such a program for Linux and I was wondering if
> > there is a way I can detect the button press in Ubuntu

Look around for scanbuttond. It's a utility that runs scripts when it
detects button-presses on scanners. It can *probably* detect
button-presses on any USB device - or maybe not. Worth a look, anyway,
and it has a harmless default mode. If you just run it according to the
docs and start pressing buttons you should see quickly enough whether it
will be any use.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
Old fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017





More information about the ubuntu-users mailing list