On Thu, Mar 12, 2009 at 10:26:47PM +0800, vichy wrote: > Dear all: > I am porting ehci-host driver on my arm platform. > So far the host seems correctly enabled, but I have no idea how to > read the contents of USB storages as Ubuntu does. That would be up to the usb-storage driver, have you loaded that? > I find there is a tool called hotplug which can automatically do the > job for me, hotplug is deprecated, please use udev instead. And that just controls the loading of kernel modules (and other stuff like creating device nodes), not reading from a file system. > but I have trouble to cross-compile it on my platform. hotplug was shell scripts, no binary at all, I don't think you are looking at the correct thing. > And I decide to build the drivers I need one by one. > If someone knows the whole list of drivers I need, please let me know. > ( The module utility is fail on my platform, so I use build-in to > develop driver.) usb-storage. > BTW, I find usbcore register a char device as major, 180 but I cannot > see any device node with major as 180 when I plug my usb-flash into my > ubuntu. That's because usb-storage is a block device, not a character one. good luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html