Skip to content

PocketCHIP

The PocketCHIP is an awesome handheld SBC that was made to be a portable Linux device.

Here are some tidbits I found useful:

THE CHIP

BUYING A POCKETCHIP

The original company is defunct. You can scour ebay or craigslist. One alternative is the Chip Reddit community

FIRMWARE UPDATING

There is alot going on here that needs to be covered. I created an offline copy of the following linked info, but its best to go there as its getting updated and cleaned up alot these days.

http://www.chip-community.org/index.php/Flash_from_command_line

TWEAKS

DISABLE AUTO-LOGIN

  1. Edit /etc/lightdm/lightdm.conf
  2. Add a # in front of "autologoin-user=chip"

ENABLE SSHD

  1. Install the software.

    sudo apt install ssh openssh-server
    
  2. Edit /etc/ssh/sshd_config

    * Fix line to be : PermitRootLogin no
    
  3. Enable and start it

    sudo systemctl enable ssh
    sudo systemctl start ssh
    
  4. Top determine your CHIP's IP address

    ip addr show wlan0
    

FIX REPOS

The original vendor is dead, as are their site, forums, and most importantly -- repos. The community stepped up and is dealing with that. Here's how to fix it.

Change all the occurrences of "opensource.nextthing.co" to "chip.jfpossibilities.com" or "chip.lotek.fr" in /etc/apt/sources.list. To use Pico-8 you must also edit the apt preferences changing "opensource.nextthing.co" to the same archive you used in your sources.lst file.

sudo nano /etc/apt/sources.list     #Stock password for root is 'chip'

REMOVE I18N CRUFT

If English is your language of choice, you can remove all the internationalization (i18n) repos from apt.

  1. Edit (or create) a file called /etc/apt/apt.conf

    sudo vi /etc/apt/apt.conf
    
  2. Then add the following directive;

    Acquire {
               Languages "none";
    };
    
  3. Remove any existing “i18n” files from /var/lib/apt/lists/

    cd /var/lib/apt/lists
    sudo rm -i *i18n*
    

ADD LOCALES

    sudo apt update
    sudo apt install locales
    sudo locale-gen en_US en_US.UTF-8   # only use "en_US" if you are in the USA.
    sudo dpkg-reconfigure locales       # if in the USA, select "en_US" locales.
    sudo dpkg-reconfigure tzdata        # select your timezone

ADDITIONAL SOFTWARE

INSTALL XFCE4

You can use XFCE4 with PocketHome. Simply fix the repos if not done already (instructions are on this page). Then issue the following apt command:

    sudo apt install xfce4

POCKETHOME

This is a replacement home screen. Currently its early in development, and is at a first glance more of an extension of what is shipped stock. https://github.com/AllGray/PocketDesk

POCKETINSTALLER

As the name implies, this is an installer for various apps, including PocketHome. https://github.com/IkerGarcia/PocketInstaller

  • BUGS TO BE FIXED AND NEED TO BE DONE PRIOR TO INSTALL:

  • Fix apt to allow unsigned packages. Create /etc/apt/apt.conf.d/99apt-unauthenticated and add the following line

    APT::Get::AllowUnauthenticated "true";
    
  • Install apt-transport-https

    sudo apt install apt-transport-https
    

OBDII DIAGNOSTICS

https://github.com/nyboer/NTCOBD