Skip to content

aramcon-badge/badge-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

badge-deployment

The badge deployer will run on a RPIE and auto-deploy bootloader/firmware/app in sequence to a connected badge.

RPIE config

udev rule for badge

add the file /etc/udev/rules.d/10-con.rules with

ACTION=="add", SUBSYSTEM=="block", ATTRS{product}=="*Badge*", SYMLINK+="badge", RUN+="/usr/bin/python3 /home/pi/deployer.py $devnode"
ACTION=="add", SUBSYSTEM=="tty", ATTRS{product}=="*Badge*", SYMLINK+="badge_serial"

Avoid auto-mount in rpie

set mount_removable /etc/xdg/pcmanfm/LXDE-pi/pcmanfm.conf

mount_removable=0

reload pcmanfm conf:

killall pcmanfm
pcmanfm --desktop --profile lubuntu --display :0 &

'''

set config.py

See documentation for each parameter and set accordingly

  • Notice the deployment script will be executed under udev -> as root

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages