Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tested working on OSX+Linux, update readme. #3

Closed
trbocode opened this issue Sep 7, 2019 · 8 comments
Closed

Tested working on OSX+Linux, update readme. #3

trbocode opened this issue Sep 7, 2019 · 8 comments

Comments

@trbocode
Copy link

trbocode commented Sep 7, 2019

Linux needs sudo, and is kinda fiddely - I previousally had weird timeouts, but they seem to be gone now. Mac seems to work fine through.
Mapping, dumping keys, and unmapping worked greatly on both Arch Linux and Mac OS X.

@pixeltris
Copy link
Owner

pixeltris commented Sep 7, 2019

Hmm, wonder what is causing the sudo requirement. I don't think the HIDSharp library should need sudo? Possibly something I'm doing wrong? I'll take a look at that at some point.

@trbocode
Copy link
Author

trbocode commented Sep 7, 2019

udev blocks access to /dev/hidraw unless you explicitly enable it/use root.

@pixeltris
Copy link
Owner

pixeltris commented Sep 7, 2019

Interesting, does that mean it isn't possible to interact with the HID protocol without root (or enabling hidraw manually)? That seems a bit odd to me.

@trbocode
Copy link
Author

trbocode commented Sep 7, 2019

I assume it can be accesed, just not the way your software/hidsharp does it. In any case, working on root is a good enough workaround for me, through it would have to be debbuged further.

@pixeltris
Copy link
Owner

Updated README to state that it works on Linux (with sudo requirement).

@ljsherlock
Copy link

I'm having trouble getting the built exe file to run with mono. It just hangs right after I press enter with no output forever.

Any guidance would be greatly appreciated.

@pixeltris
Copy link
Owner

There wont be any output until it detects a keyboard (at which point it will print out the keyboard info). I'm not sure why it wouldn't be picking up your keyboard though.

@alabnt
Copy link

alabnt commented Mar 30, 2022

I have this problem too. It just outputs my keyboard info, and then proceeds to hang for quite a while. I killed it after a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants