1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/arm/tms320dm320/sansa-connect
Tomasz Moń 663d846cf3 Sansa Connect: Disable endpoint double buffering
Disabling double buffering results in expected CPPI TX behaviour. With
the double buffering enabled, sending single ZLP resulted in two ZLPs
being available. The two ZLPs is problematic because this causes Windows
to reset USB device after failed SCSI command.

The problematic sequence on Windows 10 was as follows:
  * Host sends SCSI Mode Sense(6) Informational Exceptions Control(0x1C)
  * Device sends ZLP
  * Device sends command failed response

With endpoint double buffering enabled the ZLP was read twice by host.
As host was expecting command response on the second read (and got ZLP
instead), host attempts recovery by resetting USB device and retrying.

Change-Id: I64e95998f429ffb7b14143d956b1f29d20218d14
2021-06-12 13:54:54 +00:00
..
adc-sansaconnect.c Sandisk Sansa Connect port (FS #12363) 2011-11-16 14:08:01 +00:00
adc-target.h adc-target.h: cleanup 2012-01-08 00:39:29 +00:00
avr-sansaconnect.c Sansa Connect: Remove fake battery voltage scale 2021-06-10 08:43:32 +02:00
avr-sansaconnect.h Sansa Connect: Use sleep() instead udelay() in AVR spi_txrx. 2011-12-15 15:33:53 +00:00
backlight-sansaconnect.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight-target.h Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
crt0-board.S Sansa Connect: Set unknown GIOs to state with lowest power consumption. This slightly improves runtime. 2011-12-26 09:45:18 +00:00
lcd-sansaconnect.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-target.h Sansa Connect: Use Image Buffer for screen updates. 2011-12-19 06:31:49 +00:00
pcm-sansaconnect.c pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
power-sansaconnect.c Sansa Connect: Use sleep() instead udelay() in AVR spi_txrx. 2011-12-15 15:33:53 +00:00
tnetv105_cppi.c Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00
tnetv105_cppi.h Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00
tnetv105_usb_drv.c Sansa Connect: Disable endpoint double buffering 2021-06-12 13:54:54 +00:00
tnetv105_usb_drv.h Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00
usb-sansaconnect.c Sansa Connect: Initial TNETV105 driver port 2021-06-06 07:57:38 +00:00