The chip type distinction is one of the weak spots of the pl2303 driver.
It currently knows 3 different PL2303 chip types only (the two legacy
chip types type_0 and type_1 (PL2303H ?) and the HX type).
During the last 2-3 years Prolific has introduced additional PL2303
chips, such as the HXD (HX rev. D), TA (which replaced the X/HX chips),
SA, RA, EA and TB variants. Unfortunately, all these new chips are
currently detected as HX chips (see patch 3 for further details).
This patch series improves the situation a bit.
Patch 1 is just a minor code simplification, patch 2 improves the chip
type information output.
Patch 3 finally improves the chip type detection/distinction by
splitting the "HX" chip type into 3 chip groups.
The 3 groups need to be split further, but we don't know yet how to do this.
Changes since v1:
- changed dev_info() in patch 2 to dev_dbg()
Frank Schäfer (3):
pl2303: simplify the else-if contruct for type_1 chips in
pl2303_startup()
pl2303: improve the chip type information output on startup
pl2303: improve the chip type detection/distinction
drivers/usb/serial/pl2303.c | 109 ++++++++++++++++++++++++++++++++-----------
1 Datei geändert, 81 Zeilen hinzugefügt(+), 28 Zeilen entfernt(-)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html