Difference between revisions of "CHIP"
(→GIMX on CHIP (tags: Next Thing Co. C.H.I.P.)) |
(→GIMX on CHIP (tags: Next Thing Co. C.H.I.P.)) |
||
Line 8: | Line 8: | ||
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. | ||
+ | |||
+ | == Modify 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: | ||
+ | |||
+ | sudo wget -O /etc/init.d/axp209-nolim <nowiki>http://fordsfords.github.io/axp209-nolim/axp209-nolim</nowiki> | ||
+ | <br>sudo chmod +x /etc/init.d/axp209-nolim | ||
+ | <br>sudo update-rc.d axp209-nolim defaults | ||
+ | |||
+ | '''Step 2.''' Now, do a graceful restart: | ||
+ | |||
+ | For more information refer to: [https://github.com/fordsfords/axp209-nolim] | ||
+ | |||
+ | sudo shutdown -r now | ||
== GIMX on CHIP (tags: Next Thing Co. C.H.I.P.) == | == GIMX on CHIP (tags: Next Thing Co. C.H.I.P.) == |
Revision as of 07:13, 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.
Modify C.H.I.P. Power Limitations
The following steps and script is Copyrighted by Steven Ford [1] 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:
For more information refer to: [2]
sudo shutdown -r now
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 Istall 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 cd GIMX-configurations-master cd Linux mv * ~/.gimx/config cd ~
Step 5. Delete the file master.zip and the directory GIMX-configurations-master rm master.zip rm -rf GIMX-configurations-master