#!/bin/bash # Setup MCP23009 Pullups #i2cset -y 1 0x20 0x6 0x7e # Enable P1-P6 on input expander; others # unusable to board errors # Load MCP23009 Device Tree Overlays (to enable sysfs-gpio) #dtoverlay ec-room-ctl-input dtoverlay ec-room-ctl-output