Allowing progress if no value provide for arg usbkm232 to servod.

For keyboardless devices, they need a special keyboard handler which uses a
USB km232 cable to send keystrokes. The path to the usbkm232 device is provided
at startup time via a --usbkm232 command line argument.

For the board types that required this cable, we would raise an Exception if the
argument was not specified. However, in the lab, this cabling has not been
setup and so starting up of servod is blocked.

Replacing the exception with a warning message and returning the default
keyboard handler if the usbkm232 arg is not specified. Hopefully the only
effect is any tests that require using the keyboard control of the DUT will not
work correctly. These should only be the FAFT tests right now.

TEST=Tested at desk, starting up servod against --board=pather, without
specifying the usbkm232 arg.

Change-Id: Iff11488b3841d4687af42f885180db10b31d2ffc
Reviewed-by: Vic Yang <>
Reviewed-by: Richard Barnette <>
Tested-by: Yusuf Mohsinally <>
Reviewed-by: Yusuf Mohsinally <>
Commit-Queue: Yusuf Mohsinally <>
1 file changed