Skip to content

papenmeier driver: Handle non-existence of FTDI dll #3712

@nvaccessAuto

Description

@nvaccessAuto

Reported by jteh on 2013-12-11 21:37
On a system without the Papenmeier USB drivers installed (e.g. if a Papenmeier display was never connected), the FTDI dll won't exist. This causes ftdi2 to fail to import. The papenmeier driver should catch exceptions when importing ftdi2. It can then do one of two things if this failed:

  1. Return False from the check method so that the driver won't be used.
  2. Only disable USB so that Bluetooth still works. This is better because someone might pair a display via Bluetooth which they never connect via USB.

It'd be better if someone who owns a display can do this so that it can be tested properly.
Blocking #3819

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions