5.2. Using hotplug with input.agent

Using the input agent will allow you to specify the way a keyboard with a given PHYS ID is assigned to a given VT.

From /etc/hotplug/input.agent (see Appendix->Scripts):

......
# Edit here Your keyboard physicaly names
# Read about Your keyboard /proc/bus/input/devices
kbd_phys0="isa0060/serio0/input0"
kbd_phys1="isa0060/serio1/input0"
kbd_phys2="usb1:2/input0"
......

So if I wanted to use the PS2 keyboard for the primary Display and for the VGA console, I would have:

......
# Edit here Your keyboard physicaly names
# Read about Your keyboard /proc/bus/input/devices
kbd_phys0="isa0060/serio0/input0"
kbd_phys1="usb-00:10.1-1.1/input0"
......

Or, if I want to use the USB keyboard for the primary Display and for the VGA console:

......
# Edit here Your keyboard physicaly names
# Read about Your keyboard /proc/bus/input/devices
kbd_phys0="usb-00:10.1-1.1/input0"
kbd_phys1="isa0060/serio0/input0"
......