Skip to contentSkip to conversation

- add PNP IDs for FPI based touchscreens

PATCH In review Matthew Garrett 3 participants 4 messages Oct 1, 2006 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 - add PNP IDs for FPI based touchscreens

The Compaq TC1000 and Fujitsu Stylistic range of tablet machines use touchscreens from FPI. These are implemented as serial interfaces, generally exposed in the ACPIPNP information on the system. This patch adds them to the 8250_pnp driver tables, avoiding the need to mess around with setserial to set them up.

I haven't been able to confirm what FUJ02B5, FUJ02BA and FUJ02BB are. FUJ02B1 refers to the controller for the system hotkeys. FUJ02BC appears to be the last in the range - after this, they moved to Wacom-based systems.

drivers/serial/8250_pnp.c +13 -0
index 632f62d..71d907c 100644
@@ -327,6 +327,19 @@ static const struct pnp_device_id pnp_de
 	{	"WACF004",		0	},
 	{	"WACF005",		0	},
 	{       "WACF006",              0       },
+	/* Compaq touchscreen */
+	{       "FPI2002",              0 },
+	/* Fujitsu Stylistic touchscreens */
+	{       "FUJ02B2",              0 },
+	{       "FUJ02B3",              0 },
+	/* Fujitsu Stylistic LT touchscreens */
+	{       "FUJ02B4",              0 },
+	/* Passive Fujitsu Stylistic touchscreens */
+	{       "FUJ02B6",              0 },
+	{       "FUJ02B7",              0 },
+	{       "FUJ02B8",              0 },
+	{       "FUJ02B9",              0 },
+	{       "FUJ02BC",              0 },
 	/* Rockwell's (PORALiNK) 33600 INT PNP */
 	{	"WCI0003",		0	},
 	/* Unkown PnP modems */
Signature · 1 line
Matthew Garrett | [email protected]
Acked-by on v1 1/1
#1 lore raw

Ar Sul, 2006-10-01 am 19:27 +0100, ysgrifennodd Matthew Garrett:

Quoted 6 lines

The Compaq TC1000 and Fujitsu Stylistic range of tablet machines use touchscreens from FPI. These are implemented as serial interfaces, generally exposed in the ACPIPNP information on the system. This patch adds them to the 8250_pnp driver tables, avoiding the need to mess around with setserial to set them up.

Quoted 6 lines

I haven't been able to confirm what FUJ02B5, FUJ02BA and FUJ02BB are. FUJ02B1 refers to the controller for the system hotkeys. FUJ02BC appears to be the last in the range - after this, they moved to Wacom-based systems.

This makes a lot of sense and will mean that people don't have to read the fpit driver docs to get X working.

Alan

#2 lore raw
Quoted 12 lines · Alan Cox

Ar Sul, 2006-10-01 am 19:27 +0100, ysgrifennodd Matthew Garrett:

Quoted 11 lines

The Compaq TC1000 and Fujitsu Stylistic range of tablet machines use touchscreens from FPI. These are implemented as serial interfaces, generally exposed in the ACPIPNP information on the system. This patch adds them to the 8250_pnp driver tables, avoiding the need to mess around with setserial to set them up.

I haven't been able to confirm what FUJ02B5, FUJ02BA and FUJ02BB are. FUJ02B1 refers to the controller for the system hotkeys. FUJ02BC appears to be the last in the range - after this, they moved to Wacom-based systems.

Quoted 7 lines
Quoted 1 line

This makes a lot of sense and will mean that people don't have to read the fpit driver docs to get X working.

ack, just applied it anyway before reading your reply.

http://ftp.arm.linux.org.uk/pub/armlinux/kernel/git-cur/serial:devel.*

has the current state of play in both mbox and diff formats.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
#3 lore raw
In reply to Alan Cox
Quoted 4 lines · Alan Cox

This makes a lot of sense and will mean that people don't have to read the fpit driver docs to get X working.

Sadly, there's still a need to provide the calibration values. These all seem to be available in the .inf files from the Windows drivers, and keying off the PNPID /seems/ to be adequate to determine which values to use. If I ever find my copious free time, I'll look into that.

Signature · 1 line
Matthew Garrett | [email protected]