fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: usb serial console and systemd?

usb serial console and systemd?

From: Kevin Martin <kevintm_at_nospam>
Date: Mon Oct 24 2011 - 16:54:39 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

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@.service /etc/systemd/system/getty.target.wants/getty@ttyUSB0.service
# systemctl daemon-reload
# systemctl start getty@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?

-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines