How to be alerted when a USB tool was connected in?

My system needs to vehicle - place USB devices ; just how can I be alerted when a USB tool is connected in? Where can I find out more concerning this topic?

I would love to manage this trouble using C or a covering manuscript.

2019-05-18 22:38:03
Source Share
Answers: 1

Udev assistance running external programs

KERNEL=="sdb", RUN+="/usr/bin/my_program"
2019-05-21 07:19:12