[01:25:24] libusb returns -1 (i/o error) [01:25:52] and continues to return it on subsequent api calls [01:26:15] can you get a wireshark trace of that and compare it to the python one? [01:53:11] TheSeven: IIRC it works on linux, it fails only on windows [01:53:19] i can get a usblyzer dump [01:53:42] but the call does not show in the log, it fails without sending anything [01:59:21] from the libusb source: memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength); [01:59:32] what if wLength is zero ... [02:01:49] so any further api calls fail without it actually even *attempting* to send something? [02:02:03] that suggests that the culprit might actually be the packet *before* that, or the ipod's reaction to it [02:06:02] the last call before this one is a status check [02:17:03] TheSeven: https://github.com/libusb/libusb/issues/91 [02:41:37] how does python do it then? does it use winusb directly? [02:42:55] *** Quits: PritchardGSD (~dog@CPE-124-181-72-4.lns9.win.bigpond.net.au) (Ping timeout: 250 seconds) [02:44:27] *** Joins: PritchardGSD (~dog@CPE-124-181-72-4.lns9.win.bigpond.net.au) [02:57:28] TheSeven: IIRC i'm using the libusb-win driver, and it works [02:57:59] will do more test tomorrow [02:58:05] * user890104 goes to sleep [02:59:28] if an army of head-fi users invades the channel, it's because of my post in the forums, asking for testers of the new bootloader and rockbox build [04:13:44] *** Quits: [Franklin] (~franklin@unaffiliated/franklin) (Quit: Lost terminal) [06:31:55] *** Quits: TheSeven (~quassel@rockbox/developer/TheSeven) (Disconnected by services) [06:32:05] *** Joins: [7] (~quassel@rockbox/developer/TheSeven) [09:46:37] *** Joins: STeeF (~STeeF@office.hostnetbv.nl) [13:58:55] *** Quits: [7] (~quassel@rockbox/developer/TheSeven) (Ping timeout: 250 seconds) [13:59:17] *** Joins: TheSeven (~quassel@rockbox/developer/TheSeven)