Originally Posted by
MK27
Hardware is a "kernel space" realm; the things you refer to are "user space" applications that rely on the kernel 100% to inform them.
So, you could write a simple kernel module and that will be a sure fire, custom method if you want notification of USB events. But then you have to learn some kernel programming.
On the other hand, I have not looked at the API for libusb. "kudbd" or whatever is a distro specific thing, maybe you could use that. There are more universal high level methods you could use such as putting a hook into the kernel log, or into /proc, both of which record USB events.
Just keep googling and find a method that works for what you want to do...but on a low level, using the kernel C API is probably the only way.