mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-01-18 23:14:02 +01:00
fix(iidx/ezusb): ezusb does not have a white dongle
This is one part of fixing the 10th style SQ-INIT boot error. For some reason, 10th style calls the "second dongle slot" which, according to the code, is expected to return the same data as the first (black) dongle slot. Original ezusb/C02/D01 IO boards do not have a second dongle round plug slot nor ever came with a splitter cable. I checked original manuals of the C02 conversion kit, E11 and ECO software upgrade kits. No white dongle nor additional hardware for any other dongle than a black dongle.
This commit is contained in:
parent
27e9775101
commit
eab80455b2
@ -181,16 +181,21 @@ uint8_t ezusb_iidx_emu_node_security_plug_process_cmd_v1(
|
||||
/* TODO ? */
|
||||
return EZUSB_IIDX_SECPLUG_CMD_STATUS_V1_OK;
|
||||
|
||||
case EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_BLACK_DONGLE:
|
||||
log_misc("EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_BLACK_DONGLE");
|
||||
// Black dongle
|
||||
case EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_1:
|
||||
log_misc("EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_1");
|
||||
ezusb_iidx_emu_node_security_plug_active_dongle_slot =
|
||||
EZUSB_IIDX_SECPLUG_DONGLE_SLOT_BLACK;
|
||||
return EZUSB_IIDX_SECPLUG_CMD_STATUS_V1_OK;
|
||||
|
||||
case EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_WHITE_DONGLE:
|
||||
log_misc("EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_WHITE_DONGLE");
|
||||
// Used by D01 to also address black dongle?
|
||||
// Note that iidx 9 to 13 never had a white dongle
|
||||
// The white dongle/separate eamuse license key was introduced
|
||||
// with iidx 14
|
||||
case EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_2:
|
||||
log_misc("EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_2");
|
||||
ezusb_iidx_emu_node_security_plug_active_dongle_slot =
|
||||
EZUSB_IIDX_SECPLUG_DONGLE_SLOT_WHITE;
|
||||
EZUSB_IIDX_SECPLUG_DONGLE_SLOT_BLACK;
|
||||
return EZUSB_IIDX_SECPLUG_CMD_STATUS_V1_OK;
|
||||
|
||||
default:
|
||||
|
@ -15,8 +15,10 @@ enum ezusb_iidx_secplug_command_v1 {
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_READ_ROM = 0x01,
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_READ_DATA = 0x02,
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_WRITE_DATA = 0x03,
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_BLACK_DONGLE = 0x04,
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_WHITE_DONGLE = 0x05
|
||||
// Black dongle
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_1 = 0x04,
|
||||
// Used by D01 to also address black dongle?
|
||||
EZUSB_IIDX_SECPLUG_CMD_V1_SELECT_DONGLE_2 = 0x05,
|
||||
};
|
||||
|
||||
enum ezusb_iidx_secplug_command_status_v1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user