rgerganov / footswitch

Command-line utility for PCsensor and Scythe foot switches
MIT License
414 stars 60 forks source link

cannot find footswitch with VID:PID=c45:7403 [init(), footswitch.c:96] #17

Closed torsava closed 8 years ago

torsava commented 8 years ago

I believe I do have a compatible foot switch (though I bought it off of AliExpress):

$ lsusb -d 0c45:7403
Bus 002 Device 010: ID 0c45:7403 Microdia Foot Switch

However, when I try to use the utility I get the aforementioned message:

$ footswitch -r
cannot find footswitch with VID:PID=c45:7403 [init(), footswitch.c:96]

I am on Fedora Linux 23, fully updated current system. I do have the hidapi and hidapi-devel packages installed. I followed the installation procedure.

I even tried to modify the C code to investigate if it correctly understands it runs on Linux and not OSX (footswitch.c line 76) and it does. Now I'm out of ideas.

Any help or pointer would be greatly appreciated!

torsava commented 8 years ago

Solved, I was running the command without sudo / not as the superuser. With sudo it works!

tanin47 commented 8 years ago

I have this exact problem, and running it with sudo solves it.