Getting Hot Plug/Unplug Notification
Quoted 3 lines · madhav chauhan
Hi All,
I want to get hot plug event in my C code whenever USB device is plugged in/out.
Link to libudev for this.
Quoted 1 line
How can i get VID/PID of USB device plugged out/in??
Yes.
Quoted 1 line
Can somebody help me for the same, any sample code available??
Look at the libudev examples, they should help you out.
Hope this helps,
greg k-h
Hi All,
I want to get hot plug event in my C code whenever USB device is plugged in/out.
How can i get VID/PID of USB device plugged out/in?? Can somebody help me for the same, any sample code available??
Regards,
Madhav