|
From: <jo...@be...> - 2024-05-07 13:32:05
|
Hi, >The above Wiki has a link to the following blog post which talks about the difficulties > in enumerating the devices using web applications. >https://web.dev/articles/porting-libusb-to-webusb#using-the-port Thanks. After some more debug, I think the problem relates to the value of MAX_CTRL_BUFFER_LENGTH in emscripten_webusb.cpp. It's currently 4096. There's a comment that says transfers may fail if this is too big - and reducing it to 255 seems to enable the code to work on Windows. >If that does not help, please create a new issue in libusb github. >https://github.com/libusb/libusb/issues Have added: https://github.com/libusb/libusb/issues/1493 with some more details. Cheers, Jon |