TEMPered icon indicating copy to clipboard operation
TEMPered copied to clipboard

Simple suggestion for CMake newbies

Open JeffMings opened this issue 9 years ago • 2 comments

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.

JeffMings avatar Jun 06 '15 03:06 JeffMings

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

mendhak avatar Aug 05 '15 19:08 mendhak

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 https://github.com/padelt/temper-python/issues/84 but I don't know how to script that process. EDIT: just got it to work! See the above link for my solution.

jbeale1 avatar Jun 17 '18 16:06 jbeale1