usb serial console and systemd?

Kevin Martin kevintm at
Mon Oct 24 16:54:39 UTC 2011

I can't seem to get systemd to spawn a getty on a USB tty.  Here's what I've done:

# ln -sf /lib/systemd/system/getty at .service /etc/systemd/system/ at ttyUSB0.service
# systemctl daemon-reload
# systemctl start getty at ttyUSB0.service

When I look at the gettys that are running, all I see are:

root      1153     1  0 Oct22 tty6     00:00:00 /sbin/agetty tty6 38400
root      1154     1  0 Oct22 tty4     00:00:00 /sbin/agetty tty4 38400
root      1155     1  0 Oct22 tty5     00:00:00 /sbin/agetty tty5 38400
root      1156     1  0 Oct22 tty3     00:00:00 /sbin/agetty tty3 38400
root      1157     1  0 Oct22 tty2     00:00:00 /sbin/agetty tty2 38400

I *do* have a ttyUSB0:

[27151.541139] usb 1-1.2: pl2303 converter now attached to ttyUSB0

But can't seem to get a getty.  What have I missed (sure was easier under inittab)?  Oh, and where do you set the speed, vt, etc. for the getty under systemd?

More information about the users mailing list