-
Notifications
You must be signed in to change notification settings - Fork 56
I try to write a USB connection, but it does not work well... #23
Comments
When runing at Debugger.java line 57, throw a exception :
then I try client connection again, get new exception:
try more times, still error 7. |
Awesome to see someone helping out with Noexes! All the client sided usb code I wrote is actually untested right now, and besides the vendor ID and product IDs they were borrowed from the usb4java examples. I unfortunately can't look I to it right now (besides feedback) as I'm having some problems with my PC, and I won't have new hardware till the end of this week. |
Actually, in UsbConnection.java I have wrong endpoint IDs (going by your lsusb stuff) ENDPOINT_READ should be 0x80 |
read = iface.getUsbEndpoint(READ_ENDPOINT); write = iface.getUsbEndpoint(WRITE_ENDPOINT); Maybe something wrong in my server-side code? |
That is possible but, I've also only had limited exposure with interfacing with usb devices and I've probably initialized it wrong client sided. |
Andi think I have your endpoints wrong .. try setting READ to 0x81 and WRITE to 0x01 |
I tried https://github.com/jakibaki/sys-netcheat, It search from memory of switch. |
Please try to stay on topic when talking about issues, and yeah it is faster to search console sided, however it also creates more overhead on the console. Noexes was designed to be as small and non-invasive as possible. |
Good afternoon, thank you very much for this program in advance, I just wanted to ask if there is still no way to connect via USB. |
https://github.com/rushairer/Noexes/blob/usb/server/source/noexs/source/usb.cpp
I get right idProduct
but the interface index is 0, READ_ENDPOINT is 0x81 , WRITE_ENDPOINT is 0x01, it that right?
The text was updated successfully, but these errors were encountered: