Support for Fujitsu T904

classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Support for Fujitsu T904

Sara Fauzia
The Fujitsu T904 uses a new (to the wacom driver and linux kernel) Wacom USB device:

lsusb | grep -i wacom
Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd

I added support for it into the kernel by adding the line (copying the manner other multitouch Tablet PCs have been added):
static const struct wacom_features wacom_features_0x5002 =
	{ "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
	  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my kernel (version 3.14). With that, my pen became actually usable as a mouse, though the touch still didn't work, and I didn't have pen sensitivity. So in an attempt to get the wacom features working, I created and applied a patch to xf86-input-wacom-0.24.0:
--- a/wcmUSB.c	2014-03-19 18:42:37.000000000 -0400
+++ b/wcmUSB.c	2014-04-26 21:42:27.204168189 -0400
@@ -303,6 +303,7 @@
 	{ WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC 0x101"	},
 	{ WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC 0x10D"	},
 	{ WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC 0x4001"	},
+	{ WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC 0x5002"	},
 
 	/* IDs from Waltop's driver, available http://www.waltop.com.tw/download.asp?lv=0&id=2.
 	   Accessed 8 Apr 2010, driver release date 2009/08/11, fork of linuxwacom 0.8.4.
--- a/wcmValidateDevice.c	2014-03-19 18:42:37.000000000 -0400
+++ b/wcmValidateDevice.c	2014-04-26 21:43:12.584172831 -0400
@@ -283,6 +283,7 @@
 		case 0x101: /* TPC with MT */
 		case 0x10D: /* TPC with MT */
 		case 0x4001: /* TPC with MT */
+		case 0x5002: /* TPC with MT */
 		case 0xE2: /* TPC with 2FGT */
 		case 0xE3: /* TPC with 2FGT */
 		case 0xE5: /* TPC with MT */

and now the wacom driver picks up my touchscreen, pen, and eraser (as seen from my Xorg log), but now nothing is functional, not even the pen as a mouse.

The Xorg.log reports:
[   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger (/dev/input/event4)
[   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev touchscreen catchall"
[   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom class"
[   991.131] (II) LoadModule: "wacom"
[   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[   991.131] (II) Module wacom: vendor="X.Org Foundation"
[   991.131] 	compiled for 1.15.1, module version = 0.24.0
[   991.131] 	Module class: X.Org XInput Driver
[   991.131] 	ABI class: X.Org XInput driver, version 20.0
[   991.131] (II) wacom: Driver for Wacom graphics tablets: PenPartner, Graphire,
	Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
	Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
	Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
	CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
	CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
	Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
	PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
	DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
	Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
	Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
	Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
	Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
	Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
	Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
	Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
	Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
	Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
	Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
	TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
	TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
	TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
	TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
	usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
	usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
	usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
	usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
	usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
	usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
	usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
	usb:17ef:6004
[   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Finger'
[   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
[   991.131] (**) Option "Device" "/dev/input/event4"
[   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for this device.
[   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for this device.
[   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for this device.
[   991.132] (II) Wacom ISDv4 5002 Finger: type not specified, assuming 'touch'.
[   991.132] (II) Wacom ISDv4 5002 Finger: other types will be automatically added.
[   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736 maxY=16325 maxZ=0 resX=0 resY=0 
[   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging dependent devices.
[   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'stylus' for this device.
[   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'eraser' for this device.
[   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'cursor' for this device.
[   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad' for this device.
[   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging completed.
[   991.196] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
[   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Finger touch" (type: TOUCH, id 11)
[   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping acceleration scheme 1
[   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration profile 0
[   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration factor: 2.000
[   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration threshold: 4
[   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger (/dev/input/mouse0)
[   991.198] (II) No input driver specified, ignoring this device.
[   991.198] (II) This device may have been added with another device file.
[   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen (/dev/input/event5)
[   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev tablet catchall"
[   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom class"
[   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen'
[   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
[   991.198] (**) Option "Device" "/dev/input/event5"
[   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming 'stylus'.
[   991.199] (II) Wacom ISDv4 5002 Pen: other types will be automatically added.
[   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure threshold of 27 for button 1
[   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724 maxZ=255 resX=112000 resY=102000  tilt=disabled
[   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent devices.
[   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor' for this device.
[   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch' for this device.
[   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for this device.
[   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
[   991.276] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
[   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen stylus" (type: STYLUS, id 12)
[   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping acceleration scheme 1
[   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration profile 0
[   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration factor: 2.000
[   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration threshold: 4
[   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen (/dev/input/mouse1)
[   991.278] (II) No input driver specified, ignoring this device.
[   991.278] (II) This device may have been added with another device file.
[   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "evdev tablet catchall"
[   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "Wacom class"
[   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen eraser'
[   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core events
[   991.509] (**) Option "Device" "/dev/input/event5"
[   991.509] (**) Option "Type" "eraser"
[   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724 maxZ=255 resX=112000 resY=102000  tilt=disabled
[   991.543] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
[   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen eraser" (type: ERASER, id 16)
[   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping acceleration scheme 1
[   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration profile 0
[   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration factor: 2.000
[   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration threshold: 4

Some other possibly useful output:

ls /dev/input/by-id | grep 'Wacom'

usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse

xsetwacom --list

Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH     
Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS    
Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER

I can't see anything that looks overtly abnormal, but I'm no programmer. If there's any other useful output I can provide, please let me know. Thanks in advance!

Sara

--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
out there, but had no information to add support for it.

Your patches look like what I would expect, so I'm a little surprised
that they don't work. Could you run the following and provide the
output for me? It should provide a description of the packet format,
in case there's anything special that isn't being decoded?

$ sudo modprobe -r wacom
$ sudo lsusb -vvv -d 56a:5002
$ sudo modprobe wacom

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]> wrote:

> The Fujitsu T904 uses a new (to the wacom driver and linux kernel) Wacom USB
> device:
>
> lsusb | grep -i wacom
> Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>
> I added support for it into the kernel by adding the line (copying the
> manner other multitouch Tablet PCs have been added):
>
> static const struct wacom_features wacom_features_0x5002 =
> { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
>  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>
> to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my kernel
> (version 3.14). With that, my pen became actually usable as a mouse, though
> the touch still didn't work, and I didn't have pen sensitivity. So in an
> attempt to get the wacom features working, I created and applied a patch to
> xf86-input-wacom-0.24.0:
>
> --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
> +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
> @@ -303,6 +303,7 @@
>   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
> 0x101" },
>   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
> 0x10D" },
>   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
> 0x4001" },
> + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
> 0x5002" },
>
>   /* IDs from Waltop's driver, available
> http://www.waltop.com.tw/download.asp?lv=0&id=2.
>     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of linuxwacom
> 0.8.4.
> --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
> +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
> @@ -283,6 +283,7 @@
>   case 0x101: /* TPC with MT */
>   case 0x10D: /* TPC with MT */
>   case 0x4001: /* TPC with MT */
> + case 0x5002: /* TPC with MT */
>   case 0xE2: /* TPC with 2FGT */
>   case 0xE3: /* TPC with 2FGT */
>   case 0xE5: /* TPC with MT */
>
>
> and now the wacom driver picks up my touchscreen, pen, and eraser (as seen
> from my Xorg log), but now nothing is functional, not even the pen as a
> mouse.
>
> The Xorg.log reports:
>
> [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger
> (/dev/input/event4)
> [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
> touchscreen catchall"
> [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom class"
> [   991.131] (II) LoadModule: "wacom"
> [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
> [   991.131] (II) Module wacom: vendor="X.Org Foundation"
> [   991.131] compiled for 1.15.1, module version = 0.24.0
> [   991.131] Module class: X.Org XInput Driver
> [   991.131] ABI class: X.Org XInput driver, version 20.0
> [   991.131] (II) wacom: Driver for Wacom graphics tablets: PenPartner,
> Graphire,
> Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
> Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
> Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
> CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
> CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
> Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
> PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
> DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
> Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
> Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
> Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
> Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
> Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
> Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
> Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
> Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
> Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
> Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
> TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
> TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
> TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
> TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
> usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
> usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
> usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
> usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
> usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
> usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
> usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
> usb:17ef:6004
> [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Finger'
> [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
> [   991.131] (**) Option "Device" "/dev/input/event4"
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for this
> device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for this
> device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for this
> device.
> [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified, assuming
> 'touch'.
> [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be automatically
> added.
> [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736 maxY=16325
> maxZ=0 resX=0 resY=0
> [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging dependent
> devices.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'stylus' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'eraser' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'cursor' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad' for this
> device.
> [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging completed.
> [   991.196] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
> [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
> Finger touch" (type: TOUCH, id 11)
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
> acceleration scheme 1
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> profile 0
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> factor: 2.000
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> threshold: 4
> [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger
> (/dev/input/mouse0)
> [   991.198] (II) No input driver specified, ignoring this device.
> [   991.198] (II) This device may have been added with another device file.
> [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
> (/dev/input/event5)
> [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev tablet
> catchall"
> [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom class"
> [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen'
> [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
> [   991.198] (**) Option "Device" "/dev/input/event5"
> [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
> 'stylus'.
> [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be automatically
> added.
> [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure threshold of
> 27 for button 1
> [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
> maxZ=255 resX=112000 resY=102000  tilt=disabled
> [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
> devices.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor' for
> this device.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch' for this
> device.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for this
> device.
> [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
> [   991.276] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
> [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen
> stylus" (type: STYLUS, id 12)
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping acceleration
> scheme 1
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration profile
> 0
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration factor:
> 2.000
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
> threshold: 4
> [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
> (/dev/input/mouse1)
> [   991.278] (II) No input driver specified, ignoring this device.
> [   991.278] (II) This device may have been added with another device file.
>
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "evdev
> tablet catchall"
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "Wacom
> class"
> [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen
> eraser'
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core events
> [   991.509] (**) Option "Device" "/dev/input/event5"
> [   991.509] (**) Option "Type" "eraser"
> [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
> maxZ=255 resX=112000 resY=102000  tilt=disabled
> [   991.543] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
> [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen
> eraser" (type: ERASER, id 16)
> [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping acceleration
> scheme 1
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration profile
> 0
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration factor:
> 2.000
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
> threshold: 4
>
>
> Some other possibly useful output:
>
> ls /dev/input/by-id | grep 'Wacom'
>
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>
> xsetwacom --list
>
> Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
> Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
> Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>
> I can't see anything that looks overtly abnormal, but I'm no programmer. If
> there's any other useful output I can provide, please let me know. Thanks in
> advance!
>
> Sara
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Linuxwacom-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Sara Fauzia
Thanks Jason! (: Here's the information you requested:

modprobe -r wacom
lsusb -vvv -d 56a:5002

Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x056a Wacom Co., Ltd
  idProduct          0x5002 
  bcdDevice            0.79
  iManufacturer           1 Wacom Co.,Ltd.      
  iProduct                2 MultiTouch Sensor  
  iSerial                 5         
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower               12mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              3 MultiTouch
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     537
          Report Descriptor: (length is 537)
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x04 ] 4
                            Touch Screen
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x0c ] 12
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x54 ] 84
                            Contact Count
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x47 ] 71
                            Confidence
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0xd8 0x2d ] 11736
            Item(Global): Physical Maximum, data= [ 0x76 0x0b ] 2934
            Item(Main  ): Input, data= [ 0x42 ] 66
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State Null_State Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0xc8 0x19 ] 6600
            Item(Global): Physical Maximum, data= [ 0x72 0x06 ] 1650
            Item(Main  ): Input, data= [ 0x42 ] 66
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State Null_State Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x47 ] 71
                            Confidence
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0xd8 0x2d ] 11736
            Item(Global): Physical Maximum, data= [ 0x76 0x0b ] 2934
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0xc8 0x19 ] 6600
            Item(Global): Physical Maximum, data= [ 0x72 0x06 ] 1650
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x47 ] 71
                            Confidence
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0xd8 0x2d ] 11736
            Item(Global): Physical Maximum, data= [ 0x76 0x0b ] 2934
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0xc8 0x19 ] 6600
            Item(Global): Physical Maximum, data= [ 0x72 0x06 ] 1650
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x47 ] 71
                            Confidence
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0xd8 0x2d ] 11736
            Item(Global): Physical Maximum, data= [ 0x76 0x0b ] 2934
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0xc8 0x19 ] 6600
            Item(Global): Physical Maximum, data= [ 0x72 0x06 ] 1650
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x22 ] 34
                            Finger
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x47 ] 71
                            Confidence
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x05 ] 5
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x51 ] 81
                            Contact ID
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Minimum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0e ] 14
                            Unit Exponent: 14
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0xd8 0x2d ] 11736
            Item(Global): Physical Maximum, data= [ 0x76 0x0b ] 2934
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0xc8 0x19 ] 6600
            Item(Global): Physical Maximum, data= [ 0x72 0x06 ] 1650
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Global): Logical Maximum, data= [ 0xff 0xff 0x00 0x00 ] 65535
            Item(Local ): Usage, data= [ 0x56 ] 86
                            (null)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x55 ] 85
                            Maximum Contact Number
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x0a ] 10
            Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
                            (null)
            Item(Local ): Usage, data= [ 0xc5 ] 197
                            (null)
            Item(Global): Report Count, data= [ 0x00 0x01 ] 256
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x0e ] 14
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x0e ] 14
            Item(Local ): Usage, data= [ 0x23 ] 35
                            (null)
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x52 ] 82
                            Input Mode
            Item(Local ): Usage, data= [ 0x53 ] 83
                            Device Index
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0a ] 10
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x09 0xff ] 65289
                            (null)
            Item(Local ): Usage, data= [ 0x11 ] 17
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x03 ] 3
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Report Count, data= [ 0x27 0x00 ] 39
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Report ID, data= [ 0x03 ] 3
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x09 ] 9
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x3f ] 63
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x02 ] 2
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x04 ] 4
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x0f ] 15
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x07 ] 7
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x07 0x02 ] 519
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x08 ] 8
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x87 0x00 ] 135
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x0d ] 13
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              4 Pen
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     127
          Report Descriptor: (length is 127)
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x02 ] 2
                            Pen
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x06 ] 6
            Item(Local ): Usage, data= [ 0x20 ] 32
                            Stylus
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Tip Switch
            Item(Local ): Usage, data= [ 0x44 ] 68
                            Barrel Switch
            Item(Local ): Usage, data= [ 0x45 ] 69
                            Eraser
            Item(Local ): Usage, data= [ 0x3c ] 60
                            Invert
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Local ): Usage, data= [ 0x32 ] 50
                            In Range
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x06 ] 6
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Direction-X
            Item(Global): Logical Maximum, data= [ 0x88 0x73 ] 29576
            Item(Global): Physical Maximum, data= [ 0x88 0x73 ] 29576
            Item(Global): Unit, data= [ 0x11 ] 17
                            System: SI Linear, Unit: Centimeter
            Item(Global): Unit Exponent, data= [ 0x0d ] 13
                            Unit Exponent: 13
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x31 ] 49
                            Direction-Y
            Item(Global): Logical Maximum, data= [ 0x54 0x41 ] 16724
            Item(Global): Physical Maximum, data= [ 0x54 0x41 ] 16724
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Physical Maximum, data= [ 0x00 ] 0
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Usage Page, data= [ 0x0d ] 13
                            Digitizer
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Tip Pressure
            Item(Global): Logical Maximum, data= [ 0xff 0x03 ] 1023
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x09 0xff ] 65289
                            (null)
            Item(Local ): Usage, data= [ 0x13 ] 19
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Report ID, data= [ 0x0b ] 11
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x07 ] 7
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Main  ): Feature, data= [ 0x12 ] 18
                            Data Variable Absolute No_Wrap Non_Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report ID, data= [ 0x05 ] 5
            Item(Local ): Usage, data= [ 0x00 ] 0
                            (null)
            Item(Global): Report Count, data= [ 0x08 ] 8
            Item(Main  ): Feature, data= [ 0x12 ] 18
                            Data Variable Absolute No_Wrap Non_Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)



On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke <[hidden email]> wrote:
Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
out there, but had no information to add support for it.

Your patches look like what I would expect, so I'm a little surprised
that they don't work. Could you run the following and provide the
output for me? It should provide a description of the packet format,
in case there's anything special that isn't being decoded?

$ sudo modprobe -r wacom
$ sudo lsusb -vvv -d 56a:5002
$ sudo modprobe wacom

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]> wrote:
> The Fujitsu T904 uses a new (to the wacom driver and linux kernel) Wacom USB
> device:
>
> lsusb | grep -i wacom
> Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>
> I added support for it into the kernel by adding the line (copying the
> manner other multitouch Tablet PCs have been added):
>
> static const struct wacom_features wacom_features_0x5002 =
> { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
>  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>
> to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my kernel
> (version 3.14). With that, my pen became actually usable as a mouse, though
> the touch still didn't work, and I didn't have pen sensitivity. So in an
> attempt to get the wacom features working, I created and applied a patch to
> xf86-input-wacom-0.24.0:
>
> --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
> +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
> @@ -303,6 +303,7 @@
>   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
> 0x101" },
>   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
> 0x10D" },
>   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
> 0x4001" },
> + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
> 0x5002" },
>
>   /* IDs from Waltop's driver, available
> http://www.waltop.com.tw/download.asp?lv=0&id=2.
>     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of linuxwacom
> 0.8.4.
> --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
> +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
> @@ -283,6 +283,7 @@
>   case 0x101: /* TPC with MT */
>   case 0x10D: /* TPC with MT */
>   case 0x4001: /* TPC with MT */
> + case 0x5002: /* TPC with MT */
>   case 0xE2: /* TPC with 2FGT */
>   case 0xE3: /* TPC with 2FGT */
>   case 0xE5: /* TPC with MT */
>
>
> and now the wacom driver picks up my touchscreen, pen, and eraser (as seen
> from my Xorg log), but now nothing is functional, not even the pen as a
> mouse.
>
> The Xorg.log reports:
>
> [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger
> (/dev/input/event4)
> [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
> touchscreen catchall"
> [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom class"
> [   991.131] (II) LoadModule: "wacom"
> [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
> [   991.131] (II) Module wacom: vendor="X.Org Foundation"
> [   991.131] compiled for 1.15.1, module version = 0.24.0
> [   991.131] Module class: X.Org XInput Driver
> [   991.131] ABI class: X.Org XInput driver, version 20.0
> [   991.131] (II) wacom: Driver for Wacom graphics tablets: PenPartner,
> Graphire,
> Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
> Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
> Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
> CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
> CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
> Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
> PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
> DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
> Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
> Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
> Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
> Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
> Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
> Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
> Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
> Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
> Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
> Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
> TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
> TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
> TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
> TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
> usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
> usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
> usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
> usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
> usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
> usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
> usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
> usb:17ef:6004
> [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Finger'
> [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
> [   991.131] (**) Option "Device" "/dev/input/event4"
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for this
> device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for this
> device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for this
> device.
> [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified, assuming
> 'touch'.
> [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be automatically
> added.
> [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736 maxY=16325
> maxZ=0 resX=0 resY=0
> [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging dependent
> devices.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'stylus' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'eraser' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'cursor' for
> this device.
> [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad' for this
> device.
> [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging completed.
> [   991.196] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
> [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
> Finger touch" (type: TOUCH, id 11)
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
> acceleration scheme 1
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> profile 0
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> factor: 2.000
> [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
> threshold: 4
> [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Finger
> (/dev/input/mouse0)
> [   991.198] (II) No input driver specified, ignoring this device.
> [   991.198] (II) This device may have been added with another device file.
> [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
> (/dev/input/event5)
> [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev tablet
> catchall"
> [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom class"
> [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen'
> [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
> [   991.198] (**) Option "Device" "/dev/input/event5"
> [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
> 'stylus'.
> [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be automatically
> added.
> [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure threshold of
> 27 for button 1
> [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
> maxZ=255 resX=112000 resY=102000  tilt=disabled
> [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
> devices.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor' for
> this device.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch' for this
> device.
> [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for this
> device.
> [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
> [   991.276] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
> [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen
> stylus" (type: STYLUS, id 12)
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping acceleration
> scheme 1
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration profile
> 0
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration factor:
> 2.000
> [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
> threshold: 4
> [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
> (/dev/input/mouse1)
> [   991.278] (II) No input driver specified, ignoring this device.
> [   991.278] (II) This device may have been added with another device file.
>
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "evdev
> tablet catchall"
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass "Wacom
> class"
> [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen
> eraser'
> [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core events
> [   991.509] (**) Option "Device" "/dev/input/event5"
> [   991.509] (**) Option "Type" "eraser"
> [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
> maxZ=255 resX=112000 resY=102000  tilt=disabled
> [   991.543] (**) Option "config_info"
> "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
> [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002 Pen
> eraser" (type: ERASER, id 16)
> [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping acceleration
> scheme 1
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration profile
> 0
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration factor:
> 2.000
> [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
> threshold: 4
>
>
> Some other possibly useful output:
>
> ls /dev/input/by-id | grep 'Wacom'
>
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>
> xsetwacom --list
>
> Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
> Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
> Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>
> I can't see anything that looks overtly abnormal, but I'm no programmer. If
> there's any other useful output I can provide, please let me know. Thanks in
> advance!
>
> Sara
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Linuxwacom-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>



--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
Thanks :) I've taken a look at the report descriptors and it looks
like neither the pen nor touch packets are formatted quite the same as
other tablet PCs. I'll see if I can get some working patches written
in the next few days for you to test.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]> wrote:

> Thanks Jason! (: Here's the information you requested:
>
> [ --- SNIP --- ]
>
>
> On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke <[hidden email]>
> wrote:
>>
>> Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
>> out there, but had no information to add support for it.
>>
>> Your patches look like what I would expect, so I'm a little surprised
>> that they don't work. Could you run the following and provide the
>> output for me? It should provide a description of the packet format,
>> in case there's anything special that isn't being decoded?
>>
>> $ sudo modprobe -r wacom
>> $ sudo lsusb -vvv -d 56a:5002
>> $ sudo modprobe wacom
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]> wrote:
>> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel) Wacom
>> > USB
>> > device:
>> >
>> > lsusb | grep -i wacom
>> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >
>> > I added support for it into the kernel by adding the line (copying the
>> > manner other multitouch Tablet PCs have been added):
>> >
>> > static const struct wacom_features wacom_features_0x5002 =
>> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
>> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >
>> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> > kernel
>> > (version 3.14). With that, my pen became actually usable as a mouse,
>> > though
>> > the touch still didn't work, and I didn't have pen sensitivity. So in an
>> > attempt to get the wacom features working, I created and applied a patch
>> > to
>> > xf86-input-wacom-0.24.0:
>> >
>> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> > @@ -303,6 +303,7 @@
>> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
>> > 0x101" },
>> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
>> > 0x10D" },
>> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
>> > 0x4001" },
>> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
>> > 0x5002" },
>> >
>> >   /* IDs from Waltop's driver, available
>> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> > linuxwacom
>> > 0.8.4.
>> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> > @@ -283,6 +283,7 @@
>> >   case 0x101: /* TPC with MT */
>> >   case 0x10D: /* TPC with MT */
>> >   case 0x4001: /* TPC with MT */
>> > + case 0x5002: /* TPC with MT */
>> >   case 0xE2: /* TPC with 2FGT */
>> >   case 0xE3: /* TPC with 2FGT */
>> >   case 0xE5: /* TPC with MT */
>> >
>> >
>> > and now the wacom driver picks up my touchscreen, pen, and eraser (as
>> > seen
>> > from my Xorg log), but now nothing is functional, not even the pen as a
>> > mouse.
>> >
>> > The Xorg.log reports:
>> >
>> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002
>> > Finger
>> > (/dev/input/event4)
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
>> > touchscreen catchall"
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom
>> > class"
>> > [   991.131] (II) LoadModule: "wacom"
>> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> > [   991.131] Module class: X.Org XInput Driver
>> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> > [   991.131] (II) wacom: Driver for Wacom graphics tablets: PenPartner,
>> > Graphire,
>> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
>> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
>> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
>> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
>> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
>> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
>> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> > usb:17ef:6004
>> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> > Finger'
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
>> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for
>> > this
>> > device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for
>> > this
>> > device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for
>> > this
>> > device.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified, assuming
>> > 'touch'.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> > automatically
>> > added.
>> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736 maxY=16325
>> > maxZ=0 resX=0 resY=0
>> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging dependent
>> > devices.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'stylus'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'eraser'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'cursor'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad' for
>> > this
>> > device.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging completed.
>> > [   991.196] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> > [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Finger touch" (type: TOUCH, id 11)
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> > acceleration scheme 1
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > profile 0
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > factor: 2.000
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > threshold: 4
>> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> > Finger
>> > (/dev/input/mouse0)
>> > [   991.198] (II) No input driver specified, ignoring this device.
>> > [   991.198] (II) This device may have been added with another device
>> > file.
>> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
>> > (/dev/input/event5)
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> > tablet
>> > catchall"
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> > class"
>> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen'
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
>> > 'stylus'.
>> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> > automatically
>> > added.
>> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure threshold
>> > of
>> > 27 for button 1
>> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
>> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
>> > devices.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor' for
>> > this device.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch' for
>> > this
>> > device.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for
>> > this
>> > device.
>> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
>> > [   991.276] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> > [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Pen
>> > stylus" (type: STYLUS, id 12)
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> > acceleration
>> > scheme 1
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > profile
>> > 0
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > factor:
>> > 2.000
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > threshold: 4
>> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
>> > (/dev/input/mouse1)
>> > [   991.278] (II) No input driver specified, ignoring this device.
>> > [   991.278] (II) This device may have been added with another device
>> > file.
>> >
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> > "evdev
>> > tablet catchall"
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> > "Wacom
>> > class"
>> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen
>> > eraser'
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> > events
>> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> > [   991.509] (**) Option "Type" "eraser"
>> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
>> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> > [   991.543] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> > [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Pen
>> > eraser" (type: ERASER, id 16)
>> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> > acceleration
>> > scheme 1
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > profile
>> > 0
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > factor:
>> > 2.000
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > threshold: 4
>> >
>> >
>> > Some other possibly useful output:
>> >
>> > ls /dev/input/by-id | grep 'Wacom'
>> >
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >
>> > xsetwacom --list
>> >
>> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >
>> > I can't see anything that looks overtly abnormal, but I'm no programmer.
>> > If
>> > there's any other useful output I can provide, please let me know.
>> > Thanks in
>> > advance!
>> >
>> > Sara
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Start Your Social Network Today - Download eXo Platform
>> > Build your Enterprise Intranet with eXo Platform Software
>> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> > http://p.sf.net/sfu/ExoPlatform
>> > _______________________________________________
>> > Linuxwacom-discuss mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Sara Fauzia
Well, that'd explain it. Thanks a lot for looking into this, and I look forward to trying those patches.

Sara


On Tue, Apr 29, 2014 at 2:21 PM, Jason Gerecke <[hidden email]> wrote:
Thanks :) I've taken a look at the report descriptors and it looks
like neither the pen nor touch packets are formatted quite the same as
other tablet PCs. I'll see if I can get some working patches written
in the next few days for you to test.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]> wrote:
> Thanks Jason! (: Here's the information you requested:
>
> [ --- SNIP --- ]
>
>
> On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke <[hidden email]>
> wrote:
>>
>> Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
>> out there, but had no information to add support for it.
>>
>> Your patches look like what I would expect, so I'm a little surprised
>> that they don't work. Could you run the following and provide the
>> output for me? It should provide a description of the packet format,
>> in case there's anything special that isn't being decoded?
>>
>> $ sudo modprobe -r wacom
>> $ sudo lsusb -vvv -d 56a:5002
>> $ sudo modprobe wacom
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]> wrote:
>> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel) Wacom
>> > USB
>> > device:
>> >
>> > lsusb | grep -i wacom
>> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >
>> > I added support for it into the kernel by adding the line (copying the
>> > manner other multitouch Tablet PCs have been added):
>> >
>> > static const struct wacom_features wacom_features_0x5002 =
>> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,  255,
>> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >
>> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> > kernel
>> > (version 3.14). With that, my pen became actually usable as a mouse,
>> > though
>> > the touch still didn't work, and I didn't have pen sensitivity. So in an
>> > attempt to get the wacom features working, I created and applied a patch
>> > to
>> > xf86-input-wacom-0.24.0:
>> >
>> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> > @@ -303,6 +303,7 @@
>> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
>> > 0x101" },
>> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
>> > 0x10D" },
>> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
>> > 0x4001" },
>> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
>> > 0x5002" },
>> >
>> >   /* IDs from Waltop's driver, available
>> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> > linuxwacom
>> > 0.8.4.
>> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> > @@ -283,6 +283,7 @@
>> >   case 0x101: /* TPC with MT */
>> >   case 0x10D: /* TPC with MT */
>> >   case 0x4001: /* TPC with MT */
>> > + case 0x5002: /* TPC with MT */
>> >   case 0xE2: /* TPC with 2FGT */
>> >   case 0xE3: /* TPC with 2FGT */
>> >   case 0xE5: /* TPC with MT */
>> >
>> >
>> > and now the wacom driver picks up my touchscreen, pen, and eraser (as
>> > seen
>> > from my Xorg log), but now nothing is functional, not even the pen as a
>> > mouse.
>> >
>> > The Xorg.log reports:
>> >
>> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002
>> > Finger
>> > (/dev/input/event4)
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
>> > touchscreen catchall"
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom
>> > class"
>> > [   991.131] (II) LoadModule: "wacom"
>> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> > [   991.131] Module class: X.Org XInput Driver
>> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> > [   991.131] (II) wacom: Driver for Wacom graphics tablets: PenPartner,
>> > Graphire,
>> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
>> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
>> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
>> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
>> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
>> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
>> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> > usb:17ef:6004
>> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> > Finger'
>> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
>> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for
>> > this
>> > device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for
>> > this
>> > device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for
>> > this
>> > device.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified, assuming
>> > 'touch'.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> > automatically
>> > added.
>> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736 maxY=16325
>> > maxZ=0 resX=0 resY=0
>> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging dependent
>> > devices.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'stylus'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'eraser'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'cursor'
>> > for
>> > this device.
>> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad' for
>> > this
>> > device.
>> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging completed.
>> > [   991.196] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> > [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Finger touch" (type: TOUCH, id 11)
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> > acceleration scheme 1
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > profile 0
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > factor: 2.000
>> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> > threshold: 4
>> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> > Finger
>> > (/dev/input/mouse0)
>> > [   991.198] (II) No input driver specified, ignoring this device.
>> > [   991.198] (II) This device may have been added with another device
>> > file.
>> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
>> > (/dev/input/event5)
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> > tablet
>> > catchall"
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> > class"
>> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen'
>> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
>> > 'stylus'.
>> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> > automatically
>> > added.
>> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure threshold
>> > of
>> > 27 for button 1
>> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
>> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
>> > devices.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor' for
>> > this device.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch' for
>> > this
>> > device.
>> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for
>> > this
>> > device.
>> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
>> > [   991.276] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> > [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Pen
>> > stylus" (type: STYLUS, id 12)
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> > acceleration
>> > scheme 1
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > profile
>> > 0
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > factor:
>> > 2.000
>> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> > threshold: 4
>> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002 Pen
>> > (/dev/input/mouse1)
>> > [   991.278] (II) No input driver specified, ignoring this device.
>> > [   991.278] (II) This device may have been added with another device
>> > file.
>> >
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> > "evdev
>> > tablet catchall"
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> > "Wacom
>> > class"
>> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002 Pen
>> > eraser'
>> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> > events
>> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> > [   991.509] (**) Option "Type" "eraser"
>> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
>> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> > [   991.543] (**) Option "config_info"
>> >
>> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> > [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4 5002
>> > Pen
>> > eraser" (type: ERASER, id 16)
>> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> > acceleration
>> > scheme 1
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > profile
>> > 0
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > factor:
>> > 2.000
>> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> > threshold: 4
>> >
>> >
>> > Some other possibly useful output:
>> >
>> > ls /dev/input/by-id | grep 'Wacom'
>> >
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >
>> > xsetwacom --list
>> >
>> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >
>> > I can't see anything that looks overtly abnormal, but I'm no programmer.
>> > If
>> > there's any other useful output I can provide, please let me know.
>> > Thanks in
>> > advance!
>> >
>> > Sara
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Start Your Social Network Today - Download eXo Platform
>> > Build your Enterprise Intranet with eXo Platform Software
>> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> > http://p.sf.net/sfu/ExoPlatform
>> > _______________________________________________
>> > Linuxwacom-discuss mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman



--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
Please try the two attached input-wacom patches. Note that I'm not
entirely sure my modifications to the touch packet are correct. The
HID descriptor on the 4001 doesn't match up with the packets it
actually sends, which makes me nervous about the HID descriptor being
right for this (seemingly similar) 5002. I might have you send me a
dump of the raw USB stream to be sure...

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Tue, Apr 29, 2014 at 12:05 PM, Sara Fauzia <[hidden email]> wrote:

> Well, that'd explain it. Thanks a lot for looking into this, and I look
> forward to trying those patches.
>
> Sara
>
>
> On Tue, Apr 29, 2014 at 2:21 PM, Jason Gerecke <[hidden email]> wrote:
>>
>> Thanks :) I've taken a look at the report descriptors and it looks
>> like neither the pen nor touch packets are formatted quite the same as
>> other tablet PCs. I'll see if I can get some working patches written
>> in the next few days for you to test.
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]> wrote:
>> > Thanks Jason! (: Here's the information you requested:
>> >
>> > [ --- SNIP --- ]
>> >
>> >
>> > On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke <[hidden email]>
>> > wrote:
>> >>
>> >> Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
>> >> out there, but had no information to add support for it.
>> >>
>> >> Your patches look like what I would expect, so I'm a little surprised
>> >> that they don't work. Could you run the following and provide the
>> >> output for me? It should provide a description of the packet format,
>> >> in case there's anything special that isn't being decoded?
>> >>
>> >> $ sudo modprobe -r wacom
>> >> $ sudo lsusb -vvv -d 56a:5002
>> >> $ sudo modprobe wacom
>> >>
>> >> Jason
>> >> ---
>> >> Now instead of four in the eights place /
>> >> you’ve got three, ‘Cause you added one  /
>> >> (That is to say, eight) to the two,     /
>> >> But you can’t take seven from three,    /
>> >> So you look at the sixty-fours....
>> >>
>> >>
>> >>
>> >> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]>
>> >> wrote:
>> >> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel)
>> >> > Wacom
>> >> > USB
>> >> > device:
>> >> >
>> >> > lsusb | grep -i wacom
>> >> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >> >
>> >> > I added support for it into the kernel by adding the line (copying
>> >> > the
>> >> > manner other multitouch Tablet PCs have been added):
>> >> >
>> >> > static const struct wacom_features wacom_features_0x5002 =
>> >> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,
>> >> > 255,
>> >> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >> >
>> >> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> >> > kernel
>> >> > (version 3.14). With that, my pen became actually usable as a mouse,
>> >> > though
>> >> > the touch still didn't work, and I didn't have pen sensitivity. So in
>> >> > an
>> >> > attempt to get the wacom features working, I created and applied a
>> >> > patch
>> >> > to
>> >> > xf86-input-wacom-0.24.0:
>> >> >
>> >> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> >> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> >> > @@ -303,6 +303,7 @@
>> >> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
>> >> > 0x101" },
>> >> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
>> >> > 0x10D" },
>> >> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
>> >> > 0x4001" },
>> >> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
>> >> > 0x5002" },
>> >> >
>> >> >   /* IDs from Waltop's driver, available
>> >> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> >> > linuxwacom
>> >> > 0.8.4.
>> >> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> >> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> >> > @@ -283,6 +283,7 @@
>> >> >   case 0x101: /* TPC with MT */
>> >> >   case 0x10D: /* TPC with MT */
>> >> >   case 0x4001: /* TPC with MT */
>> >> > + case 0x5002: /* TPC with MT */
>> >> >   case 0xE2: /* TPC with 2FGT */
>> >> >   case 0xE3: /* TPC with 2FGT */
>> >> >   case 0xE5: /* TPC with MT */
>> >> >
>> >> >
>> >> > and now the wacom driver picks up my touchscreen, pen, and eraser (as
>> >> > seen
>> >> > from my Xorg log), but now nothing is functional, not even the pen as
>> >> > a
>> >> > mouse.
>> >> >
>> >> > The Xorg.log reports:
>> >> >
>> >> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Finger
>> >> > (/dev/input/event4)
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
>> >> > touchscreen catchall"
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom
>> >> > class"
>> >> > [   991.131] (II) LoadModule: "wacom"
>> >> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> >> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> >> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> >> > [   991.131] Module class: X.Org XInput Driver
>> >> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> >> > [   991.131] (II) wacom: Driver for Wacom graphics tablets:
>> >> > PenPartner,
>> >> > Graphire,
>> >> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> >> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> >> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
>> >> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
>> >> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> >> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> >> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> >> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> >> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> >> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
>> >> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
>> >> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
>> >> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> >> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> >> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> >> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
>> >> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> >> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> >> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> >> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> >> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> >> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> >> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> >> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> >> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> >> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> >> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> >> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> >> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> >> > usb:17ef:6004
>> >> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Finger'
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
>> >> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified,
>> >> > assuming
>> >> > 'touch'.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> >> > automatically
>> >> > added.
>> >> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736
>> >> > maxY=16325
>> >> > maxZ=0 resX=0 resY=0
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> > dependent
>> >> > devices.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'stylus'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'eraser'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'cursor'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad'
>> >> > for
>> >> > this
>> >> > device.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> > completed.
>> >> > [   991.196] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> >> > [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Finger touch" (type: TOUCH, id 11)
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> >> > acceleration scheme 1
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > profile 0
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > factor: 2.000
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > threshold: 4
>> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Finger
>> >> > (/dev/input/mouse0)
>> >> > [   991.198] (II) No input driver specified, ignoring this device.
>> >> > [   991.198] (II) This device may have been added with another device
>> >> > file.
>> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Pen
>> >> > (/dev/input/event5)
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> >> > tablet
>> >> > catchall"
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> >> > class"
>> >> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Pen'
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> >> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
>> >> > 'stylus'.
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> >> > automatically
>> >> > added.
>> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure
>> >> > threshold
>> >> > of
>> >> > 27 for button 1
>> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
>> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
>> >> > devices.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor'
>> >> > for
>> >> > this device.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch'
>> >> > for
>> >> > this
>> >> > device.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for
>> >> > this
>> >> > device.
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
>> >> > [   991.276] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> > [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Pen
>> >> > stylus" (type: STYLUS, id 12)
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> >> > acceleration
>> >> > scheme 1
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > profile
>> >> > 0
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > factor:
>> >> > 2.000
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > threshold: 4
>> >> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Pen
>> >> > (/dev/input/mouse1)
>> >> > [   991.278] (II) No input driver specified, ignoring this device.
>> >> > [   991.278] (II) This device may have been added with another device
>> >> > file.
>> >> >
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> > "evdev
>> >> > tablet catchall"
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> > "Wacom
>> >> > class"
>> >> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Pen
>> >> > eraser'
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> >> > events
>> >> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> >> > [   991.509] (**) Option "Type" "eraser"
>> >> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
>> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> > [   991.543] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> > [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Pen
>> >> > eraser" (type: ERASER, id 16)
>> >> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> >> > acceleration
>> >> > scheme 1
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > profile
>> >> > 0
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > factor:
>> >> > 2.000
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > threshold: 4
>> >> >
>> >> >
>> >> > Some other possibly useful output:
>> >> >
>> >> > ls /dev/input/by-id | grep 'Wacom'
>> >> >
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >> >
>> >> > xsetwacom --list
>> >> >
>> >> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> >> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> >> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >> >
>> >> > I can't see anything that looks overtly abnormal, but I'm no
>> >> > programmer.
>> >> > If
>> >> > there's any other useful output I can provide, please let me know.
>> >> > Thanks in
>> >> > advance!
>> >> >
>> >> > Sara
>> >> >
>> >> > --
>> >> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> >> > imagine
>> >> > things which are not really there, but just to comprehend those
>> >> > things
>> >> > which
>> >> > are there." ~Richard P. Feynman
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > Start Your Social Network Today - Download eXo Platform
>> >> > Build your Enterprise Intranet with eXo Platform Software
>> >> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> >> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> >> > http://p.sf.net/sfu/ExoPlatform
>> >> > _______________________________________________
>> >> > Linuxwacom-discuss mailing list
>> >> > [hidden email]
>> >> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >> >
>> >
>> >
>> >
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

0002-Add-support-for-056a-5002-found-on-Fujitsu-T904.patch (4K) Download Attachment
0001-Make-wacom_mt_touch-parsing-more-flexible.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Sara Fauzia
Jason,

These patches are against the 3.7 kernel, but I am using 3.14.2 in Arch Linux. Any chance you could re-patch these against that? I tried applying these patches myself, but these two lines I'm not sure how to resolve (for your patches replace the x_offset variable):

int x = le16_to_cpup((__le16 *)&data[offset + x_offset + 7]);
int y = le16_to_cpup((__le16 *)&data[offset + x_offset + 9]);

at line 994 of (the original) wacom_wac.c.I tried modifying them myself but I probably didn't do it right as now not even my Wacom devices appear in xinput. Hope fixing this isn't too much of a problem.

Sorry for the duplicated message, forgot to send it to the mailing list too the first time.

Sara


On Mon, May 5, 2014 at 3:07 PM, Jason Gerecke <[hidden email]> wrote:
Please try the two attached input-wacom patches. Note that I'm not
entirely sure my modifications to the touch packet are correct. The
HID descriptor on the 4001 doesn't match up with the packets it
actually sends, which makes me nervous about the HID descriptor being
right for this (seemingly similar) 5002. I might have you send me a
dump of the raw USB stream to be sure...

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Tue, Apr 29, 2014 at 12:05 PM, Sara Fauzia <[hidden email]> wrote:
> Well, that'd explain it. Thanks a lot for looking into this, and I look
> forward to trying those patches.
>
> Sara
>
>
> On Tue, Apr 29, 2014 at 2:21 PM, Jason Gerecke <[hidden email]> wrote:
>>
>> Thanks :) I've taken a look at the report descriptors and it looks
>> like neither the pen nor touch packets are formatted quite the same as
>> other tablet PCs. I'll see if I can get some working patches written
>> in the next few days for you to test.
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]> wrote:
>> > Thanks Jason! (: Here's the information you requested:
>> >
>> > [ --- SNIP --- ]
>> >
>> >
>> > On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke <[hidden email]>
>> > wrote:
>> >>
>> >> Glad to hear from you! :) I had saw that there was a 056a:5002 sensor
>> >> out there, but had no information to add support for it.
>> >>
>> >> Your patches look like what I would expect, so I'm a little surprised
>> >> that they don't work. Could you run the following and provide the
>> >> output for me? It should provide a description of the packet format,
>> >> in case there's anything special that isn't being decoded?
>> >>
>> >> $ sudo modprobe -r wacom
>> >> $ sudo lsusb -vvv -d 56a:5002
>> >> $ sudo modprobe wacom
>> >>
>> >> Jason
>> >> ---
>> >> Now instead of four in the eights place /
>> >> you’ve got three, ‘Cause you added one  /
>> >> (That is to say, eight) to the two,     /
>> >> But you can’t take seven from three,    /
>> >> So you look at the sixty-fours....
>> >>
>> >>
>> >>
>> >> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]>
>> >> wrote:
>> >> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel)
>> >> > Wacom
>> >> > USB
>> >> > device:
>> >> >
>> >> > lsusb | grep -i wacom
>> >> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >> >
>> >> > I added support for it into the kernel by adding the line (copying
>> >> > the
>> >> > manner other multitouch Tablet PCs have been added):
>> >> >
>> >> > static const struct wacom_features wacom_features_0x5002 =
>> >> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,
>> >> > 255,
>> >> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >> >
>> >> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> >> > kernel
>> >> > (version 3.14). With that, my pen became actually usable as a mouse,
>> >> > though
>> >> > the touch still didn't work, and I didn't have pen sensitivity. So in
>> >> > an
>> >> > attempt to get the wacom features working, I created and applied a
>> >> > patch
>> >> > to
>> >> > xf86-input-wacom-0.24.0:
>> >> >
>> >> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> >> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> >> > @@ -303,6 +303,7 @@
>> >> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,   "TabletPC
>> >> > 0x101" },
>> >> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,   "TabletPC
>> >> > 0x10D" },
>> >> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,  "TabletPC
>> >> > 0x4001" },
>> >> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,  "TabletPC
>> >> > 0x5002" },
>> >> >
>> >> >   /* IDs from Waltop's driver, available
>> >> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> >> > linuxwacom
>> >> > 0.8.4.
>> >> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> >> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> >> > @@ -283,6 +283,7 @@
>> >> >   case 0x101: /* TPC with MT */
>> >> >   case 0x10D: /* TPC with MT */
>> >> >   case 0x4001: /* TPC with MT */
>> >> > + case 0x5002: /* TPC with MT */
>> >> >   case 0xE2: /* TPC with 2FGT */
>> >> >   case 0xE3: /* TPC with 2FGT */
>> >> >   case 0xE5: /* TPC with MT */
>> >> >
>> >> >
>> >> > and now the wacom driver picks up my touchscreen, pen, and eraser (as
>> >> > seen
>> >> > from my Xorg log), but now nothing is functional, not even the pen as
>> >> > a
>> >> > mouse.
>> >> >
>> >> > The Xorg.log reports:
>> >> >
>> >> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Finger
>> >> > (/dev/input/event4)
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "evdev
>> >> > touchscreen catchall"
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass "Wacom
>> >> > class"
>> >> > [   991.131] (II) LoadModule: "wacom"
>> >> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> >> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> >> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> >> > [   991.131] Module class: X.Org XInput Driver
>> >> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> >> > [   991.131] (II) wacom: Driver for Wacom graphics tablets:
>> >> > PenPartner,
>> >> > Graphire,
>> >> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> >> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> >> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461, CTL-660,
>> >> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1, CTH-461/L,
>> >> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> >> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> >> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> >> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> >> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> >> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1 4x6,
>> >> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3 12x12,
>> >> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4 6x9,
>> >> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> >> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> >> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> >> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq 21UX2,
>> >> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> >> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> >> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> >> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> >> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> >> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> >> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> >> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> >> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> >> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> >> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> >> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> >> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> >> > usb:17ef:6004
>> >> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Finger'
>> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core events
>> >> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor' for
>> >> > this
>> >> > device.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified,
>> >> > assuming
>> >> > 'touch'.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> >> > automatically
>> >> > added.
>> >> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736
>> >> > maxY=16325
>> >> > maxZ=0 resX=0 resY=0
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> > dependent
>> >> > devices.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'stylus'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'eraser'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> > 'cursor'
>> >> > for
>> >> > this device.
>> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type 'pad'
>> >> > for
>> >> > this
>> >> > device.
>> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> > completed.
>> >> > [   991.196] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> >> > [   991.196] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Finger touch" (type: TOUCH, id 11)
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> >> > acceleration scheme 1
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > profile 0
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > factor: 2.000
>> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) acceleration
>> >> > threshold: 4
>> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Finger
>> >> > (/dev/input/mouse0)
>> >> > [   991.198] (II) No input driver specified, ignoring this device.
>> >> > [   991.198] (II) This device may have been added with another device
>> >> > file.
>> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Pen
>> >> > (/dev/input/event5)
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> >> > tablet
>> >> > catchall"
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> >> > class"
>> >> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Pen'
>> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> >> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified, assuming
>> >> > 'stylus'.
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> >> > automatically
>> >> > added.
>> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure
>> >> > threshold
>> >> > of
>> >> > 27 for button 1
>> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576 maxY=16724
>> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging dependent
>> >> > devices.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'cursor'
>> >> > for
>> >> > this device.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'touch'
>> >> > for
>> >> > this
>> >> > device.
>> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad' for
>> >> > this
>> >> > device.
>> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging completed.
>> >> > [   991.276] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> > [   991.276] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Pen
>> >> > stylus" (type: STYLUS, id 12)
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> >> > acceleration
>> >> > scheme 1
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > profile
>> >> > 0
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > factor:
>> >> > 2.000
>> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) acceleration
>> >> > threshold: 4
>> >> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4 5002
>> >> > Pen
>> >> > (/dev/input/mouse1)
>> >> > [   991.278] (II) No input driver specified, ignoring this device.
>> >> > [   991.278] (II) This device may have been added with another device
>> >> > file.
>> >> >
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> > "evdev
>> >> > tablet catchall"
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> > "Wacom
>> >> > class"
>> >> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> > Pen
>> >> > eraser'
>> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> >> > events
>> >> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> >> > [   991.509] (**) Option "Type" "eraser"
>> >> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576 maxY=16724
>> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> > [   991.543] (**) Option "config_info"
>> >> >
>> >> >
>> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> > [   991.543] (II) XINPUT: Adding extended input device "Wacom ISDv4
>> >> > 5002
>> >> > Pen
>> >> > eraser" (type: ERASER, id 16)
>> >> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> >> > acceleration
>> >> > scheme 1
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > profile
>> >> > 0
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > factor:
>> >> > 2.000
>> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel) acceleration
>> >> > threshold: 4
>> >> >
>> >> >
>> >> > Some other possibly useful output:
>> >> >
>> >> > ls /dev/input/by-id | grep 'Wacom'
>> >> >
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >> >
>> >> > xsetwacom --list
>> >> >
>> >> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> >> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> >> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >> >
>> >> > I can't see anything that looks overtly abnormal, but I'm no
>> >> > programmer.
>> >> > If
>> >> > there's any other useful output I can provide, please let me know.
>> >> > Thanks in
>> >> > advance!
>> >> >
>> >> > Sara
>> >> >
>> >> > --
>> >> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> >> > imagine
>> >> > things which are not really there, but just to comprehend those
>> >> > things
>> >> > which
>> >> > are there." ~Richard P. Feynman
>> >> >
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > Start Your Social Network Today - Download eXo Platform
>> >> > Build your Enterprise Intranet with eXo Platform Software
>> >> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> >> > Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> >> > http://p.sf.net/sfu/ExoPlatform
>> >> > _______________________________________________
>> >> > Linuxwacom-discuss mailing list
>> >> > [hidden email]
>> >> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >> >
>> >
>> >
>> >
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman



--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
*doh* My bad. I've attached updated versions that should actually compile.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Mon, May 5, 2014 at 4:34 PM, Sara Fauzia <[hidden email]> wrote:

> Jason,
>
> These patches are against the 3.7 kernel, but I am using 3.14.2 in Arch
> Linux. Any chance you could re-patch these against that? I tried applying
> these patches myself, but these two lines I'm not sure how to resolve (for
> your patches replace the x_offset variable):
>
> int x = le16_to_cpup((__le16 *)&data[offset + x_offset + 7]);
> int y = le16_to_cpup((__le16 *)&data[offset + x_offset + 9]);
>
> at line 994 of (the original) wacom_wac.c.I tried modifying them myself but
> I probably didn't do it right as now not even my Wacom devices appear in
> xinput. Hope fixing this isn't too much of a problem.
>
> Sorry for the duplicated message, forgot to send it to the mailing list too
> the first time.
>
> Sara
>
>
> On Mon, May 5, 2014 at 3:07 PM, Jason Gerecke <[hidden email]> wrote:
>>
>> Please try the two attached input-wacom patches. Note that I'm not
>> entirely sure my modifications to the touch packet are correct. The
>> HID descriptor on the 4001 doesn't match up with the packets it
>> actually sends, which makes me nervous about the HID descriptor being
>> right for this (seemingly similar) 5002. I might have you send me a
>> dump of the raw USB stream to be sure...
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Tue, Apr 29, 2014 at 12:05 PM, Sara Fauzia <[hidden email]> wrote:
>> > Well, that'd explain it. Thanks a lot for looking into this, and I look
>> > forward to trying those patches.
>> >
>> > Sara
>> >
>> >
>> > On Tue, Apr 29, 2014 at 2:21 PM, Jason Gerecke <[hidden email]>
>> > wrote:
>> >>
>> >> Thanks :) I've taken a look at the report descriptors and it looks
>> >> like neither the pen nor touch packets are formatted quite the same as
>> >> other tablet PCs. I'll see if I can get some working patches written
>> >> in the next few days for you to test.
>> >>
>> >> Jason
>> >> ---
>> >> Now instead of four in the eights place /
>> >> you’ve got three, ‘Cause you added one  /
>> >> (That is to say, eight) to the two,     /
>> >> But you can’t take seven from three,    /
>> >> So you look at the sixty-fours....
>> >>
>> >>
>> >>
>> >> On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]>
>> >> wrote:
>> >> > Thanks Jason! (: Here's the information you requested:
>> >> >
>> >> > [ --- SNIP --- ]
>> >> >
>> >> >
>> >> > On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke
>> >> > <[hidden email]>
>> >> > wrote:
>> >> >>
>> >> >> Glad to hear from you! :) I had saw that there was a 056a:5002
>> >> >> sensor
>> >> >> out there, but had no information to add support for it.
>> >> >>
>> >> >> Your patches look like what I would expect, so I'm a little
>> >> >> surprised
>> >> >> that they don't work. Could you run the following and provide the
>> >> >> output for me? It should provide a description of the packet format,
>> >> >> in case there's anything special that isn't being decoded?
>> >> >>
>> >> >> $ sudo modprobe -r wacom
>> >> >> $ sudo lsusb -vvv -d 56a:5002
>> >> >> $ sudo modprobe wacom
>> >> >>
>> >> >> Jason
>> >> >> ---
>> >> >> Now instead of four in the eights place /
>> >> >> you’ve got three, ‘Cause you added one  /
>> >> >> (That is to say, eight) to the two,     /
>> >> >> But you can’t take seven from three,    /
>> >> >> So you look at the sixty-fours....
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]>
>> >> >> wrote:
>> >> >> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel)
>> >> >> > Wacom
>> >> >> > USB
>> >> >> > device:
>> >> >> >
>> >> >> > lsusb | grep -i wacom
>> >> >> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >> >> >
>> >> >> > I added support for it into the kernel by adding the line (copying
>> >> >> > the
>> >> >> > manner other multitouch Tablet PCs have been added):
>> >> >> >
>> >> >> > static const struct wacom_features wacom_features_0x5002 =
>> >> >> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,
>> >> >> > 255,
>> >> >> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >> >> >
>> >> >> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> >> >> > kernel
>> >> >> > (version 3.14). With that, my pen became actually usable as a
>> >> >> > mouse,
>> >> >> > though
>> >> >> > the touch still didn't work, and I didn't have pen sensitivity. So
>> >> >> > in
>> >> >> > an
>> >> >> > attempt to get the wacom features working, I created and applied a
>> >> >> > patch
>> >> >> > to
>> >> >> > xf86-input-wacom-0.24.0:
>> >> >> >
>> >> >> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> >> >> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> >> >> > @@ -303,6 +303,7 @@
>> >> >> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x101" },
>> >> >> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x10D" },
>> >> >> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x4001" },
>> >> >> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x5002" },
>> >> >> >
>> >> >> >   /* IDs from Waltop's driver, available
>> >> >> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >> >> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> >> >> > linuxwacom
>> >> >> > 0.8.4.
>> >> >> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> >> >> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> >> >> > @@ -283,6 +283,7 @@
>> >> >> >   case 0x101: /* TPC with MT */
>> >> >> >   case 0x10D: /* TPC with MT */
>> >> >> >   case 0x4001: /* TPC with MT */
>> >> >> > + case 0x5002: /* TPC with MT */
>> >> >> >   case 0xE2: /* TPC with 2FGT */
>> >> >> >   case 0xE3: /* TPC with 2FGT */
>> >> >> >   case 0xE5: /* TPC with MT */
>> >> >> >
>> >> >> >
>> >> >> > and now the wacom driver picks up my touchscreen, pen, and eraser
>> >> >> > (as
>> >> >> > seen
>> >> >> > from my Xorg log), but now nothing is functional, not even the pen
>> >> >> > as
>> >> >> > a
>> >> >> > mouse.
>> >> >> >
>> >> >> > The Xorg.log reports:
>> >> >> >
>> >> >> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Finger
>> >> >> > (/dev/input/event4)
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass
>> >> >> > "evdev
>> >> >> > touchscreen catchall"
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass
>> >> >> > "Wacom
>> >> >> > class"
>> >> >> > [   991.131] (II) LoadModule: "wacom"
>> >> >> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> >> >> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> >> >> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> >> >> > [   991.131] Module class: X.Org XInput Driver
>> >> >> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> >> >> > [   991.131] (II) wacom: Driver for Wacom graphics tablets:
>> >> >> > PenPartner,
>> >> >> > Graphire,
>> >> >> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> >> >> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> >> >> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461,
>> >> >> > CTL-660,
>> >> >> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1,
>> >> >> > CTH-461/L,
>> >> >> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> >> >> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> >> >> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> >> >> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> >> >> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> >> >> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1
>> >> >> > 4x6,
>> >> >> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3
>> >> >> > 12x12,
>> >> >> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4
>> >> >> > 6x9,
>> >> >> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> >> >> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> >> >> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> >> >> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq
>> >> >> > 21UX2,
>> >> >> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> >> >> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> >> >> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> >> >> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> >> >> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> >> >> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> >> >> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> >> >> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> >> >> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> >> >> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> >> >> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> >> >> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> >> >> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> >> >> > usb:17ef:6004
>> >> >> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Finger'
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core
>> >> >> > events
>> >> >> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified,
>> >> >> > assuming
>> >> >> > 'touch'.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> >> >> > automatically
>> >> >> > added.
>> >> >> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736
>> >> >> > maxY=16325
>> >> >> > maxZ=0 resX=0 resY=0
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> >> > dependent
>> >> >> > devices.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'stylus'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'eraser'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'cursor'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'pad'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> >> > completed.
>> >> >> > [   991.196] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> >> >> > [   991.196] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Finger touch" (type: TOUCH, id 11)
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> >> >> > acceleration scheme 1
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > profile 0
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > factor: 2.000
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Finger
>> >> >> > (/dev/input/mouse0)
>> >> >> > [   991.198] (II) No input driver specified, ignoring this device.
>> >> >> > [   991.198] (II) This device may have been added with another
>> >> >> > device
>> >> >> > file.
>> >> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > (/dev/input/event5)
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> >> >> > tablet
>> >> >> > catchall"
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> >> >> > class"
>> >> >> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Pen'
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> >> >> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified,
>> >> >> > assuming
>> >> >> > 'stylus'.
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> >> >> > automatically
>> >> >> > added.
>> >> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure
>> >> >> > threshold
>> >> >> > of
>> >> >> > 27 for button 1
>> >> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576
>> >> >> > maxY=16724
>> >> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging
>> >> >> > dependent
>> >> >> > devices.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type
>> >> >> > 'cursor'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type
>> >> >> > 'touch'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging
>> >> >> > completed.
>> >> >> > [   991.276] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> >> > [   991.276] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > stylus" (type: STYLUS, id 12)
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> >> >> > acceleration
>> >> >> > scheme 1
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > profile
>> >> >> > 0
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > factor:
>> >> >> > 2.000
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > (/dev/input/mouse1)
>> >> >> > [   991.278] (II) No input driver specified, ignoring this device.
>> >> >> > [   991.278] (II) This device may have been added with another
>> >> >> > device
>> >> >> > file.
>> >> >> >
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> >> > "evdev
>> >> >> > tablet catchall"
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> >> > "Wacom
>> >> >> > class"
>> >> >> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Pen
>> >> >> > eraser'
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> >> >> > events
>> >> >> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> >> >> > [   991.509] (**) Option "Type" "eraser"
>> >> >> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576
>> >> >> > maxY=16724
>> >> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> >> > [   991.543] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> >> > [   991.543] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > eraser" (type: ERASER, id 16)
>> >> >> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> >> >> > acceleration
>> >> >> > scheme 1
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > profile
>> >> >> > 0
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > factor:
>> >> >> > 2.000
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> >
>> >> >> >
>> >> >> > Some other possibly useful output:
>> >> >> >
>> >> >> > ls /dev/input/by-id | grep 'Wacom'
>> >> >> >
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >> >> >
>> >> >> > xsetwacom --list
>> >> >> >
>> >> >> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> >> >> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> >> >> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >> >> >
>> >> >> > I can't see anything that looks overtly abnormal, but I'm no
>> >> >> > programmer.
>> >> >> > If
>> >> >> > there's any other useful output I can provide, please let me know.
>> >> >> > Thanks in
>> >> >> > advance!
>> >> >> >
>> >> >> > Sara
>> >> >> >
>> >> >> > --
>> >> >> > "Our imagination is stretched to the utmost, not, as in fiction,
>> >> >> > to
>> >> >> > imagine
>> >> >> > things which are not really there, but just to comprehend those
>> >> >> > things
>> >> >> > which
>> >> >> > are there." ~Richard P. Feynman
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------------------
>> >> >> > Start Your Social Network Today - Download eXo Platform
>> >> >> > Build your Enterprise Intranet with eXo Platform Software
>> >> >> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> >> >> > Get Started Now And Turn Your Intranet Into A Collaboration
>> >> >> > Platform
>> >> >> > http://p.sf.net/sfu/ExoPlatform
>> >> >> > _______________________________________________
>> >> >> > Linuxwacom-discuss mailing list
>> >> >> > [hidden email]
>> >> >> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> >> > imagine
>> >> > things which are not really there, but just to comprehend those
>> >> > things
>> >> > which
>> >> > are there." ~Richard P. Feynman
>> >
>> >
>> >
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

0002-Add-support-for-056a-5002-found-on-Fujitsu-T904.patch (4K) Download Attachment
0001-Make-wacom_mt_touch-parsing-more-flexible.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Sara Fauzia
This does compile now, thanks. Unfortunately, I'm no longer seeing my pen or touchscreen when I run `xsetwacom --list devices`.

tree /dev/input:

├── by-id
│   └── usb-Chicony_Electronics_Co._Ltd._FJ_Camera_0x0001-event-if00 -> ../event6
├── by-path
│   ├── pci-0000:00:14.0-usb-0:5.1:1.0-event -> ../event6
│   ├── platform-i8042-serio-0-event-kbd -> ../event0
│   ├── platform-i8042-serio-2-event-mouse -> ../event8
│   ├── platform-i8042-serio-2-mouse -> ../mouse0
│   └── platform-pcspkr-event-spkr -> ../event7

And I've attached the verbose output from xinput. `lsmod | grep wacom` is empty, so is my kernel not even recognizing a Wacom digitizer is present now, that it's not auto-loading? I tried manually loading it and re-logging in, but no dice.

Sara


On Mon, May 5, 2014 at 9:38 PM, Jason Gerecke <[hidden email]> wrote:
*doh* My bad. I've attached updated versions that should actually compile.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Mon, May 5, 2014 at 4:34 PM, Sara Fauzia <[hidden email]> wrote:
> Jason,
>
> These patches are against the 3.7 kernel, but I am using 3.14.2 in Arch
> Linux. Any chance you could re-patch these against that? I tried applying
> these patches myself, but these two lines I'm not sure how to resolve (for
> your patches replace the x_offset variable):
>
> int x = le16_to_cpup((__le16 *)&data[offset + x_offset + 7]);
> int y = le16_to_cpup((__le16 *)&data[offset + x_offset + 9]);
>
> at line 994 of (the original) wacom_wac.c.I tried modifying them myself but
> I probably didn't do it right as now not even my Wacom devices appear in
> xinput. Hope fixing this isn't too much of a problem.
>
> Sorry for the duplicated message, forgot to send it to the mailing list too
> the first time.
>
> Sara
>
>
> On Mon, May 5, 2014 at 3:07 PM, Jason Gerecke <[hidden email]> wrote:
>>
>> Please try the two attached input-wacom patches. Note that I'm not
>> entirely sure my modifications to the touch packet are correct. The
>> HID descriptor on the 4001 doesn't match up with the packets it
>> actually sends, which makes me nervous about the HID descriptor being
>> right for this (seemingly similar) 5002. I might have you send me a
>> dump of the raw USB stream to be sure...
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Tue, Apr 29, 2014 at 12:05 PM, Sara Fauzia <[hidden email]> wrote:
>> > Well, that'd explain it. Thanks a lot for looking into this, and I look
>> > forward to trying those patches.
>> >
>> > Sara
>> >
>> >
>> > On Tue, Apr 29, 2014 at 2:21 PM, Jason Gerecke <[hidden email]>
>> > wrote:
>> >>
>> >> Thanks :) I've taken a look at the report descriptors and it looks
>> >> like neither the pen nor touch packets are formatted quite the same as
>> >> other tablet PCs. I'll see if I can get some working patches written
>> >> in the next few days for you to test.
>> >>
>> >> Jason
>> >> ---
>> >> Now instead of four in the eights place /
>> >> you’ve got three, ‘Cause you added one  /
>> >> (That is to say, eight) to the two,     /
>> >> But you can’t take seven from three,    /
>> >> So you look at the sixty-fours....
>> >>
>> >>
>> >>
>> >> On Mon, Apr 28, 2014 at 10:57 AM, Sara Fauzia <[hidden email]>
>> >> wrote:
>> >> > Thanks Jason! (: Here's the information you requested:
>> >> >
>> >> > [ --- SNIP --- ]
>> >> >
>> >> >
>> >> > On Mon, Apr 28, 2014 at 12:29 PM, Jason Gerecke
>> >> > <[hidden email]>
>> >> > wrote:
>> >> >>
>> >> >> Glad to hear from you! :) I had saw that there was a 056a:5002
>> >> >> sensor
>> >> >> out there, but had no information to add support for it.
>> >> >>
>> >> >> Your patches look like what I would expect, so I'm a little
>> >> >> surprised
>> >> >> that they don't work. Could you run the following and provide the
>> >> >> output for me? It should provide a description of the packet format,
>> >> >> in case there's anything special that isn't being decoded?
>> >> >>
>> >> >> $ sudo modprobe -r wacom
>> >> >> $ sudo lsusb -vvv -d 56a:5002
>> >> >> $ sudo modprobe wacom
>> >> >>
>> >> >> Jason
>> >> >> ---
>> >> >> Now instead of four in the eights place /
>> >> >> you’ve got three, ‘Cause you added one  /
>> >> >> (That is to say, eight) to the two,     /
>> >> >> But you can’t take seven from three,    /
>> >> >> So you look at the sixty-fours....
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Sun, Apr 27, 2014 at 12:38 PM, Sara Fauzia <[hidden email]>
>> >> >> wrote:
>> >> >> > The Fujitsu T904 uses a new (to the wacom driver and linux kernel)
>> >> >> > Wacom
>> >> >> > USB
>> >> >> > device:
>> >> >> >
>> >> >> > lsusb | grep -i wacom
>> >> >> > Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
>> >> >> >
>> >> >> > I added support for it into the kernel by adding the line (copying
>> >> >> > the
>> >> >> > manner other multitouch Tablet PCs have been added):
>> >> >> >
>> >> >> > static const struct wacom_features wacom_features_0x5002 =
>> >> >> > { "Wacom ISDv4 5002",      WACOM_PKGLEN_MTTPC,     26202, 16325,
>> >> >> > 255,
>> >> >> >  0, MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES };
>> >> >> >
>> >> >> > to linux-3.14/drivers/input/tablet/wacom_wac.c, and recompiling my
>> >> >> > kernel
>> >> >> > (version 3.14). With that, my pen became actually usable as a
>> >> >> > mouse,
>> >> >> > though
>> >> >> > the touch still didn't work, and I didn't have pen sensitivity. So
>> >> >> > in
>> >> >> > an
>> >> >> > attempt to get the wacom features working, I created and applied a
>> >> >> > patch
>> >> >> > to
>> >> >> > xf86-input-wacom-0.24.0:
>> >> >> >
>> >> >> > --- a/wcmUSB.c 2014-03-19 18:42:37.000000000 -0400
>> >> >> > +++ b/wcmUSB.c 2014-04-26 21:42:27.204168189 -0400
>> >> >> > @@ -303,6 +303,7 @@
>> >> >> >   { WACOM_VENDOR_ID, 0x101,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x101" },
>> >> >> >   { WACOM_VENDOR_ID, 0x10D,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x10D" },
>> >> >> >   { WACOM_VENDOR_ID, 0x4001,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x4001" },
>> >> >> > + { WACOM_VENDOR_ID, 0x5002,100000, 100000, &usbTabletPC,
>> >> >> > "TabletPC
>> >> >> > 0x5002" },
>> >> >> >
>> >> >> >   /* IDs from Waltop's driver, available
>> >> >> > http://www.waltop.com.tw/download.asp?lv=0&id=2.
>> >> >> >     Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
>> >> >> > linuxwacom
>> >> >> > 0.8.4.
>> >> >> > --- a/wcmValidateDevice.c 2014-03-19 18:42:37.000000000 -0400
>> >> >> > +++ b/wcmValidateDevice.c 2014-04-26 21:43:12.584172831 -0400
>> >> >> > @@ -283,6 +283,7 @@
>> >> >> >   case 0x101: /* TPC with MT */
>> >> >> >   case 0x10D: /* TPC with MT */
>> >> >> >   case 0x4001: /* TPC with MT */
>> >> >> > + case 0x5002: /* TPC with MT */
>> >> >> >   case 0xE2: /* TPC with 2FGT */
>> >> >> >   case 0xE3: /* TPC with 2FGT */
>> >> >> >   case 0xE5: /* TPC with MT */
>> >> >> >
>> >> >> >
>> >> >> > and now the wacom driver picks up my touchscreen, pen, and eraser
>> >> >> > (as
>> >> >> > seen
>> >> >> > from my Xorg log), but now nothing is functional, not even the pen
>> >> >> > as
>> >> >> > a
>> >> >> > mouse.
>> >> >> >
>> >> >> > The Xorg.log reports:
>> >> >> >
>> >> >> > [   991.131] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Finger
>> >> >> > (/dev/input/event4)
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass
>> >> >> > "evdev
>> >> >> > touchscreen catchall"
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: Applying InputClass
>> >> >> > "Wacom
>> >> >> > class"
>> >> >> > [   991.131] (II) LoadModule: "wacom"
>> >> >> > [   991.131] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
>> >> >> > [   991.131] (II) Module wacom: vendor="X.Org Foundation"
>> >> >> > [   991.131] compiled for 1.15.1, module version = 0.24.0
>> >> >> > [   991.131] Module class: X.Org XInput Driver
>> >> >> > [   991.131] ABI class: X.Org XInput driver, version 20.0
>> >> >> > [   991.131] (II) wacom: Driver for Wacom graphics tablets:
>> >> >> > PenPartner,
>> >> >> > Graphire,
>> >> >> > Graphire2 4x5, Graphire2 5x7, Graphire3 4x5, Graphire3 6x8,
>> >> >> > Graphire4 4x5, Graphire4 6x8, BambooFun 4x5, BambooFun 6x8,
>> >> >> > Bamboo1 Medium, Graphire4 6x8 BlueTooth, CTL-460, CTH-461,
>> >> >> > CTL-660,
>> >> >> > CTL-461/S, Bamboo Touch, CTH-460/K, CTH-461/S, CTH-661/S1,
>> >> >> > CTH-461/L,
>> >> >> > CTH-661/L, Intuos 4x5, Intuos 6x8, Intuos 9x12, Intuos 12x12,
>> >> >> > Intuos 12x18, PTU600, PL400, PL500, PL600, PL600SX, PL550, PL800,
>> >> >> > PL700, PL510, PL710, DTI520, DTF720, DTF720a, DTF521, DTU1931,
>> >> >> > DTU2231, DTU1631, Intuos2 4x5, Intuos2 6x8, Intuos2 9x12,
>> >> >> > Intuos2 12x12, Intuos2 12x18, Intuos2 6x8 , Volito, PenStation,
>> >> >> > Volito2 4x5, Volito2 2x3, PenPartner2, Bamboo, Bamboo1, Bamboo1
>> >> >> > 4x6,
>> >> >> > Bamboo1 5x8, Intuos3 4x5, Intuos3 6x8, Intuos3 9x12, Intuos3
>> >> >> > 12x12,
>> >> >> > Intuos3 12x19, Intuos3 6x11, Intuos3 4x6, Intuos4 4x6, Intuos4
>> >> >> > 6x9,
>> >> >> > Intuos4 8x13, Intuos4 12x19, Intuos4 WL USB Endpoint,
>> >> >> > Intuos4 WL Bluetooth Endpoint, Intuos5 touch S, Intuos5 touch M,
>> >> >> > Intuos5 touch L, Intuos5 S, Intuos5 M, Intuos Pro S, Intuos Pro M,
>> >> >> > Intuos Pro L, Cintiq 21UX, Cintiq 20WSX, Cintiq 12WX, Cintiq
>> >> >> > 21UX2,
>> >> >> > Cintiq 24HD, Cintiq 22HD, Cintiq 24HD touch (EMR digitizer),
>> >> >> > Cintiq 13HD, DTK2241, DTH2242, Cintiq 22HDT, TabletPC 0x90,
>> >> >> > TabletPC 0x93, TabletPC 0x97, TabletPC 0x9A, CapPlus  0x9F,
>> >> >> > TabletPC 0xE2, TabletPC 0xE3, TabletPC 0xE5, TabletPC 0xE6,
>> >> >> > TabletPC 0xEC, TabletPC 0xED, TabletPC 0xEF, TabletPC 0x100,
>> >> >> > TabletPC 0x101, TabletPC 0x10D, TabletPC 0x4001, TabletPC 0x5002,
>> >> >> > usb:172f:0024, usb:172f:0025, usb:172f:0026, usb:172f:0027,
>> >> >> > usb:172f:0028, usb:172f:0030, usb:172f:0031, usb:172f:0032,
>> >> >> > usb:172f:0033, usb:172f:0034, usb:172f:0035, usb:172f:0036,
>> >> >> > usb:172f:0037, usb:172f:0038, usb:172f:0039, usb:172f:0051,
>> >> >> > usb:172f:0052, usb:172f:0053, usb:172f:0054, usb:172f:0055,
>> >> >> > usb:172f:0056, usb:172f:0057, usb:172f:0058, usb:172f:0500,
>> >> >> > usb:172f:0501, usb:172f:0502, usb:172f:0503, usb:1b96:0001,
>> >> >> > usb:17ef:6004
>> >> >> > [   991.131] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Finger'
>> >> >> > [   991.131] (**) Wacom ISDv4 5002 Finger: always reports core
>> >> >> > events
>> >> >> > [   991.131] (**) Option "Device" "/dev/input/event4"
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'stylus'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'eraser'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger: Invalid type 'cursor'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: type not specified,
>> >> >> > assuming
>> >> >> > 'touch'.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger: other types will be
>> >> >> > automatically
>> >> >> > added.
>> >> >> > [   991.132] (--) Wacom ISDv4 5002 Finger touch: maxX=11736
>> >> >> > maxY=16325
>> >> >> > maxZ=0 resX=0 resY=0
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> >> > dependent
>> >> >> > devices.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'stylus'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'eraser'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'cursor'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.132] (EE) Wacom ISDv4 5002 Finger touch: Invalid type
>> >> >> > 'pad'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.132] (II) Wacom ISDv4 5002 Finger touch: hotplugging
>> >> >> > completed.
>> >> >> > [   991.196] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input8/event4"
>> >> >> > [   991.196] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Finger touch" (type: TOUCH, id 11)
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel) keeping
>> >> >> > acceleration scheme 1
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > profile 0
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > factor: 2.000
>> >> >> > [   991.197] (**) Wacom ISDv4 5002 Finger touch: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Finger
>> >> >> > (/dev/input/mouse0)
>> >> >> > [   991.198] (II) No input driver specified, ignoring this device.
>> >> >> > [   991.198] (II) This device may have been added with another
>> >> >> > device
>> >> >> > file.
>> >> >> > [   991.198] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > (/dev/input/event5)
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "evdev
>> >> >> > tablet
>> >> >> > catchall"
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: Applying InputClass "Wacom
>> >> >> > class"
>> >> >> > [   991.198] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Pen'
>> >> >> > [   991.198] (**) Wacom ISDv4 5002 Pen: always reports core events
>> >> >> > [   991.198] (**) Option "Device" "/dev/input/event5"
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: type not specified,
>> >> >> > assuming
>> >> >> > 'stylus'.
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen: other types will be
>> >> >> > automatically
>> >> >> > added.
>> >> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: using pressure
>> >> >> > threshold
>> >> >> > of
>> >> >> > 27 for button 1
>> >> >> > [   991.199] (--) Wacom ISDv4 5002 Pen stylus: maxX=29576
>> >> >> > maxY=16724
>> >> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging
>> >> >> > dependent
>> >> >> > devices.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type
>> >> >> > 'cursor'
>> >> >> > for
>> >> >> > this device.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type
>> >> >> > 'touch'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.199] (EE) Wacom ISDv4 5002 Pen stylus: Invalid type 'pad'
>> >> >> > for
>> >> >> > this
>> >> >> > device.
>> >> >> > [   991.199] (II) Wacom ISDv4 5002 Pen stylus: hotplugging
>> >> >> > completed.
>> >> >> > [   991.276] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> >> > [   991.276] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > stylus" (type: STYLUS, id 12)
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel) keeping
>> >> >> > acceleration
>> >> >> > scheme 1
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > profile
>> >> >> > 0
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > factor:
>> >> >> > 2.000
>> >> >> > [   991.277] (**) Wacom ISDv4 5002 Pen stylus: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> > [   991.278] (II) config/udev: Adding input device Wacom ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > (/dev/input/mouse1)
>> >> >> > [   991.278] (II) No input driver specified, ignoring this device.
>> >> >> > [   991.278] (II) This device may have been added with another
>> >> >> > device
>> >> >> > file.
>> >> >> >
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> >> > "evdev
>> >> >> > tablet catchall"
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: Applying InputClass
>> >> >> > "Wacom
>> >> >> > class"
>> >> >> > [   991.509] (II) Using input driver 'wacom' for 'Wacom ISDv4 5002
>> >> >> > Pen
>> >> >> > eraser'
>> >> >> > [   991.509] (**) Wacom ISDv4 5002 Pen eraser: always reports core
>> >> >> > events
>> >> >> > [   991.509] (**) Option "Device" "/dev/input/event5"
>> >> >> > [   991.509] (**) Option "Type" "eraser"
>> >> >> > [   991.510] (--) Wacom ISDv4 5002 Pen eraser: maxX=29576
>> >> >> > maxY=16724
>> >> >> > maxZ=255 resX=112000 resY=102000  tilt=disabled
>> >> >> > [   991.543] (**) Option "config_info"
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/input/input9/event5"
>> >> >> > [   991.543] (II) XINPUT: Adding extended input device "Wacom
>> >> >> > ISDv4
>> >> >> > 5002
>> >> >> > Pen
>> >> >> > eraser" (type: ERASER, id 16)
>> >> >> > [   991.543] (**) Wacom ISDv4 5002 Pen eraser: (accel) keeping
>> >> >> > acceleration
>> >> >> > scheme 1
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > profile
>> >> >> > 0
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > factor:
>> >> >> > 2.000
>> >> >> > [   991.544] (**) Wacom ISDv4 5002 Pen eraser: (accel)
>> >> >> > acceleration
>> >> >> > threshold: 4
>> >> >> >
>> >> >> >
>> >> >> > Some other possibly useful output:
>> >> >> >
>> >> >> > ls /dev/input/by-id | grep 'Wacom'
>> >> >> >
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse
>> >> >> > usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse
>> >> >> >
>> >> >> > xsetwacom --list
>> >> >> >
>> >> >> > Wacom ISDv4 5002 Finger touch   id: 11 type: TOUCH
>> >> >> > Wacom ISDv4 5002 Pen stylus     id: 12 type: STYLUS
>> >> >> > Wacom ISDv4 5002 Pen eraser     id: 16 type: ERASER
>> >> >> >
>> >> >> > I can't see anything that looks overtly abnormal, but I'm no
>> >> >> > programmer.
>> >> >> > If
>> >> >> > there's any other useful output I can provide, please let me know.
>> >> >> > Thanks in
>> >> >> > advance!
>> >> >> >
>> >> >> > Sara
>> >> >> >
>> >> >> > --
>> >> >> > "Our imagination is stretched to the utmost, not, as in fiction,
>> >> >> > to
>> >> >> > imagine
>> >> >> > things which are not really there, but just to comprehend those
>> >> >> > things
>> >> >> > which
>> >> >> > are there." ~Richard P. Feynman
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > ------------------------------------------------------------------------------
>> >> >> > Start Your Social Network Today - Download eXo Platform
>> >> >> > Build your Enterprise Intranet with eXo Platform Software
>> >> >> > Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> >> >> > Get Started Now And Turn Your Intranet Into A Collaboration
>> >> >> > Platform
>> >> >> > http://p.sf.net/sfu/ExoPlatform
>> >> >> > _______________________________________________
>> >> >> > Linuxwacom-discuss mailing list
>> >> >> > [hidden email]
>> >> >> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>> >> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> >> > imagine
>> >> > things which are not really there, but just to comprehend those
>> >> > things
>> >> > which
>> >> > are there." ~Richard P. Feynman
>> >
>> >
>> >
>> >
>> > --
>> > "Our imagination is stretched to the utmost, not, as in fiction, to
>> > imagine
>> > things which are not really there, but just to comprehend those things
>> > which
>> > are there." ~Richard P. Feynman
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman



--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

xinput.txt (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
Another stupid bug on my part. Sorry about the constant
back-and-forth... Hopefully things fare better this time.

I've been able to get my hands on two other tablets with similar HID
descriptors, and tried adding patches for them on top of those I gave
you. That revealed a few embarrasing (and not-so-embarrasing) issues
in my patch, so I've gone and fixed them up. With those two tablets
now working with your patch as a base, I've got my fingers crossed
that yours will work as well.

I've also attached an xf86-input-wacom patch for anyone else with a
T904 that might be lurking and wanting to give everything a whirl.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Tue, May 6, 2014 at 2:03 PM, Sara Fauzia <[hidden email]> wrote:

> This does compile now, thanks. Unfortunately, I'm no longer seeing my pen or
> touchscreen when I run `xsetwacom --list devices`.
>
> tree /dev/input:
>
> ├── by-id
> │   └── usb-Chicony_Electronics_Co._Ltd._FJ_Camera_0x0001-event-if00 ->
> ../event6
> ├── by-path
> │   ├── pci-0000:00:14.0-usb-0:5.1:1.0-event -> ../event6
> │   ├── platform-i8042-serio-0-event-kbd -> ../event0
> │   ├── platform-i8042-serio-2-event-mouse -> ../event8
> │   ├── platform-i8042-serio-2-mouse -> ../mouse0
> │   └── platform-pcspkr-event-spkr -> ../event7
>
> And I've attached the verbose output from xinput. `lsmod | grep wacom` is
> empty, so is my kernel not even recognizing a Wacom digitizer is present
> now, that it's not auto-loading? I tried manually loading it and re-logging
> in, but no dice.
>
> Sara
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

0001-Add-support-for-056a-5002-Fujitsu-T904.patch (6K) Download Attachment
0001-Add-support-for-several-new-ISDv4-sensors.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Sara Fauzia
Thank you so much! Now my pen works perfectly, pressure sensitivity and all. However, the touchscreen still isn't working, though xsetwacom does show it (Wacom ISDv4 5002 Finger touch).

Looking through my logs, this appears to be the problem:
(gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create fallback wacom device for '/dev/input/event6': Device '/dev/input/event6' is not a tablet (2)

From /dev/input:
usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1

So it looks like the events for my pen are working, but for the touchscreen it's not?

Did a quick google and came across this (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?

And no worries about all the messages, glad we're finally getting to the bottom of this!

And, sorry for this double-reply, accidentally didn't send the first to the mailing list.

Sara


On Wed, May 7, 2014 at 6:44 PM, Jason Gerecke <[hidden email]> wrote:
Another stupid bug on my part. Sorry about the constant
back-and-forth... Hopefully things fare better this time.

I've been able to get my hands on two other tablets with similar HID
descriptors, and tried adding patches for them on top of those I gave
you. That revealed a few embarrasing (and not-so-embarrasing) issues
in my patch, so I've gone and fixed them up. With those two tablets
now working with your patch as a base, I've got my fingers crossed
that yours will work as well.

I've also attached an xf86-input-wacom patch for anyone else with a
T904 that might be lurking and wanting to give everything a whirl.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Tue, May 6, 2014 at 2:03 PM, Sara Fauzia <[hidden email]> wrote:
> This does compile now, thanks. Unfortunately, I'm no longer seeing my pen or
> touchscreen when I run `xsetwacom --list devices`.
>
> tree /dev/input:
>
> ├── by-id
> │   └── usb-Chicony_Electronics_Co._Ltd._FJ_Camera_0x0001-event-if00 ->
> ../event6
> ├── by-path
> │   ├── pci-0000:00:14.0-usb-0:5.1:1.0-event -> ../event6
> │   ├── platform-i8042-serio-0-event-kbd -> ../event0
> │   ├── platform-i8042-serio-2-event-mouse -> ../event8
> │   ├── platform-i8042-serio-2-mouse -> ../mouse0
> │   └── platform-pcspkr-event-spkr -> ../event7
>
> And I've attached the verbose output from xinput. `lsmod | grep wacom` is
> empty, so is my kernel not even recognizing a Wacom digitizer is present
> now, that it's not auto-loading? I tried manually loading it and re-logging
> in, but no dice.
>
> Sara
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to imagine
> things which are not really there, but just to comprehend those things which
> are there." ~Richard P. Feynman



--
"Our imagination is stretched to the utmost, not, as in fiction, to imagine things which are not really there, but just to comprehend those things which are there." ~Richard P. Feynman

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Florian Klink
Hi,

I also received my new T904 yesterday, and I'm glad you're already
working on patches for it :-)

I applied your patches to xf86-input-wacom and the kernel, the stylus
seems to be detected, and after calibration, I can "click". Using gimp,
I also get pressure information.

Small note: The Synaptics TouchPad seems to also receive some signals
from the stylus when you turn the laptop into "tablet mode", as its
directly below the screen. I worked around this by simply disabling the
touchpad before folding.

The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
although it looks like it's detected and enabled.

I attached my xorg.log and xinput informations for reference.

Florian




Am 08.05.2014 08:02, schrieb Sara Fauzia:

> Thank you so much! Now my pen works perfectly, pressure sensitivity and
> all. However, the touchscreen still isn't working, though xsetwacom does
> show it (Wacom ISDv4 5002 Finger touch).
>
> Looking through my logs, this appears to be the problem:
> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
> fallback wacom device for '/dev/input/event6': Device
> '/dev/input/event6' is not a tablet (2)
>
> From /dev/input:
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>
> So it looks like the events for my pen are working, but for the
> touchscreen it's not?
>
> Did a quick google and came across this
> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>
> And no worries about all the messages, glad we're finally getting to the
> bottom of this!
>
> And, sorry for this double-reply, accidentally didn't send the first to
> the mailing list.
>
> Sara
>
>
> On Wed, May 7, 2014 at 6:44 PM, Jason Gerecke <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Another stupid bug on my part. Sorry about the constant
>     back-and-forth... Hopefully things fare better this time.
>
>     I've been able to get my hands on two other tablets with similar HID
>     descriptors, and tried adding patches for them on top of those I gave
>     you. That revealed a few embarrasing (and not-so-embarrasing) issues
>     in my patch, so I've gone and fixed them up. With those two tablets
>     now working with your patch as a base, I've got my fingers crossed
>     that yours will work as well.
>
>     I've also attached an xf86-input-wacom patch for anyone else with a
>     T904 that might be lurking and wanting to give everything a whirl.
>
>     Jason
>     ---
>     Now instead of four in the eights place /
>     you’ve got three, ‘Cause you added one  /
>     (That is to say, eight) to the two,     /
>     But you can’t take seven from three,    /
>     So you look at the sixty-fours....
>
>
>
>     On Tue, May 6, 2014 at 2:03 PM, Sara Fauzia <[hidden email]
>     <mailto:[hidden email]>> wrote:
>     > This does compile now, thanks. Unfortunately, I'm no longer seeing
>     my pen or
>     > touchscreen when I run `xsetwacom --list devices`.
>     >
>     > tree /dev/input:
>     >
>     > ├── by-id
>     > │   └──
>     usb-Chicony_Electronics_Co._Ltd._FJ_Camera_0x0001-event-if00 ->
>     > ../event6
>     > ├── by-path
>     > │   ├── pci-0000:00:14.0-usb-0:5.1:1.0-event -> ../event6
>     > │   ├── platform-i8042-serio-0-event-kbd -> ../event0
>     > │   ├── platform-i8042-serio-2-event-mouse -> ../event8
>     > │   ├── platform-i8042-serio-2-mouse -> ../mouse0
>     > │   └── platform-pcspkr-event-spkr -> ../event7
>     >
>     > And I've attached the verbose output from xinput. `lsmod | grep
>     wacom` is
>     > empty, so is my kernel not even recognizing a Wacom digitizer is
>     present
>     > now, that it's not auto-loading? I tried manually loading it and
>     re-logging
>     > in, but no dice.
>     >
>     > Sara
>     >
>     > --
>     > "Our imagination is stretched to the utmost, not, as in fiction,
>     to imagine
>     > things which are not really there, but just to comprehend those
>     things which
>     > are there." ~Richard P. Feynman
>
>
>
>
> --
> "Our imagination is stretched to the utmost, not, as in fiction, to
> imagine things which are not really there, but just to comprehend those
> things which are there." ~Richard P. Feynman
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
>
>
>
> _______________________________________________
> Linuxwacom-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

xorg.log.gz (11K) Download Attachment
xinput.txt (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
Sara & Florian,

Thanks for the responses. Its good to know the pen is now behaving
itself :) I'm not sure why the touch interface wouldn't be working;
Florian's xorg.log looks normal, and bug #226 shouldn't have an impact
at this stage*. I'm guessing that something is still going awry in the
packet parsing (perhaps a different report ID than I assumed?). Please
run the following and attach the usbmon.log and lsusb.log files for me
to review:

$ sudo modprobe usbmon
$ sudo cat /sys/kernel/debug/usb/usbmon/0u > usbmon.log
<swipe your finger across the screen, then press CTRL+C>
$ lsusb > lsusb.log

* The "Failed to create fallback wacom device" warning reminds me that
I need to also add these tablets to the libwacom database. Your
systems should have a '/usr/share/libwacom/' directory that contains a
number of tablet definition files. Please save a copy of the attached
file to that directory and then logout/login. Though it shouldn't
cause the pointer to start working (or even fix the "Failed to create
fallback wacom device" message), it should make the GNOME Control
Center a bit happier :)

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Thu, May 8, 2014 at 2:25 AM, Florian Klink <[hidden email]> wrote:

> Hi,
>
> I also received my new T904 yesterday, and I'm glad you're already
> working on patches for it :-)
>
> I applied your patches to xf86-input-wacom and the kernel, the stylus
> seems to be detected, and after calibration, I can "click". Using gimp,
> I also get pressure information.
>
> Small note: The Synaptics TouchPad seems to also receive some signals
> from the stylus when you turn the laptop into "tablet mode", as its
> directly below the screen. I worked around this by simply disabling the
> touchpad before folding.
>
> The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
> although it looks like it's detected and enabled.
>
> I attached my xorg.log and xinput informations for reference.
>
> Florian
>
>
>
>
> Am 08.05.2014 08:02, schrieb Sara Fauzia:
>> Thank you so much! Now my pen works perfectly, pressure sensitivity and
>> all. However, the touchscreen still isn't working, though xsetwacom does
>> show it (Wacom ISDv4 5002 Finger touch).
>>
>> Looking through my logs, this appears to be the problem:
>> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
>> fallback wacom device for '/dev/input/event6': Device
>> '/dev/input/event6' is not a tablet (2)
>>
>> From /dev/input:
>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>>
>> So it looks like the events for my pen are working, but for the
>> touchscreen it's not?
>>
>> Did a quick google and came across this
>> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>>
>> And no worries about all the messages, glad we're finally getting to the
>> bottom of this!
>>
>> And, sorry for this double-reply, accidentally didn't send the first to
>> the mailing list.
>>
>> Sara
>>
>>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

isdv4-5002.tablet (332 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Florian Klink
Hi Jason,

attached is the usbmon.log as requested.
Hope this helps!


I'll take a look at the libwacom tablet definition now.

Florian

Am 08.05.2014 18:38, schrieb Jason Gerecke:

> Sara & Florian,
>
> Thanks for the responses. Its good to know the pen is now behaving
> itself :) I'm not sure why the touch interface wouldn't be working;
> Florian's xorg.log looks normal, and bug #226 shouldn't have an impact
> at this stage*. I'm guessing that something is still going awry in the
> packet parsing (perhaps a different report ID than I assumed?). Please
> run the following and attach the usbmon.log and lsusb.log files for me
> to review:
>
> $ sudo modprobe usbmon
> $ sudo cat /sys/kernel/debug/usb/usbmon/0u > usbmon.log
> <swipe your finger across the screen, then press CTRL+C>
> $ lsusb > lsusb.log
>
> * The "Failed to create fallback wacom device" warning reminds me that
> I need to also add these tablets to the libwacom database. Your
> systems should have a '/usr/share/libwacom/' directory that contains a
> number of tablet definition files. Please save a copy of the attached
> file to that directory and then logout/login. Though it shouldn't
> cause the pointer to start working (or even fix the "Failed to create
> fallback wacom device" message), it should make the GNOME Control
> Center a bit happier :)
>
> Jason
> ---
> Now instead of four in the eights place /
> you’ve got three, ‘Cause you added one  /
> (That is to say, eight) to the two,     /
> But you can’t take seven from three,    /
> So you look at the sixty-fours....
>
>
>
> On Thu, May 8, 2014 at 2:25 AM, Florian Klink <[hidden email]> wrote:
>> Hi,
>>
>> I also received my new T904 yesterday, and I'm glad you're already
>> working on patches for it :-)
>>
>> I applied your patches to xf86-input-wacom and the kernel, the stylus
>> seems to be detected, and after calibration, I can "click". Using gimp,
>> I also get pressure information.
>>
>> Small note: The Synaptics TouchPad seems to also receive some signals
>> from the stylus when you turn the laptop into "tablet mode", as its
>> directly below the screen. I worked around this by simply disabling the
>> touchpad before folding.
>>
>> The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
>> although it looks like it's detected and enabled.
>>
>> I attached my xorg.log and xinput informations for reference.
>>
>> Florian
>>
>>
>>
>>
>> Am 08.05.2014 08:02, schrieb Sara Fauzia:
>>> Thank you so much! Now my pen works perfectly, pressure sensitivity and
>>> all. However, the touchscreen still isn't working, though xsetwacom does
>>> show it (Wacom ISDv4 5002 Finger touch).
>>>
>>> Looking through my logs, this appears to be the problem:
>>> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
>>> fallback wacom device for '/dev/input/event6': Device
>>> '/dev/input/event6' is not a tablet (2)
>>>
>>> From /dev/input:
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>>>
>>> So it looks like the events for my pen are working, but for the
>>> touchscreen it's not?
>>>
>>> Did a quick google and came across this
>>> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>>>
>>> And no worries about all the messages, glad we're finally getting to the
>>> bottom of this!
>>>
>>> And, sorry for this double-reply, accidentally didn't send the first to
>>> the mailing list.
>>>
>>> Sara
>>>
>>>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

usbmon.log (27K) Download Attachment
signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Florian Klink
After adding the definition and logging back in again, the screen
calibration tool draws a line below the first crosshair - it probably
wants me to "swipe down", because it now knows it can receive touch
events, so something changed here.

However, as touch events currently do not get through, I can't continue
the calibration (even when using the stylus only).

I don't know if GNOME lets me use the stylus on a later point to do some
more precise calibration, never had a touch screen/wacom device before.

Did I get it correctly, that the system sees one USB device, that's
generating both wacom stylus "events" and touch events?

Florian



Am 08.05.2014 18:45, schrieb Florian Klink:

> Hi Jason,
>
> attached is the usbmon.log as requested.
> Hope this helps!
>
>
> I'll take a look at the libwacom tablet definition now.
>
> Florian
>
> Am 08.05.2014 18:38, schrieb Jason Gerecke:
>> Sara & Florian,
>>
>> Thanks for the responses. Its good to know the pen is now behaving
>> itself :) I'm not sure why the touch interface wouldn't be working;
>> Florian's xorg.log looks normal, and bug #226 shouldn't have an impact
>> at this stage*. I'm guessing that something is still going awry in the
>> packet parsing (perhaps a different report ID than I assumed?). Please
>> run the following and attach the usbmon.log and lsusb.log files for me
>> to review:
>>
>> $ sudo modprobe usbmon
>> $ sudo cat /sys/kernel/debug/usb/usbmon/0u > usbmon.log
>> <swipe your finger across the screen, then press CTRL+C>
>> $ lsusb > lsusb.log
>>
>> * The "Failed to create fallback wacom device" warning reminds me that
>> I need to also add these tablets to the libwacom database. Your
>> systems should have a '/usr/share/libwacom/' directory that contains a
>> number of tablet definition files. Please save a copy of the attached
>> file to that directory and then logout/login. Though it shouldn't
>> cause the pointer to start working (or even fix the "Failed to create
>> fallback wacom device" message), it should make the GNOME Control
>> Center a bit happier :)
>>
>> Jason
>> ---
>> Now instead of four in the eights place /
>> you’ve got three, ‘Cause you added one  /
>> (That is to say, eight) to the two,     /
>> But you can’t take seven from three,    /
>> So you look at the sixty-fours....
>>
>>
>>
>> On Thu, May 8, 2014 at 2:25 AM, Florian Klink <[hidden email]> wrote:
>>> Hi,
>>>
>>> I also received my new T904 yesterday, and I'm glad you're already
>>> working on patches for it :-)
>>>
>>> I applied your patches to xf86-input-wacom and the kernel, the stylus
>>> seems to be detected, and after calibration, I can "click". Using gimp,
>>> I also get pressure information.
>>>
>>> Small note: The Synaptics TouchPad seems to also receive some signals
>>> from the stylus when you turn the laptop into "tablet mode", as its
>>> directly below the screen. I worked around this by simply disabling the
>>> touchpad before folding.
>>>
>>> The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
>>> although it looks like it's detected and enabled.
>>>
>>> I attached my xorg.log and xinput informations for reference.
>>>
>>> Florian
>>>
>>>
>>>
>>>
>>> Am 08.05.2014 08:02, schrieb Sara Fauzia:
>>>> Thank you so much! Now my pen works perfectly, pressure sensitivity and
>>>> all. However, the touchscreen still isn't working, though xsetwacom does
>>>> show it (Wacom ISDv4 5002 Finger touch).
>>>>
>>>> Looking through my logs, this appears to be the problem:
>>>> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
>>>> fallback wacom device for '/dev/input/event6': Device
>>>> '/dev/input/event6' is not a tablet (2)
>>>>
>>>> From /dev/input:
>>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
>>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
>>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>>>>
>>>> So it looks like the events for my pen are working, but for the
>>>> touchscreen it's not?
>>>>
>>>> Did a quick google and came across this
>>>> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>>>>
>>>> And no worries about all the messages, glad we're finally getting to the
>>>> bottom of this!
>>>>
>>>> And, sorry for this double-reply, accidentally didn't send the first to
>>>> the mailing list.
>>>>
>>>> Sara
>>>>
>>>>
>
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
>
>
>
> _______________________________________________
> Linuxwacom-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
>


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Florian Klink
In reply to this post by Jason Gerecke
lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0483:91d1 STMicroelectronics
Bus 001 Device 005: ID 8087:07dc Intel Corp.
Bus 001 Device 004: ID 1199:9041 Sierra Wireless, Inc.
Bus 001 Device 010: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 001 Device 009: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 001 Device 008: ID 138a:0050 Validity Sensors, Inc.
Bus 001 Device 007: ID 04f2:b3b4 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 04b4:6570 Cypress Semiconductor Corp.
Bus 001 Device 002: ID 056a:5002 Wacom Co., Ltd
Bus 001 Device 012: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Am 08.05.2014 18:38, schrieb Jason Gerecke:

> Sara & Florian,
>
> Thanks for the responses. Its good to know the pen is now behaving
> itself :) I'm not sure why the touch interface wouldn't be working;
> Florian's xorg.log looks normal, and bug #226 shouldn't have an impact
> at this stage*. I'm guessing that something is still going awry in the
> packet parsing (perhaps a different report ID than I assumed?). Please
> run the following and attach the usbmon.log and lsusb.log files for me
> to review:
>
> $ sudo modprobe usbmon
> $ sudo cat /sys/kernel/debug/usb/usbmon/0u > usbmon.log
> <swipe your finger across the screen, then press CTRL+C>
> $ lsusb > lsusb.log
>
> * The "Failed to create fallback wacom device" warning reminds me that
> I need to also add these tablets to the libwacom database. Your
> systems should have a '/usr/share/libwacom/' directory that contains a
> number of tablet definition files. Please save a copy of the attached
> file to that directory and then logout/login. Though it shouldn't
> cause the pointer to start working (or even fix the "Failed to create
> fallback wacom device" message), it should make the GNOME Control
> Center a bit happier :)
>
> Jason
> ---
> Now instead of four in the eights place /
> you’ve got three, ‘Cause you added one  /
> (That is to say, eight) to the two,     /
> But you can’t take seven from three,    /
> So you look at the sixty-fours....
>
>
>
> On Thu, May 8, 2014 at 2:25 AM, Florian Klink <[hidden email]> wrote:
>> Hi,
>>
>> I also received my new T904 yesterday, and I'm glad you're already
>> working on patches for it :-)
>>
>> I applied your patches to xf86-input-wacom and the kernel, the stylus
>> seems to be detected, and after calibration, I can "click". Using gimp,
>> I also get pressure information.
>>
>> Small note: The Synaptics TouchPad seems to also receive some signals
>> from the stylus when you turn the laptop into "tablet mode", as its
>> directly below the screen. I worked around this by simply disabling the
>> touchpad before folding.
>>
>> The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
>> although it looks like it's detected and enabled.
>>
>> I attached my xorg.log and xinput informations for reference.
>>
>> Florian
>>
>>
>>
>>
>> Am 08.05.2014 08:02, schrieb Sara Fauzia:
>>> Thank you so much! Now my pen works perfectly, pressure sensitivity and
>>> all. However, the touchscreen still isn't working, though xsetwacom does
>>> show it (Wacom ISDv4 5002 Finger touch).
>>>
>>> Looking through my logs, this appears to be the problem:
>>> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
>>> fallback wacom device for '/dev/input/event6': Device
>>> '/dev/input/event6' is not a tablet (2)
>>>
>>> From /dev/input:
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
>>> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>>>
>>> So it looks like the events for my pen are working, but for the
>>> touchscreen it's not?
>>>
>>> Did a quick google and came across this
>>> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>>>
>>> And no worries about all the messages, glad we're finally getting to the
>>> bottom of this!
>>>
>>> And, sorry for this double-reply, accidentally didn't send the first to
>>> the mailing list.
>>>
>>> Sara
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
>>> &#149; 3 signs your SCM is hindering your productivity
>>> &#149; Requirements for releasing software faster
>>> &#149; Expert tips and advice for migrating your SCM now
>>> http://p.sf.net/sfu/perforce
>>>
>>>
>>> _______________________________________________
>>> Linuxwacom-discuss mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
In reply to this post by Jason Gerecke
Whoops -- didn't end up sending to the list. Lets try again ---

Awesome, thanks everyone :) It looks like the touch events are using
report ID 3 rather than the expected report ID 12. The attached patch
should finally work for both pen and touch.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Thu, May 8, 2014 at 10:17 AM, Harri Karhu <[hidden email]> wrote:

> Hi,
>
> I also tested the patches and the pen seems to work. <3
>
> Here's some logs. (Finger swiped from top to bottom across the screen.)
>
> Also it seems that if I use a pen that has an eraser, the eraser gets
> detected as the tip the first time around? Haven't throughoutly investigated
> this, but tested it in Gimp and Xournal.
>
> Reproducing the tip/eraser bug(?):
> 1. Tip gets detected and I can draw lines nicely.
> 2. Swap to eraser side of the pen.
> 3. Tip still detected, everything works except it thinks I am still using
> the tip.
> 4. Eraser taken out from the "field" of the wacom tablet and brought back.
> 5. Eraser detected and working
>
>
> On 05/08/2014 07:38 PM, Jason Gerecke wrote:
>
> Sara & Florian,
>
> Thanks for the responses. Its good to know the pen is now behaving
> itself :) I'm not sure why the touch interface wouldn't be working;
> Florian's xorg.log looks normal, and bug #226 shouldn't have an impact
> at this stage*. I'm guessing that something is still going awry in the
> packet parsing (perhaps a different report ID than I assumed?). Please
> run the following and attach the usbmon.log and lsusb.log files for me
> to review:
>
> $ sudo modprobe usbmon
> $ sudo cat /sys/kernel/debug/usb/usbmon/0u > usbmon.log
> <swipe your finger across the screen, then press CTRL+C>
> $ lsusb > lsusb.log
>
> * The "Failed to create fallback wacom device" warning reminds me that
> I need to also add these tablets to the libwacom database. Your
> systems should have a '/usr/share/libwacom/' directory that contains a
> number of tablet definition files. Please save a copy of the attached
> file to that directory and then logout/login. Though it shouldn't
> cause the pointer to start working (or even fix the "Failed to create
> fallback wacom device" message), it should make the GNOME Control
> Center a bit happier :)
>
> Jason
> ---
> Now instead of four in the eights place /
> you’ve got three, ‘Cause you added one  /
> (That is to say, eight) to the two,     /
> But you can’t take seven from three,    /
> So you look at the sixty-fours....
>
>
>
> On Thu, May 8, 2014 at 2:25 AM, Florian Klink <[hidden email]> wrote:
>
> Hi,
>
> I also received my new T904 yesterday, and I'm glad you're already
> working on patches for it :-)
>
> I applied your patches to xf86-input-wacom and the kernel, the stylus
> seems to be detected, and after calibration, I can "click". Using gimp,
> I also get pressure information.
>
> Small note: The Synaptics TouchPad seems to also receive some signals
> from the stylus when you turn the laptop into "tablet mode", as its
> directly below the screen. I worked around this by simply disabling the
> touchpad before folding.
>
> The "Wacom ISDv4 5002 Finger touch" screen itself doesn't seem to work,
> although it looks like it's detected and enabled.
>
> I attached my xorg.log and xinput informations for reference.
>
> Florian
>
>
>
>
> Am 08.05.2014 08:02, schrieb Sara Fauzia:
>
> Thank you so much! Now my pen works perfectly, pressure sensitivity and
> all. However, the touchscreen still isn't working, though xsetwacom does
> show it (Wacom ISDv4 5002 Finger touch).
>
> Looking through my logs, this appears to be the problem:
> (gnome-settings-daemon:642): wacom-plugin-WARNING **: Failed to create
> fallback wacom device for '/dev/input/event6': Device
> '/dev/input/event6' is not a tablet (2)
>
> From /dev/input:
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-event-if00 -> ../event6
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-event-mouse -> ../event7
> usb-Wacom_Co._Ltd._MultiTouch_Sensor-if01-mouse -> ../mouse1
>
> So it looks like the events for my pen are working, but for the
> touchscreen it's not?
>
> Did a quick google and came across this
> (http://sourceforge.net/p/linuxwacom/bugs/227/) which might be related?
>
> And no worries about all the messages, glad we're finally getting to the
> bottom of this!
>
> And, sorry for this double-reply, accidentally didn't send the first to
> the mailing list.
>
> Sara
>
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

0001-Add-support-for-056a-5002-Fujitsu-T904.patch (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
In reply to this post by Florian Klink
Florian,

I'm not sure what you mean by "draws a line below the first
crosshair". I haven't seen anything that could be described like that
with my tablets. I'm not sure if its possible to get a screenshot of
the calibration screen, but I'd be interested in seeing one if you can
manage it.

At the moment, the calibration is only intended for the stylus. It
should ignore touches, mouse clicks, or other forms of input. The fact
that you can't do the calibration with the pen indicates that
something is wrong (either with our driver or the control panel's
calibration tool).

And yes, you're correct -- there's a single USB device (vendor ID
056a, device ID 5002) that has two "interfaces" which produce data:
one for the pen sensor and the other for the touchscreen. Some tablet
PCs pair a Wacom pen with non-Wacom touch, in which case there'll be
two USB devices (though in that case our driver doesn't have to bother
reading the touchscreen data at all :D)

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....



On Thu, May 8, 2014 at 9:58 AM, Florian Klink <[hidden email]> wrote:

> After adding the definition and logging back in again, the screen
> calibration tool draws a line below the first crosshair - it probably
> wants me to "swipe down", because it now knows it can receive touch
> events, so something changed here.
>
> However, as touch events currently do not get through, I can't continue
> the calibration (even when using the stylus only).
>
> I don't know if GNOME lets me use the stylus on a later point to do some
> more precise calibration, never had a touch screen/wacom device before.
>
> Did I get it correctly, that the system sees one USB device, that's
> generating both wacom stylus "events" and touch events?
>
> Florian
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Jason Gerecke
In reply to this post by Jason Gerecke
Harri,

I know that some tablets will detect the _tip_ as the eraser under
some special conditions, but I don't think I've seen the _eraser_
detected as the tip. Could you create another usbmon.log for me, this
time doing the reproduction steps you've listed (rather than the
finger swipe)? Its possible this is one of those special cases where
the hardware gets confused, though its possible the drivers (or even
GIMP) are mishandling the data as well. If the usbmon logs look good,
I'll have you gather more traces further along the chain.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....

On Thu, May 8, 2014 at 10:17 AM, Harri Karhu <[hidden email]> wrote:

> Hi,
>
> I also tested the patches and the pen seems to work. <3
>
> Here's some logs. (Finger swiped from top to bottom across the screen.)
>
> Also it seems that if I use a pen that has an eraser, the eraser gets
> detected as the tip the first time around? Haven't throughoutly investigated
> this, but tested it in Gimp and Xournal.
>
> Reproducing the tip/eraser bug(?):
> 1. Tip gets detected and I can draw lines nicely.
> 2. Swap to eraser side of the pen.
> 3. Tip still detected, everything works except it thinks I am still using
> the tip.
> 4. Eraser taken out from the "field" of the wacom tablet and brought back.
> 5. Eraser detected and working
>
>

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Support for Fujitsu T904

Florian Klink
In reply to this post by Jason Gerecke
- Seems like the list doesn't like 50KB images. Now compressed to 50KB ;-)

Am 08.05.2014 20:18, schrieb Jason Gerecke:
> Florian,
>
> I'm not sure what you mean by "draws a line below the first
> crosshair". I haven't seen anything that could be described like that
> with my tablets. I'm not sure if its possible to get a screenshot of
> the calibration screen, but I'd be interested in seeing one if you can
> manage it.

I wasn't able to get a screenshot. However, I was of course able to make
a picture of it using the phone ;-) Cropped and attached. This one
appeared at the top left edge of the screen.

>
> At the moment, the calibration is only intended for the stylus. It
> should ignore touches, mouse clicks, or other forms of input. The fact
> that you can't do the calibration with the pen indicates that
> something is wrong (either with our driver or the control panel's
> calibration tool).

I thought it was a "finger calibration visualization" thing - now that
GNOME knows it can detect fingers, it asks me to "swipe the crosshair
down on the line". But as you also never saw it, it seems like this is
not the case ;-)


I'll let you know if the updated kernel patch will change something.
It's currently compiling...

Florian


>
> And yes, you're correct -- there's a single USB device (vendor ID
> 056a, device ID 5002) that has two "interfaces" which produce data:
> one for the pen sensor and the other for the touchscreen. Some tablet
> PCs pair a Wacom pen with non-Wacom touch, in which case there'll be
> two USB devices (though in that case our driver doesn't have to bother
> reading the touchscreen data at all :D)
>
> Jason
> ---
> Now instead of four in the eights place /
> you’ve got three, ‘Cause you added one  /
> (That is to say, eight) to the two,     /
> But you can’t take seven from three,    /
> So you look at the sixty-fours....
>
>
>
> On Thu, May 8, 2014 at 9:58 AM, Florian Klink <[hidden email]> wrote:
>> After adding the definition and logging back in again, the screen
>> calibration tool draws a line below the first crosshair - it probably
>> wants me to "swipe down", because it now knows it can receive touch
>> events, so something changed here.
>>
>> However, as touch events currently do not get through, I can't continue
>> the calibration (even when using the stylus only).
>>
>> I don't know if GNOME lets me use the stylus on a later point to do some
>> more precise calibration, never had a touch screen/wacom device before.
>>
>> Did I get it correctly, that the system sees one USB device, that's
>> generating both wacom stylus "events" and touch events?
>>
>> Florian
>>


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

crosshair_line.jpg (42K) Download Attachment
signature.asc (853 bytes) Download Attachment
12