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