On Sun, Nov 11, 2007 at 07:28:54PM +0530, balajirrao wrote: > Hello ppl, > > Given a usb_device object, how can I obtain the port number in the hub > where it is plugged into ? What is the problem you are trying to solve here? The port number that a usb device is connected to is already exported to userspace, the kernel should never need to know this information. thanks, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ