Messages in this thread | | | Date | Thu, 25 Mar 2004 16:33:06 -0800 | From | James Lamanna <> | Subject | Re: Figuring out USB device locations |
| |
Greg KH wrote:
> On Thu, Mar 25, 2004 at 09:20:47AM -0800, James Lamanna wrote: > >>Is there an easy way to find out what /dev entries usb devices get >>mapped to from userspace? > > > "easy way" on 2.4? No, sorry. You need 2.6 to determine this in a > simple manner. But there are some files in the /proc/bus/usb/ > and /proc/bus/input/ directories that will help you out.
Hmm...its not obvious to me how i can use /proc/bus/usb/xxx/yyy to get the /dev entry information. I can get the USB device number, but I don't see how to get at a mapping to a major/minor in /dev space (or is this not possible in 2.4)...
-- James Lamanna - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |