relative cursor speed question

View: New views
4 Messages — Rating Filter:   Alert me  

relative cursor speed question

by dmotd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi folks,

thanks for all the many years work -
i've got a lot mileage out of my wacom
on linux..

quick question..

the relative speed setting is different
between the static xorg variable "Speed"
(as stated in wacom.4x man page) and the
xsetwacom parameter "SpeedLevel", and
they don't seem to line up? xorg sets
speed as greater than 0 where the
default is 1, whereas xsetwacom uses
some odd measure between 1 and 11, where
6 is default, and only whole numbers are
accepted. furthermore, setting a speed
in xorg bears no relation to what is
returned by 'xsetwacom get cursor
SpeedLevel', which will return 6 no
matter what is set.

i don't know if i'm missing something
but could a 'Speed' variable be added to
xsetwacom so that it corresponds to the
xorg variable (i am able to fine tune
xorg far more accurately than through
xsetwacon).

cheers,
dmotd

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Re: relative cursor speed question

by Ping@LinuxWacom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 18, 2009 at 8:27 PM, dmotd <dmotd@...> wrote:
hi folks,

thanks for all the many years work -
i've got a lot mileage out of my wacom
on linux..

quick question..

the relative speed setting is different
between the static xorg variable "Speed"
(as stated in wacom.4x man page) and the
xsetwacom parameter "SpeedLevel", and
they don't seem to line up? xorg sets
speed as greater than 0 where the
default is 1, whereas xsetwacom uses
some odd measure between 1 and 11, where
6 is default, and only whole numbers are
accepted.
 
We translated speed into speedLevel so it can be displayed in wacomcpl, where only limited integers (1 to 11) are accepted.  There was a "magic" behind the translation (http://linuxwacom.cvs.sourceforge.net/viewvc/linuxwacom/linuxwacom-dev/src/xdrv/wcmXCommand.c?revision=1.22&view=markup):
 
 case XWACOM_PARAM_SPEEDLEVEL:
         if ((value < 1) || (value > 11)) return BadValue;
         if (value > 6) priv->speed = 2.00*((double)value - 6.00);
         else priv->speed = ((double)value) / 6.00;
furthermore, setting a speed
in xorg bears no relation to what is
returned by 'xsetwacom get cursor
SpeedLevel', which will return 6 no
matter what is set.
 
If you can reproduce this issue, it is a bug.  Please file a bug or fix it then sumbit a patch to us.  Thank you for reporting and fixing (maybe :) the bug.
 

i don't know if i'm missing something
but could a 'Speed' variable be added to
xsetwacom so that it corresponds to the
xorg variable (i am able to fine tune
xorg far more accurately than through
xsetwacon).
Email your patch to us that will benefit everyone.
 
Ping

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

0.8.5 Problems - HAL and fdi.

by Kory Prince :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.
        In testing 0.8.5 I came across some unusual problems. I use HAL with
fdi files to get my wacom stuff working on Ubuntu (currently on 9.10
beta.) I have a usb tablet PC (hp tx2000z) and most every release from
8.2-2 on up have worked just fine.
But when I compile this release and use the same fdi file, nothing
works. I am attaching the file.
The thing is, the lshal output is the same in either case (Using 0.8.5
or 0.8.4-3) but it only works on 0.8.4-3. I have tracked it down to the
xorg driver. Using the xorg driver from 0.8.4-3 and the module from
0.8.5 fixes everything.

So my question is - is it a bug in the driver, or did you somehow change
how the driver works (if it's the second one, how should I change my fdi
file to reflect that?)

Thanks for any help you can provide!
Kory


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

10-linuxwacom.fdi (1K) Download Attachment

Re: 0.8.5 Problems - HAL and fdi.

by Ping@LinuxWacom :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kory,

Did you define wacom device in /etc/X11/xorg.conf?  There is a change (I feel your problem is most likely related to that) in wacom_drv.so to only allow HAL add the device if there is no wacom devices defined in xorg.conf (without this change, duplicated devices will be created). 

Ping

On Tue, Oct 20, 2009 at 6:33 PM, Kory Prince <korylprince@...> wrote:
Hi all.
       In testing 0.8.5 I came across some unusual problems. I use HAL with
fdi files to get my wacom stuff working on Ubuntu (currently on 9.10
beta.) I have a usb tablet PC (hp tx2000z) and most every release from
8.2-2 on up have worked just fine.
But when I compile this release and use the same fdi file, nothing
works. I am attaching the file.
The thing is, the lshal output is the same in either case (Using 0.8.5
or 0.8.4-3) but it only works on 0.8.4-3. I have tracked it down to the
xorg driver. Using the xorg driver from 0.8.4-3 and the module from
0.8.5 fixes everything.

So my question is - is it a bug in the driver, or did you somehow change
how the driver works (if it's the second one, how should I change my fdi
file to reflect that?)

Thanks for any help you can provide!
Kory



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@...
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss