[shr-u] Executing commands on USB insertion/removal?
larrycow at gmail.com
Wed Aug 19 08:38:16 CEST 2009
On Tue, Aug 18, 2009 at 5:03 PM, Sebastian
Krzyszkowiak<seba.dos1 at gmail.com> wrote:
> Use /etc/freesmartphone/oevents/rules.yaml. You should be able to use
> usb insertion event as input device.
Thank you, I'll look into it. But meantime I realized my script only
needed to know whether the USB networking was up or down, and
/sys/class/net/usb0/carrier did the trick better than I had intended.
More information about the community