> From: Andrei Borzenkov [mailto:arvidj...@gmail.com]
>
> Yes, set ENV{SYSTEMD_WANTS}="serial-getty@ttyUSB2.service" property on
> your device in udev rule; this will trigger starting of this service
> when device appears. You probably also want to add
> "BindsTo=dev-ttyUSB2.device" (or whatever
13.07.2017 03:38, Paul D. DeRocco пишет:
> I've created a serial-getty@ttyUSB2.service file, which is basically a
> copy of serial-getty@.service with a specific device name and a fixed baud
> rate. It works fine when I plug in a serial dongle that gets assigned that
> name. (I have permanent
I've created a serial-getty@ttyUSB2.service file, which is basically a
copy of serial-getty@.service with a specific device name and a fixed baud
rate. It works fine when I plug in a serial dongle that gets assigned that
name. (I have permanent ttyUSB0 and ttyUSB1 devices which don't use
getty.)