I have a USB 8IN1 card reader and when I insert the device, I get following new entry in /proc/bus/usb/devices
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=058f ProdID=9360 Rev= 1.00 S: Manufacturer=Generic S: Product=Mass Storage Device S: SerialNumber=9206051 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms This tells that usb-storage is the driver for this device. Well, I am not going to reinvent the wheel, but for learning purpose, I thought to write the driver by myself. Therefore I compiled the kernel without usb-storage and now I get exactly same entry in /proc/bus/usb/devices expect Driver=none and also I get message like "device 58f/9360 not claimed by any active driver", which seems to be OK. I have some questions regarding usb driver: 1. I don't have any manual for my device. Can someone tell me information about "Vendor=058f ProdID=9360". While searching over web, I found an article "AU9360 USB Multiple Slots Flash Memory Card Reader Controller TRM". Is my device belong to this? 2. While querying about my device through my novice driver, I found following information regarding device. It has 1 configuration, 1 interface, 1 alternate setting and 2 endpoints. 1 endpoint is bulk in and other is bulk out. Can somebody explain me these with respect to my device. I have been reading "Programming Guide for Linux USB Device Drivers", but yet not very much clear about these terms? 3. As I mentioned, I see endpoints as bulk in and bulk out. Does it mean I have to register the device as block device? 4. In usb-storage.c, I see the driver glues with SCSI. So far I am not able to understand usb-storage.c very well, but I think this is done for file_operations support. If I provide my separate file_operations (like read, write etc), do I still need to glue with SCSI drivers? Regards Mohanlal ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel