Hey
I think this question has more to do with linux than python actually. I will post it here nonetheless.
I have recently written a script to detect activity on my usb ports. It simply keeps polling the output of the 'LSUSB' shell command and detects changes based on successive comparisons. This works fine... but I still have a problem about how to connect this change to an actual location on my system (path to the usb device). I thought of polling the output of mount, as the pen drives and hard drives get auto mounted on my system. But what if two are plugged together??
Is there some way I can perhaps make a connection with the info I get from 'lsusb' to a physical location corresponding to that device?
Thanks
Asim

