Re: Linux USB file storage gadget with new UDC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>> Thanks. Working on this problem now. Another problem observed for
>> SCSI_READ_10 command, when reading from the SD card, the gadget driver
>> never sends the MBR address, the FAT boot record address, the start of FAT
>> address, and the start of FAT cluster address to the SD card driver.
>
> The gadget doesn't make up addresses by itself.  It always sends the
> address the host tells it to send.
>
>> The
>> address sent by gadget driver is wrong.
>
> Then the address sent by the host is wrong.
>
> However, I suspect you are mistaken.  In your usbmon trace earlier, the
> very first READ(10) command had a logical block address of 0.  That is
> the address of the MBR.  If the driver hadn't failed at that point, the
> host would have gone on to ask for the address of the boot sector and
> other things.

Yes, the very first READ(10) command has a logical block address of 0
(as shown below). I will generate the  fresh usbmon trace the next
day, i do not have access to the platform now.

f59e13c0 3246885432 S Bo:2:046:1 -115 31 = 55534243 0c000000 00100000
80000a28 00000000 00000008 00000000 000000

Thanks,
victor
--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux