Re: [linux-usb-devel] CURRENT->sector is always zero !!!

2005-03-14 Thread mohanlal jangir
x27;t migrate to 2.6 since I don't have 2.6 kernel sources available at my home PC and I don't have internet connection there :( Regards Mohanlal - Original Message - From: "Pete Zaitcev" <[EMAIL PROTECTED]> To: "mohanlal jangir" <[EMAIL PROTECTED]>

[linux-usb-devel] CURRENT->sector is always zero !!!

2005-03-13 Thread mohanlal jangir
I am writing a driver for USB card reader. Unlike Linux mass storage driver, it doesn't use SCSI interface. Here is what I did: I have registered a block device driver. It's request_fn sends READ and WRITE request to my USB device using USB protocol. When I try to do raw access to the device, it

[linux-usb-devel] USB mass storage driver query

2005-02-21 Thread mohanlal jangir
Could someone tell me the difference between "dCBWDataTransferLength" field of CBW and "Transfer Length" field of CBWCB (e.g. READ(10) )? Another question is; Do we need to have DMA capable memory allocated for reading data from a USB mass storage device? Regards Mohanlal -

[linux-usb-devel] usb mass storage drive queries

2004-02-01 Thread mohanlal jangir
I am using USB8IN1 card reader and have been looking in usb mass storage driver from some time. Can somebody tell me, name of the function which performs actual data transfer to/from the device. Is it usb_stor_bulk_msg? Also where the LUN is stored? For example, my device has 4 LUNs. How and where

Re: [linux-usb-devel] USB mass storage driver queries !!

2004-01-12 Thread mohanlal jangir
> I hate to say this, but it sounds like you're in _way_ over your head > But, here are a few pointers: :-( I am sorry. Being a newbie, my questions might be silly. I have another question, how driver detects multiple memory slots over device (for CF, SM etc)? > The glue with the SCSI layer

[linux-usb-devel] USB mass storage driver queries !!

2004-01-10 Thread mohanlal jangir
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: P