I have these adapters
/* expect two bytes 0x56 0x00 */ r = ch341_control_in(dev, 0x95, 0x2518, 0, buffer, size); if (r < 0) goto out; /*Comment this line out and recompile*/ //r = ch341_control_out(dev, 0x9a, 0x2518, 0x0050); if (r < 0) goto out;
Everything works now
I have these adapters
/* expect two bytes 0x56 0x00 */ in(dev, 0x95, 0x2518, 0, buffer, size); out(dev, 0x9a, 0x2518, 0x0050);
r = ch341_control_
if (r < 0)
goto out;
/*Comment this line out and recompile*/ //r = ch341_control_
if (r < 0)
goto out;
Everything works now