Re: [systemd-devel] Serial getty on USB dongle insertion

2017-07-13 Thread Paul D. DeRocco
> 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

Re: [systemd-devel] Serial getty on USB dongle insertion

2017-07-12 Thread Andrei Borzenkov
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

[systemd-devel] Serial getty on USB dongle insertion

2017-07-12 Thread 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 ttyUSB0 and ttyUSB1 devices which don't use getty.)