AIO-CM4-156 Start Guide¶
Setting up your AIO-CM4-156
This manual provides users with a fast guide of Chipsee Raspberry Pi Computer (Abbreviated as RPC) after reflashed Raspberry Official latest rleased OS. Through this manual, users can quickly setting up their AIO-CM4-156 to run Raspberry Official latest released OS.
What you will need¶
We recommend 12V 2A.
This device only support 12V Power Supply.
Installing the Operating System¶
You can reference Installing operating system images to know how to install the Operating System on your SD card.
Start up your AIO-CM4-156¶
Insert the SD card to SD Slot of AIO-CM4-156.
Add follow lines in your /boot/config.txt file:
disable_overscan=1 dtparam=i2c_vc=0n dtoverlay=i2c-rtc,ds1307,i2c_csi_dsi,addr=0x32
Add cmhelper PPA to your system manually by copying the lines below, and adding them to your system’s software sources /etc/apt/sources.list.d/cmhelper.list:
deb http://ppa.launchpad.net/chipsee/cmhelper/ubuntu bionic main deb-src http://ppa.launchpad.net/chipsee/cmhelper/ubuntu bionic main
Update list of available packages:
$ sudo apt update
You will get error “the public key is not available: NO_PUBKEY 06D92B49B9078A87”, you should use follow commands to receive key from ubuntu key server.
$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 06D92B49B9078A87
If the above commands is not useable and get warning “apt-key is deprecated. Manage keyring files in trusted.gpg.d instead” run follow commands instead.
$ sudo gpg –no-default-keyring –keyring gnupg-ring:/etc/apt/trusted.gpg.d/cmhelper.gpg –keyserver keyserver.ubuntu.com –recv 06D92B49B9078A87 $ sudo chmod 644 /etc/apt/trusted.gpg.d/cmhelper.gpg
The key 06D92B49B9078A87 may be diffrent with your error message, you should check your error, and use the right key.
$ sudo apt update $ sudo apt install cmhelper $ sudo reboot
Don’t forget to reboot to make cmhelper be installed completely.
How to use CMHelper¶
The CMHelper can help customer to use keys and onboard buzzer, led, you can use it to control volume, brightness, power, act led, buzzer.
Buzzer can be enabled and disabled, if you enable buzzer function, you can open and close buzzer, otherwise, you can’t control the buzzer.
The act led is disabled default, if you enable it, you can use it like ACT LED on Raspberry Pi.
The product have two boot mode, default is manual boot, you should press power key to boot system. If you want boot system directly after power, you can select auto boot.
You can use CMHelper QT application to control backlight, you also can use key to control that.
This QT Application is open source, you can recompile it by use follow commands:
$ sudo apt update $ sudo apt install qt5-default $ git clone https://gitee.com/chipsee/cmhelper_tester.git $ cd cmhelper_tester $ qmake cmhelper_tester.pro $ make
There is also one C file for you to use:
$ cd cmhelper_tester/c $ gcc -o cmhelper_test -lcmhelper cmhelper_test.c