USB button press detection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anonymous
    Banned
    New Member
    • Sep 2005
    • 99

    USB button press detection

    Hello, wasn't quite sure where to ask this....

    I have a coolermaster xcraft external hard drive case.

    It has a button on the front that performs an action when you install some program in windows.

    I was wondering whether it is possible to monitor the usb port to detect the signal this button sends.

    Basically i just want ot be able to have the same functionality in linux.

    e.g., launching a backup script

    Regards
  • svlsr2000
    Recognized Expert New Member
    • Feb 2007
    • 181

    #2
    [font=Verdana][size=2]I guess you can use hot plug. See man pages of hot plug[/size][/font]
    hotplug is a program which is used by the kernel to notify user mode software when some significant (usually hardware-related) events take place.

    Comment

    Working...