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

Simple suggestion for CMake newbies #35

Open
JeffMings opened this issue Jun 6, 2015 · 2 comments
Open

Simple suggestion for CMake newbies #35

JeffMings opened this issue Jun 6, 2015 · 2 comments

Comments

@JeffMings
Copy link

I am thrilled that this project exists and is working across so many versions of hardware for the TEMPerX products. I'd like to make a quick suggestion for those of us who have been using make forever, and have never used cmake. Could you add something short like this to the README file? :

To build this project, you'll need to have a built copy of HIDAPI[1] on your
system somewhere, and a working installation of the CMake[2] build system.

First, you either run make in the top-level directory, or create a build
directory and run cmake yourself - then change into the build dir and run make.

For example, if you’ve unzipped the source into the folder TEMPered ,
mkdir build
cd build
make ..
make install ..

CMake will create several compile-related folders and files in TEMPered/build.
The resulting messages will tell you where the library/resource files and binaries have been copied to.

@mendhak
Copy link

mendhak commented Aug 5, 2015

CMake noob here, the instructions weren't clear to me. I got it to work like this (for future searchers):

mkdir build
cd build
cmake ..
make
make install

Then the utility was available at utils/tempered

@jbeale1
Copy link

jbeale1 commented Jun 17, 2018

Got a "new updated" TEMPer 413d:2107 device from Amazon. The Windows software "TEMPer V26.1" from SHENZHEN RDING TECH CO.,LTD. works and reports "Firmware: TEMPerGold_V3.1" The included 1-page "User Manual" claims Linux support, without further explanation. It's from ikkegol.com and they were brave enough to include a support email address, but no reply yet. The TEMPered project 'hid-query' sees only my keyboard and mouse, not the TEMPer device. I did compile and install the github.com/signal11/hidapi project using libusb backend (not hidraw) and then I was able to read out the hex string containing the temperature value using 'sudo hidapi/testgui/testgui' and then connecting to the second 413d:2107 device that appears, and manually sending 0x01 0x80 0x33 0x01 0x00 0x00 0x00 0x00 to it as described at padelt/temper-python#84 but I don't know how to script that process.
EDIT: just got it to work! See the above link for my solution.

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

3 participants