Add proper BI2X support #65

Open
opened 2020-10-18 22:13:58 +03:00 by icex2 · 0 comments
icex2 commented 2020-10-18 22:13:58 +03:00 (Migrated from github.com)

In GitLab by @xyen on Oct 18, 2020, 21:13

Summary

Currently bemanitools doesn't support BI2X, only BIO2 input emulation. This issue is for adding support.

Detailed description

Lightning cabs use a BIO2 flashed with a different firmware (BI2X). The protocol is very non-trivial to reverse, as a stop-gap we've provided a hook based implementation, but it would be nice to write full support for it.

Benefits

  • Line level lightning cab emulation

Current blockers

  • Reversing the protocol

Notes

  • The protocol is still serial, but is NOT ACIO
  • For packet data > some length, the data is compressed with a custom LZ variant (custom to avoid certain bytes on the line like 0xAA)
  • Additionally the main packet contents are scrambled / encrypted in some way (from what I can tell at least)
In GitLab by @xyen on Oct 18, 2020, 21:13 ## Summary Currently bemanitools doesn't support BI2X, only BIO2 input emulation. This issue is for adding support. ## Detailed description Lightning cabs use a BIO2 flashed with a different firmware (BI2X). The protocol is very non-trivial to reverse, as a stop-gap we've provided a hook based implementation, but it would be nice to write full support for it. ## Benefits - Line level lightning cab emulation ## Current blockers - Reversing the protocol ## Notes - The protocol is still serial, but is NOT ACIO - For packet data > some length, the data is compressed with a custom LZ variant (custom to avoid certain bytes on the line like 0xAA) - Additionally the main packet contents are scrambled / encrypted in some way (from what I can tell at least)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/djhackersdev_bemanitools#65