Skip to content

Instantly share code, notes, and snippets.

@todbot
Last active April 2, 2018 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todbot/cd1ab20487571f0fa6b2e5e59772fb49 to your computer and use it in GitHub Desktop.
Save todbot/cd1ab20487571f0fa6b2e5e59772fb49 to your computer and use it in GitHub Desktop.
Running blink1-tool on Asus CN62 Chromebox

Below are two ways to run blink1-tool to control blink(1) on a Chromebox via the command-line. To get a command-line, you need to enable developer mode on the Chromebox.

Method 1: Download pre-compiled blink1-tool for Linux

sudo mkdir -p /usr/local/bin
cd /usr/local/bin
curl -OL https://github.com/todbot/blink1/releases/download/v1.98a/blink1-tool-v1.98a-linux-x86_64.zip
sudo unzip blink1-tool*zip
sudo /usr/local/bin/blink1-tool --blink 3

Note you must place blink1-tool in /usr/local and not the user directory because the user dir is mounted noexec. And you have to run it with sudo because udev permissions aren't set up.

Method 2: Compile blink1-tool yourself

Alternatively, if you want to compile blink1-tool by hand, you can install Chromebrew (https://github.com/skycocker/chromebrew) and do:

crew install libusb
mkdir /usr/local/projects && cd /usr/local/projects
git clone https://github.com/todbot/blink1
cd blink1/commandline
make
sudo ./blink1-tool --blink 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment