-   Linux - Distributions (
-   -   USB insertion notification (

paldebojyoti 08-20-2009 07:19 AM

USB insertion notification

How do my user space application get the notification of USB device insertion / removal from the USB core? I don't want UDEV rule to be used to get the notification.

Thanks in advance.


MS3FGX 08-20-2009 09:09 AM

System notification is handled via D-BUS on Linux. UDEV is used to create device nodes for connected hardware, which is a separate issue entirely.

neonsignal 08-20-2009 09:30 AM

You may be able to use the 'libhal_ctx_set_device_added' to set a callback function at the hal layer (see tutorial here).

paldebojyoti 08-21-2009 05:32 AM

Hi neonsignal,

Thanks a lot, this link helps me a lot.


All times are GMT -5. The time now is 10:21 PM.