On Fri, Nov 19, 2010 at 03:23:16PM +0530, nidhi mittal hada wrote:
Oh.. i understood ... Thanks ...i am realising my silly question ... Please CMIIW ... As For pendrive with a filesystem on it ..and mounted .....its just like any other path on my system we can access it and create file read/write in file using normal C file operations. Then my doubt is ...where do we need to use libusb ? Is it when ..we dont have pendrive but any other device like camera etc .. where reading from it is not like reading from a file on filesystem ..and we need to interact with linux driver for camera .....?
you will use libusb (generally) when there isn't a driver fo that device. If there's a driver, there's also some abstraction on top and you won't talk to the device via USB transfers. -- balbi -- 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