Skip to content

Commit

Permalink
to hard to implement
Browse files Browse the repository at this point in the history
at least give some hint how to fix it
  • Loading branch information
chriscohnen committed Mar 11, 2016
1 parent 0ac0f0b commit ec9634c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hmcon-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,16 @@ rfd() {
case $opt in
"HM-MOD-RPI-PCB")
# FIXME configure GPIO18, remove serial console
#prepare additional string for rfd init script
SetupGPIO="# export GPIO
echo 18 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio18/direction
"
# allow hmcon gpio access when using HM-MOD-RPI-PCB
usermod -a -G gpio hmcon
# give user a reminder
echo '! you will need to disable the boot up and diagnostic output to the serial port: remove ttyAMA0 entries --> #sudo vi /boot/cmdline.txt'
echo '! you will need to comment ttyAMA0 --> #sudo vi /etc/inittab delete or comment #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100'
cat >> $ETC/rfd.conf <<- EOM
[Interface $i]
Type = CCU2
Expand Down

0 comments on commit ec9634c

Please sign in to comment.