Re: usb serial console and systemd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/24/2011 11:54 AM, Kevin Martin wrote:
> 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?
>
>
>
Interesting.  After my machine hung again and I had to hard reboot, the getty for ttyUSB0 now starts.  I'm still not sure where to
enable different speed settings, tell it to run a vt100, as the systemd documentation is fairly confusing IMO.  But I'll keep
looking.  If anybody knows this off the top of their heads, please share it here.

Thanks.

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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux