Tag Archive

Howto run a script when a USB device IS Pluged

Published on 12/05/2009 By Filipe Teixeira

howto run a script when a USB device is pluged in This explains how you could run a script made by you (say /usr/local/my_script) when you plug a specific USB device. 1. First run lsusb to identify your device. Example: $lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 040a:0576 Kodak Co. [...]