Skip to content

Instantly share code, notes, and snippets.

View michal-konopinski's full-sized avatar

Michał Konopiński michal-konopinski

  • Mikronika
  • Poznań
View GitHub Profile
@michal-konopinski
michal-konopinski / mdev.conf
Created October 29, 2023 19:59
mdev persistent names for ttyUSB devices
#debug
#-ttyUSB[0-9] root:dialout 0666 @env >>/run/mdev.log
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-4/.*;ttyUSB[0-9] root:dialout 0666 >viessmann
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/.*;ttyUSB[0-9] root:dialout 0666 >opentherm
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-3/.*;ttyUSB[0-9] root:dialout 0666 >onewire