Difference between revisions of "CHIP"

From GIMX
Jump to: navigation, search
m (GIMX on CHIP (tags: Next Thing Co. C.H.I.P.))
(GIMX on CHIP (tags: Next Thing Co. C.H.I.P.))
Line 32: Line 32:
 
This guide will assume you've already configured your CHIP's WiFi connection (by using the command: nmtui) and know it's IP address to be able to connect to it.
 
This guide will assume you've already configured your CHIP's WiFi connection (by using the command: nmtui) and know it's IP address to be able to connect to it.
  
'''Step 1.''' Download and Istall GIMX
+
'''Step 1.''' Download and Install GIMX
  
 
wget <nowiki>https://gimx.fr/download/gimx-raspbian</nowiki> -O gimx.deb
 
wget <nowiki>https://gimx.fr/download/gimx-raspbian</nowiki> -O gimx.deb

Revision as of 06:44, 20 December 2016

Power Limitations

C.H.I.P. is limited to 900mA by default thus connecting an USB HUB or any other Periphal that requires more than that will make the device to abruptly turn off.

At the time of this writing, version 4.4 No-limit won't be enough. You'll have to make changes in the system to remove this limitation.

Please refer to: Abrupt Shutdowns for more information.


Modifying C.H.I.P. Power Limitations

The following steps and script is Copyrighted by Steven Ford http://geeky-boy.com/ and licensed "public domain style under CC0.

If you are having power problems, you should first log into CHIP with all peripherals disconnected. These instructions assume you are in a shell prompt on CHIP.

Step 1. Get the shell script file onto CHIP:

sudo wget -O /etc/init.d/axp209-nolim http://fordsfords.github.io/axp209-nolim/axp209-nolim
sudo chmod +x /etc/init.d/axp209-nolim
sudo update-rc.d axp209-nolim defaults

Step 2. Now, do a graceful restart:

sudo shutdown -r now


For more information refer to: https://github.com/fordsfords/axp209-nolim

GIMX on CHIP (tags: Next Thing Co. C.H.I.P.)

This guide will assume you've already configured your CHIP's WiFi connection (by using the command: nmtui) and know it's IP address to be able to connect to it.

Step 1. Download and Install GIMX

wget https://gimx.fr/download/gimx-raspbian -O gimx.deb
sudo dpkg -i gimx.deb
sudo apt-get -f install

Step 2. Stop & Disable Console TTY (make sure u are connected through SSH)
sudo systemctl mask serial-getty@ttyS0.service
sudo systemctl stop serial-getty@ttyS0.service

Step 3. Create GIMX directories
mkdir ~/.gimx; mkdir ~/.gimx/macros; mkdir ~/.gimx/config

Step 4. Download and move the Configurations
wget https://github.com/matlo/GIMX-configurations/archive/master.zip

unzip master.zip
mv GIMX-configurations-master/Linux/* ~/.gimx/config

Step 5. Delete the file master.zip and the directory GIMX-configurations-master
rm master.zip
rm -rf GIMX-configurations-master

You are now ready to start using GIMX.

NOTE: Keep in mind that the serial interface is /dev/ttyS0