From: Tim Roberts on 9 Apr 2010 23:11 PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote: > >Here is the complete code >... > >#define INTERRUPT_IN_ENDPOINT_INDEX 0 >#define BULK_OUT_ENDPOINT_INDEX 1 >#define BULK_IN_ENDPOINT_INDEX 2 Are you sure that's how your device's endpoints are laid out? Many USB mass storage devices only have bulk pipes. How did you install this? What was the device ID you put in the INF, exactly? Hint -- if you used a USBSTOR\xxxx device ID, then you are loading at the wrong spot in the stack. You would need to be a storage device, not a USB device. Even if you did load on the USB\VID_xxxx&PID_xxxx device, which is what you seem to be expecting, I don't think you appreciate what's you're up against. You can't just pass the read requests through as you receive them. You have to convert the disk-oriented read requests you get into the SCSI command set that USB Mass Storage Class uses. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc. |