Skip to content

EUSBASPI 0.10

Choose a tag to compare

@geosone geosone released this 16 Nov 20:16
· 11 commits to main since this release

Changes since 0.9:

  • USB CD drives that only a port reset brings back (forum report, SK6221). Some firmware hangs on READ SUB-CHANNEL, and then even the bulk-only reset fails. After that, every command fails at once. In 0.9 the wake-up of such a drive gave up as soon as a command failed at once instead of timing out, so the USB port reset of /H never came. Now any transport failure counts like a timeout, and with /H the port is reset and the drive enumerated again. Without /H the port reset code is not resident.
  • Reset recovery after every transport error. Not only after a timeout but also after a CSW that stalls twice or a failed transfer, EUSBASPI sends the bulk-only reset and clears both bulk endpoints, as Linux does. Before, the device could stay stuck in its error state.
  • An optional CD command (READ SUB-CHANNEL and friends) that breaks the transport is answered by EUSBASPI itself from then on, like one that hangs.
  • The package contains the same OpenASPI drivers as 0.9 (0.1.0 Alpha 7), SHSUCDX and CDAUDIO from geosone/shsucd (76d847a), and the GeosOne DOS Installer 1.16.0.

Tested in QEMU, whose emulated CD drive happens to act like this firmware: it stops after READ SUB-CHANNEL and only takes commands again after a port reset. With the CD driver INICD 1.06 and /H, DIR, subdirectories and TYPE work with 0.10; with 0.9 the drive stayed dead. The test suites of 0.9 passed as well: QEMU (UHCI, OHCI, EHCI, xHCI), VirtualBox (OHCI, EHCI, xHCI with a USB DVD drive), and 86Box (UHCI, OHCI, with the CD firmware faults of 0.8).

Not yet tested on real hardware. Please test with care (backup!) and report.

🤖 Generated with Claude Code