December 09, 2019, 08:04:59 am

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Cubietruck + Temperhum = :)

Started by rbernardes, February 08, 2015, 07:06:59 pm

Previous topic - Next topic

rbernardes

Hello guys!
Today I took the time to install temperhum(ID 0c45:7402) on linaro 14:04.
Here the steps:

sudo apt-get install libudev-dev libusb-1.0.0-dev libfox-1.6-dev autoconf cmake libtool
cd ~
git clone git://github.com/signal11/hidapi.git
cd hidapi/
./bootstrap
./configure
cd libusb/
make
sudo make install

cd ../../

git clone git://github.com/edorfaus/TEMPered.git
cd TEMPered/
mkdir build
cd build/
cmake ..
make
cd utils/
sudo ./tempered
cd ../
sudo make install

cp ~/TEMPered-master/build/libtempered-util/libtempered-util.so.0 /usr/local/lib
cp ~/TEMPered-master/build/libtempered/libtempered.so.0 /usr/local/lib/
ldconfig

Create an 80-temper.rules file in /etc/udev/rules.d:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7401", GROUP="users", MODE="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7402", GROUP="users", MODE="0666"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7403", GROUP="users", MODE="0666"

Then do
sudo usermod -a -G users $USER

And
sudo service udev restart

And VOILA!
http://rbernardes.mooo.com:81

Source/credits: http://verahill.blogspot.com.br/2014/05/579-temperhum-0c457402-on-debian-linux.html


dutoitc

Cool ! but just a little update to make it greater:

This edorfaus fork includes the latest keys (v1.2): https://github.com/forrestv/TEMPered
At the end, add "sudo chmod +s /usr/local/bin/tempered" to make it available to all users.
Then, to call it, call "tempered"