简体   繁体   中英

How to get USB notifications under linux / Qt?

I am newbie to linux and qt .

I want to get notify when usb get inserted and removed .

How to do it ?

This sounds like a job for DBus . I also think this answer could be of use to you.

There was a similar question. Take a look here . Maybe it can help. Btw. Since you are a newbie, I would suggest to avoid DBus if possible, as usually it is a pain in the ass.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM