Difference between revisions of "CHIP"

From GIMX
Jump to: navigation, search
(Created page with " == 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 a...")
 
(Modifying C.H.I.P. Power Limitations)
 

(13 intermediate revisions by 2 users not shown)

Line 7: Line 7:
  
 
Please refer to: [http://www.chip-community.org/index.php/Troubleshooting#Abrupt_Shutdowns Abrupt Shutdowns] for more information.
 
Please refer to: [http://www.chip-community.org/index.php/Troubleshooting#Abrupt_Shutdowns 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 [http://creativecommons.org/publicdomain/zero/1.0/ 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:
 +
 +
<pre>sudo wget -O /etc/init.d/axp209-nolim <nowiki>http://fordsfords.github.io/axp209-nolim/axp209-nolim</nowiki>
 +
sudo chmod +x /etc/init.d/axp209-nolim
 +
sudo update-rc.d axp209-nolim defaults</pre>
 +
 +
'''Step 2.''' Now, do a graceful restart:
 +
 +
<pre>sudo shutdown -r now</pre>
 +
 +
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
 +
 +
<pre>wget <nowiki>https://gimx.fr/download/gimx-raspbian</nowiki> -O gimx.deb
 +
sudo dpkg -i gimx.deb
 +
sudo apt-get -f install</pre>
 +
 +
'''Step 2.''' Stop & Disable Console TTY (make sure u are connected through SSH)
 +
<pre>sudo systemctl mask serial-getty@ttyS0.service
 +
sudo systemctl stop serial-getty@ttyS0.service</pre>
 +
 +
'''Step 3.''' Create GIMX directories
 +
<pre>mkdir -p ~/.gimx/{macros,config}</pre>
 +
 +
'''Step 4.''' Download and move the Configurations
 +
<pre>wget https://github.com/matlo/GIMX-configurations/archive/master.zip
 +
unzip master.zip
 +
mv GIMX-configurations-master/Linux/* ~/.gimx/config</pre>
 +
 +
'''Step 5.''' Delete the file master.zip and the directory GIMX-configurations-master
 +
<pre>rm master.zip
 +
rm -rf GIMX-configurations-master</pre>
 +
 +
You are now ready to start using GIMX.
 +
 +
'''NOTE''': Keep in mind that the serial interface is '''/dev/ttyS0'''

Latest revision as of 15:24, 21 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 -p ~/.gimx/{macros,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