sorry, not sure where to ask this question, but I've definitely got 99% there. I've got python3, pyusb, libusb. I def got my switch in rcm mode, but I get this usb timeout (which is happening). I was loing to look at your code and see if i can extend the timeout.
I'm on a 2017 mac, so usbc. but i'm the controller charger cable, so I hvae a a -> c adapater at the end. standard usb "charging" cables failed. I've got full blow thunderbold cables I could try:
err I got
Setting ourselves up to smash the stack...
Uploading payload...
Traceback (most recent call last):
File "fusee-launcher.py", line 479, in <module>
switch.write(payload)
File "fusee-launcher.py", line 349, in write
self.write_single_buffer(chunk)
File "fusee-launcher.py", line 359, in write_single_buffer
return self.dev.write(0x01, data, 1000)
File "/usr/local/lib/python3.6/site-packages/usb/core.py", line 948, in write
self.__get_timeout(timeout)
File "/usr/local/lib/python3.6/site-packages/usb/backend/libusb1.py", line 824, in bulk_write
timeout)
File "/usr/local/lib/python3.6/site-packages/usb/backend/libusb1.py", line 920, in __write
_check(retval)
File "/usr/local/lib/python3.6/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 60] Operation timed ou
i tried to put a gist, but as a new user, i can to clutter this up.
so it detects my switch in RCM mode, but then idk wth happens. it's a time out deep in libusb (installed via brew)