Re: Linux USB file storage gadget with new UDC

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

 



Hi,

>> f59e13c0 3246885432 S Bo:2:046:1 -115 31 = 55534243 0c000000 00100000
>> 80000a28 00000000 00000008 00000000 000000
>> f59e13c0 3246885582 C Bo:2:046:1 0 31 >
>> f59e15c0 3246885594 S Bi:2:046:1 -115 4096 <
>> f59e15c0 3247150217 C Bi:2:046:1 -75 0
>
> This is the problem.  -75 is -EOVERFLOW; it means the host received a
> packet that was larger than expected.  Since the maxpacket value for a
> bulk-in endpoint is 512, your UDC must be sending bulk DATA packets
> with more than 512 bytes.
>
> Alan Stern

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 address sent by gadget driver is wrong. So is the gadget
driver designed to work with SCSI/SATA/ATA drive only?

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