Re: Linux USB file storage gadget with new UDC

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

 



Hi,

>> Yes, i see the bad characters in the log file. I apologize for that,
>> my eyes was in pain after looking thru the log files and did not
>> notice that when i attached the log file.
>>
>> The good news is i can get gadget to work with Lenovo x100e on Ubuntu
>> and Windows. The change is adding more delay after writing to endpoint
>> one IN FIFO register,  for the case of writing more than the endpoint
>> buffer size. However, the gadget only work on high-speed mode. If i
>> disable ehci_hcd driver in Ubuntu (force it to be full speed), the
>> same problem of SCSI_READ_10 command asking 4096 bytes and gadget
>> returning the data, and gadget reset, still happens.
>
> I can bring up the gadget in full speed mode now, so the SCSI_READ_10
> command problem is fixed. It is caused by an error interfacing to
> hardware.
>
> Now there is another problem with SCSI_MODE_SELECT_6 command, when in
> full speed mode, the data for SCSI_MODE_SELECT_6 command is 72 byte,
> and somehow the gadget is reset. Is it because gadget is not able to
> handle the amount of data? Please see the attached gadget log.
> Normally, in high speed mode, the data of SCSI_MODE_SELECT_6 command
> is 24 byte.

The problem is in UDC driver. i made the change, it is ok now.

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