Open bradphelan opened 6 years ago
Does WSL have the lsusb
command? If so, can you paste the output when the switch is connected?
First I found the HID data under the windows driver list
so VID = 0C45 PID = 7404
which seems to be on the list of supported ids
however running
sudo lsusb
returns no result. Maybe they are hidden from WSL ??
Yes, this is supported VID:PID but unfortunately it seems to be hidden in WSL. Please let me know if you manage to find a workaround.
I think there is no direct USB support under WSL only mounting of USB drives.
I found this but I'm not sure it's relevant. Is the footswitch a "serial" device as described in the link
https://blogs.msdn.microsoft.com/wsl/2017/04/14/serial-support-on-the-windows-subsystem-for-linux/
No, it is a USB HID device.
I know this is old but its still open and has no solution, I recently tried to use the pcsensor software and it wouldnt work in windows. noticed this project and im trying to get it working in windows but no luck.
error writing data ( [usb_write(), E:\footswitch-1.0\footswitch.c:147]
I have hidapi working though as I can get manufacture/product/serial number/indexed string(s) but usb_write doesnt work. is it possible usb_write(query) is wrong? or is this more possibly a permissions issue? I tried runing from an admin powershell. same thing happens. It would seem hidapi is able to read just not write.
Edit: im testing with VID = 0C45 PID = 7403
Edit2: seems like it might be a win10 restricktion that libusb would fix
I have a PCSensor foot pedal. When plugged it windows 10 says it is a
Footswitch1-F1.8
I've tried the software under WSL but when I do
footswitch -r
I get
Is this a WSL problem or the footswitch model is not supported?