Skip to content

Instantly share code, notes, and snippets.

@michal-konopinski
Created October 29, 2023 19:59
Show Gist options
  • Save michal-konopinski/d42222b768ba239e1d3b2c3a6b1388cc to your computer and use it in GitHub Desktop.
Save michal-konopinski/d42222b768ba239e1d3b2c3a6b1388cc to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment