On Thu, 13 Oct 2005, Ivy wrote: > Hi All, > > I am here with some set of doubts... Hope you people guide me > right direction. > > I would like to know, all USB devices (like BT dongle, camera) connected to > my system . To know this , i would like to have a kernel module with callback > function. This callback function would be registered with all USB client > driver. (driver above usbcore like mass storage drivers, bluetooth drivers). > Obviously whenever USB device connected with the system or removed from the > system. USB core will call the CLIENT drivers functions (probe, disconnect). > From those function my module callback would be called for notification. > > ll be better way to do this ?.. Is there any suggestion for > achieving this ?..
You can do what you want in userspace by using hotplug events. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
