Displaying 1 result from an estimated 1 matches for "usb_attached_console".
2008 Nov 19
0
Clean serial console setup when using an USB to serial converter
...igure udev to spawn "/sbin/agetty -L ttyUSB0
9600 vt100" once the converter gets connected. This is my udev
configuration:
[root at anyvizor rules.d]# pwd
/etc/udev/rules.d
[root at anyvizor rules.d]# cat 10-custom.rules
BUS=="usb", KERNEL=="ttyUSB*" SYMLINK+="usb_attached_console"
SUBSYSTEM=="usb_device", ACTION=="add",
RUN+="/etc/udev/scripts/respawn_usb_attached_console.sh"
[root at anyvizor rules.d]#
[root at anyvizor scripts]# pwd
/etc/udev/scripts
[root at anyvizor scripts]# cat respawn_usb_attached_console.sh
#!/bin/env sh
getty_...