|
From: Andy N. <ne...@ph...> - 2009-06-18 21:21:20
|
Hi, Is there a version of linuxwacom which can be built against current xorg git? There seem to have been a few changes to the header files which prevent linuxwacom-0.8.3-5 from compiling. The two changes that I know about are an extra argument in 'InitValuatorAxisStruct' and the removal of the symbol 'curKeySyms'. (I tried making the most naive possible changes to linuxwacom to keep up with the new interfaces, but then xorg hangs at startup; so I guess that in addition to the interface changes there may be other issues which have to be considered by someone more knowledgeable.) Best, and thanks in advance for any information, -Andy |
|
From: Thomas J. <thj...@gm...> - 2009-06-19 15:25:29
|
I have the driver working already, I'll post a patch soon. Tom On Thu, Jun 18, 2009 at 5:09 PM, Andy Neitzke<ne...@ph...> wrote: > Hi, > > Is there a version of linuxwacom which can be built against current xorg git? > There seem to have been a few changes to the header files which prevent > linuxwacom-0.8.3-5 from compiling. The two changes that I know about are an > extra argument in 'InitValuatorAxisStruct' and the removal of the > symbol 'curKeySyms'. > > (I tried making the most naive possible changes to linuxwacom to keep up with > the new interfaces, but then xorg hangs at startup; so I guess that in > addition to the interface changes there may be other issues which have to be > considered by someone more knowledgeable.) > > Best, and thanks in advance for any information, > > -Andy > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Linuxwacom-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel > |
|
From: Thomas J. <thj...@gm...> - 2009-06-19 18:52:32
Attachments:
wacom.diff
|
This is the patch that I've been using. Notice that there are still a few TODO comments where I wasn't sure how the wacom driver's axes correspond to the axis names defined in xorg/xserver-properties.h. Tom Andy Neitzke wrote: > Hi, > > Is there a version of linuxwacom which can be built against current xorg git? > There seem to have been a few changes to the header files which prevent > linuxwacom-0.8.3-5 from compiling. The two changes that I know about are an > extra argument in 'InitValuatorAxisStruct' and the removal of the > symbol 'curKeySyms'. > > (I tried making the most naive possible changes to linuxwacom to keep up with > the new interfaces, but then xorg hangs at startup; so I guess that in > addition to the interface changes there may be other issues which have to be > considered by someone more knowledgeable.) > > Best, and thanks in advance for any information, > > -Andy |
|
From: Andy N. <ne...@ph...> - 2009-06-19 21:49:39
|
> This is the patch that I've been using. Notice that there are still a > few TODO comments where I wasn't sure how the wacom driver's axes > correspond to the axis names defined in xorg/xserver-properties.h. Thanks for posting that! For some reason, it's not working properly for me: if I start xorg with the linuxwacom driver installed, I get a black screen (except for a cursor _ at the upper left). The machine doesn't respond to any keyboard or mouse input but it is still running (I can ssh into it just fine). Does any expert have an idea about how one might debug it? The machine is a Thinkpad X60t. My xorg.conf (which did work with xorg-server 1.6.1.901) contains: Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "KeepShape" "on" Option "DebugLevel" "10" EndSection (and similar sections for "cursor" and "eraser" devices, but the problem still occurs even if I comment those out). I am using the xf86-video-intel driver and KMS (but the problem seems to occur also without KMS). When it fails, the end of Xorg.0.log says: (**) Option "SendCoreEvents" (**) stylus: always reports core events (**) stylus device is /dev/ttyS0 (**) Option "DebugLevel" "10" (**) WACOM: stylus debug level set to 10 (**) stylus is in absolute mode (**) stylus: forcing TabletPC ISD V4 protocol (**) WACOM: suppress value is 2 (**) Option "KeepShape" "on" (**) stylus: keeps shape (**) /dev/ttyS0: Tablet PC buttons are on (**) Option "BaudRate" "9600" (**) stylus: serial speed 9600 (II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus) BEGIN xf86WcmProc dev=0xd58820 priv=0xd4cc00 type=stylus(stylus) flags=17153 fd=-1 what=INIT xf86WcmDevOpen opening /dev/ttyS0 (**) Option "Device" "/dev/ttyS0" (**) Option "StopBits" "1" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "10" (**) Option "FlowControl" "Xoff" usbDetect usbDetect: can not ioctl version initializing ISDV4 tablet getting ISDV4 Ranges Querying ISDV4 tablet Querying ISDV4 tablet isdv4GetRanges speed=19200 maxX=24576 maxY=18432 maxZ=255 TouchresX=0 TouchresY=0 (==) Wacom using pressure threshold of 15 for button 1 (==) Wacom General ISDV4 tablet speed=9600 (19200) maxX=24576 maxY=18432 maxZ=255 resX=2540 resY=2540 tilt=disabled xf86WcmRegisterX11Devices (stylus) 32 buttons, 32 keys, 6 axes Best and thanks again, -Andy |
|
From: Andy N. <ne...@ph...> - 2009-06-20 00:10:26
|
On Friday 19 June 2009 5:48:26 pm Andy Neitzke wrote:
> > This is the patch that I've been using. Notice that there are still a
> > few TODO comments where I wasn't sure how the wacom driver's axes
> > correspond to the axis names defined in xorg/xserver-properties.h.
>
> Thanks for posting that!
>
> For some reason, it's not working properly for me: if I start xorg with
> the linuxwacom driver installed, I get a black screen (except for a cursor
> _ at the upper left). The machine doesn't respond to any keyboard or mouse
> input but it is still running (I can ssh into it just fine).
Now I understand the problem a bit better: Xorg is actually failing, with the
error
/usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/input/wacom_drv.so:
undefined symbol: InitKeyClassDeviceStruct
It looks to me as if this function was removed from input.h in xorg-server
commit 08363c5830bdea34012dcd954b45ccfdc79a3a7e ("Input: Overhaul keyboard
initialisation process").
-Andy
|
|
From: Thomas J. <thj...@gm...> - 2009-06-20 01:20:25
Attachments:
disable-send-keys.diff
|
I see. Someone will need to port keyboard input to Xkb. Since I don't
use this feature of the driver, I just disabled it in configure.in (see
the attached patch).
Tom
Andy Neitzke wrote:
> On Friday 19 June 2009 5:48:26 pm Andy Neitzke wrote:
>>> This is the patch that I've been using. Notice that there are still a
>>> few TODO comments where I wasn't sure how the wacom driver's axes
>>> correspond to the axis names defined in xorg/xserver-properties.h.
>> Thanks for posting that!
>>
>> For some reason, it's not working properly for me: if I start xorg with
>> the linuxwacom driver installed, I get a black screen (except for a cursor
>> _ at the upper left). The machine doesn't respond to any keyboard or mouse
>> input but it is still running (I can ssh into it just fine).
>
> Now I understand the problem a bit better: Xorg is actually failing, with the
> error
>
> /usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/input/wacom_drv.so:
> undefined symbol: InitKeyClassDeviceStruct
>
> It looks to me as if this function was removed from input.h in xorg-server
> commit 08363c5830bdea34012dcd954b45ccfdc79a3a7e ("Input: Overhaul keyboard
> initialisation process").
>
> -Andy
>
|
|
From: Thomas J. <thj...@gm...> - 2009-06-22 16:51:14
Attachments:
wacom2.diff
|
I think this should do it.
Tom
Andy Neitzke wrote:
> On Friday 19 June 2009 5:48:26 pm Andy Neitzke wrote:
>>> This is the patch that I've been using. Notice that there are still a
>>> few TODO comments where I wasn't sure how the wacom driver's axes
>>> correspond to the axis names defined in xorg/xserver-properties.h.
>> Thanks for posting that!
>>
>> For some reason, it's not working properly for me: if I start xorg with
>> the linuxwacom driver installed, I get a black screen (except for a cursor
>> _ at the upper left). The machine doesn't respond to any keyboard or mouse
>> input but it is still running (I can ssh into it just fine).
>
> Now I understand the problem a bit better: Xorg is actually failing, with the
> error
>
> /usr/bin/X: symbol lookup error: /usr/lib64/xorg/modules/input/wacom_drv.so:
> undefined symbol: InitKeyClassDeviceStruct
>
> It looks to me as if this function was removed from input.h in xorg-server
> commit 08363c5830bdea34012dcd954b45ccfdc79a3a7e ("Input: Overhaul keyboard
> initialisation process").
>
> -Andy
>
|
|
From: Andy N. <ne...@ph...> - 2009-06-24 17:19:52
|
> I think this should do it. OK, that works almost perfectly -- I can build the driver against today's git master. There is one small glitch remaining: if I move the cursor using the pen and then move it using the mouse, the pointer "warps" to the lower right corner of the screen. Best, -Andy |
|
From: Andy N. <ne...@ph...> - 2009-06-27 20:32:29
|
> There is one small glitch remaining: if I move the cursor using the
> pen and then move it using the mouse, the pointer "warps" to the lower
> right corner of the screen.
I bisected this down -- the first commit that exhibits this problem for me is
5cbd4d3d6e54d202ecdbb527b57aaefeb8435600
("dix: do away with an instance of temporary in-place modification").
-Andy
|