TODO:
-- add support for GPIO2 and GPIO3 of PL2303, see also
- https://patchwork.kernel.org/patch/4815351/
+- add GPIO number range check, depending on device
- add debug code for testing FT232R, especially reading GPIO configuration
- test mixed input and output with FT232R and PL2303
- ...