Hi, I want to write a function that detects what USB devices are connected to the bus. How can you do that efficiently? Can you scan the PCI bus in some way? Or what do you think of the idea of using poll() and detecting changes in the /proc/bus/usb/devices function? Thanks. / Moge -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/