This will allow you to do useful things such as syncing a S3 bucket to disk. Working on my DS918+.
Add a custom package source for cphub.net. From Package Center, select Settings -> Package Sources
and add http://www.cphub.net
.
In the Community packages section, search for Easy Bootstrap Installer
and install ipkg (not opkg).
With ipkg now installed, use this to install Python 2.7.
sudo /opt/bin/ipkg install py27-setuptools
Then install pip and awscli.
sudo /opt/bin/easy_install-2.7 pip
sudo /opt/local/bin/pip install awscli
Install dependencies
sudo dnf install readline readline-devel libusb libusb-devel qt4-devel ncurses-devel arm-none-eabi-gcc arm-none-eabi-newlib pcsc-lite pcsc-lite-devel
Install blacklist rules
sudo cp -rf driver/77-mm-usb-device-blacklist.rules /etc/udev/rules.d/77-mm-usb-device-blacklist.rules
sudo udevadm control --reload-rules
Build
make clean
make all
Then proceed with flashing.
This LCD is a small I2C display module that has a 16x2 character display. The text appears white on blue, with a dimmable backlight. Information and libraries for this chipset were a little hard to find, so I have listed some resources here for reference.
The officially provided library appears to be some monochromatic re-implementation of Seeed Studio’s Grove LCD RGB Backlight that can be found at: https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight
I could not find a datasheet for this chipset, however I came across the information sheet which had some broken links. (http://www.west-l.com/uploads/tdpdf/104030001_eng_tds.pdf)
This display uses a AiP31068L chipset, that is not compatible with the more common HD44780 chipset.
There are actually two I2C devices in the module, one for the backlight, and one for the character display. Their addresses are:
#define LCD_ADDRESS (0x7c>>1) // character 0x3e
#define RGB_ADDRESS (0xc0>>1) // backlight 0x60
Note for the Arduino Uno, the I2C pins are A4 (SDA) and A5 (SCL).
Getting started with a RC setup that works is harder than it looks, due to the number of parts and specifications required. A common starter requirement is to control a few servos remotely. These are my notes for the components and considerations required to get started.
... ➦After updating to Fedora 28, adding a user to a group fails with:
(Wed Jan 2 00:33:14:341408 2019) [sss_cache] [confdb_get_domains] (0x0010): No domains configured, fatal error!
Could not open available domains
usermod: sss_cache exited with status 2
usermod: Failed to flush the sssd cache.
As suggested, the issue is due to sssd not being configured. If you are not using sssd for authentication, simply remove it and try adding the group again.
sudo dnf remove sssd
sudo usermod -aG dialout frank
Install development tools and drivers
sudo dnf install hackrf hackrf-devel
Get latest firmware from https://github.com/mossmann/hackrf/releases
Update firmware (see https://github.com/mossmann/hackrf/wiki/Updating-Firmware)
cd firmware-bin
hackrf_spiflash -w hackrf_one_usb.bin
Check firmware version
$ hackrf_info
hackrf_info version: unknown
libhackrf version: unknown (0.5)
Found HackRF
Index: 0
Serial number: 0000000000000000a06063c8220a635f
Board ID Number: 2 (HackRF One)
Firmware Version: 2018.01.1 (API:1.02)
Part ID Number: 0xa000cb3c 0x00534f64
Update CPLD
hackrf_cpldjtag -x firmware/cpld/sgpio_if/default.xsvf
Installing GoCV requires a few extra environment variables to be set.
Before the make install
phase, set the following variables
export GOPATH=/home/frank/go
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
export LD_LIBRARY_PATH=/usr/local/lib64
It is also easier to install the OpenCV libraries system-wide by running make install
as the root user.