Adding serial input support to control fan