Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Latest commit

 

History

History
51 lines (38 loc) · 1.62 KB

readme.md

File metadata and controls

51 lines (38 loc) · 1.62 KB

Sensorgnome Software for Beaglebone; 2017 version

create user sg

adduser bone # with password bone; becomes user 1001

give user bone sudo privileges; remove them for user debian

visudo                   ## delete entry for debian, add following line:
bone ALL=NOPASSWD: ALL

logout; login as bone

mkdir proj cd proj git clone https://github.com/jbrzusto/sensorgnome cd sensorgnome

convert old 'sensorgnome' to 'sensorgnome'

sed -i -e "s/sensorgnome/sensorgnome/g" *.js

import udev-rules to sensorgnome.

ln -s /home/pi/proj/sensorgnome/udev-rules/usb-hub-devices.rules /etc/udev/rules.d/usb-hub-device.rules

fix automount of USB drive in hub

sed -i -e 's/MountFlags=slave/MountFlags=shared/' /lib/systemd/system/systemd-udevd.service systemctl daemon-reload systemctl restart udev

TODO:

  • support GPS cape echo BB-UART4 > /sys/devices/platform/bone_capemgr/slots stty -F /dev/ttyS4 raw 9600 min 0 time 50 cat /dev/ttyS4 #but still need PPS integration into kernel?

    apt-get install gpsd gpsd-util ## gpsd-util brings in many libs; I just want gpsmon! sed -i -e 's/USBAUTO="true"/USBAUTO="false"/;s/DEVICES=""/DEVICES="/dev/ttyS4"/' /etc/default/gpsd

  • build vamp-alsa-host, lotek-plugins.so, fcd

turn off DNS lookup for sshd

echo UseDNS no >> /etc/ssh/sshd_config systemctl restart sshd.service