Patch for encoder driver.