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

HID openAll not supported on OSX yet #14

Open
monorkin opened this issue Jan 30, 2018 · 4 comments
Open

HID openAll not supported on OSX yet #14

monorkin opened this issue Jan 30, 2018 · 4 comments

Comments

@monorkin
Copy link

monorkin commented Jan 30, 2018

Hi!

I've tried to compile this repo on a Mac today, and managed to do it, but every time I run pok3rtool i get the following output:

➜  build (master) ✗ ./pok3rtool list
[00:00:00:000] N List Devices...
[00:00:00:001] E HID openAll not supported on OSX yet
[00:00:00:001] E HID openAll not supported on OSX yet
[00:00:00:001] E HID openAll not supported on OSX yet
[00:00:00:002] E HID openAll not supported on OSX yet
[00:00:00:002] E HID openAll not supported on OSX yet
[00:00:00:002] E HID openAll not supported on OSX yet
[00:00:00:002] E HID openAll not supported on OSX yet
[00:00:00:002] E HID openAll not supported on OSX yet
[00:00:00:003] E HID openAll not supported on OSX yet
[00:00:00:003] E HID openAll not supported on OSX yet
[00:00:00:003] E HID openAll not supported on OSX yet
[00:00:00:003] E HID openAll not supported on OSX yet
[00:00:00:003] E HID openAll not supported on OSX yet
[00:00:00:004] E HID openAll not supported on OSX yet

Steps taken to compile the repo:

git clone git@github.com:ChaoticConundrum/pok3r_re_firmware.git
cd pok3r_re_firmware
git submodule update --init
mkdir build
cd build
CMAKE_PREFIX_PATH=/usr/local/Cellar/openssl/1.0.2m/ cmake ../pok3rtool
make all

Any pointers as to what is wrong or how I can resolve this issue?

EDIT:
Forgot to mention:
macOS 10.12.6
cmake version 3.9.4
GNU Make 3.81
OpenSSL 1.0.2m

@monorkin
Copy link
Author

I get the same output with sudo

@monorkin
Copy link
Author

monorkin commented Jan 30, 2018

I didn't run it under the root user but under my user stanko. As you suggested, I tried running it with sudo but I got the same output.

@ChaoticEnigma
Copy link
Member

As the error message implies, that function isn't supported on OSX. (I think it was just an implementation headache, so I might get back to it). openAll is only used by the list command, so you can still use all the other commands, as long as you know the type of your keyboard. If you have a Pok3r, you would specify pok3rtool version -t pok3r (and sudo if necessary)

@monorkin
Copy link
Author

Thanks, it works with the -t pok3r option.
I just came back from work and saw that openAll isn't supported in rawHID. Hope that gets fixed in the future.

I'm not sure if I should close this issue or if you want to keep it as a reminder, so I'll leave the closing to you.

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

2 participants