I've compiled the driver from git, and now maxZ disappeared from Xorg.0.log
(http://dpaste.org/kwBe/)
everything else seems to be pretty much the same. (checked xinput --test)


On Fri, Jan 7, 2011 at 17:56, Ping Cheng <[email protected]> wrote:

> On Fri, Jan 7, 2011 at 7:14 AM, AndrewP <[email protected]> wrote:
> > Could you present me some advice as New Year gift? :)
>
> You mean New Year's gift? They were all distributed by New Year's eve.
> Just kidding ;).
>
> > I've updated to 2.6.37 recently.
>
> Since you are using a serial tablet, kernel version won't do much, if
> any, for you.
>
> > On Tue, Dec 28, 2010 at 09:47, AndrewP <[email protected]> wrote:
> >>
> >> Checked through Xorg.0.log once more, and something caught my attention.
> >>
> >> [    26.461] (--) stylus: Wacom General ISDV4 tablet maxX=26312
> maxY=16520
> >> maxZ=127 resX=2540 resY=2540  tilt=disabled
>
> I checked my log file, I did not see this same line. I saw a similar
> line without maxZ though. We may use different git sources. I tested
> the driver with isdv4-serial-debugger. The pressure displayed at the
> initial prompt is 127. However, when I press the stylus tip on the
> screen, I saw 255 as the largest number reported for pressure! So, we
> get the same value from isdv4-serial-debugger. I am not sure where the
> difference lies.
>
> >> maxZ value is 127. Isn't it max pressure level? Its't nor 255 nor 2047.
> >> Why 127 then? Where it came from?
>
> I have the same question. I'll try to find another serial tablet pc to
> test with.  Meanwhile, are you willing to clone xf86-input-wacom from
> the git repo and install the driver again? If the problem is on your
> system, we can only figure it out by working on that system...
>
> >> Maybe my tablet ID isn't recognized correctly?
>
> From your log file, I see your tablet is recognized as 0x90, which
> means a pen only serial device. That is correct.
>
> Ping
>
> >> On Tue, Dec 28, 2010 at 12:21, AndrewP <[email protected]> wrote:
> >>>
> >>> Unfortunately, my developer abilities are very limited. I honestly
> looked
> >>> through the code, and found one place where pressure is filtered to
> adjust
> >>> for weared styli. Maybe it has something to do with my issue, some
> misfit
> >>> happens?
> >>>
> >>> As far as I know my tablet has 256 levels of pressure (according to
> >>> specifications), and we have 2048 levels in xinput, could it be some
> scaling
> >>> mistake? For example it is scaled too much, but we're limited to 2048
> levels
> >>> and driver cuts the rest? we saw it happening when isdv4-debugger
> showed
> >>> pressure level around 100, when xinput was maxed-out to 2048, already.
> >>> I couldn't find where translation to xinput values takes place.
> >>>
> >>>
> >>>
> >>> On Tue, Dec 28, 2010 at 01:19, Ping Cheng <[email protected]> wrote:
> >>>>
> >>>> On Mon, Dec 27, 2010 at 4:59 AM, AndrewP <[email protected]> wrote:
> >>>> > Hello,
> >>>> >    tried it once more in another distribution with live usb,
> behaviour
> >>>> > is
> >>>> > the same. Unfortunately Live media didn't provide xinput or
> >>>> > isdv4-debugger,
> >>>> > and I can't substantiate my words with their output.
> >>>> >
> >>>> > here's my Xorg.0.log http://dpaste.org/4OkF/
> >>>> > my parameter values http://dpaste.org/bYwv/    all are defaults,
> >>>> > except for
> >>>> > Threshold which was increased due to false clicks and sensitivity on
> >>>> > Peter's
> >>>> > advice.
> >>>>
> >>>> I tested my system with the driver from git on X server 1.9.3 (Fedora
> >>>> 14). I see full pressure up to 2048. So, it does look like something
> >>>> unique to your system/device.
> >>>>
> >>>> > i believe both issues are connected and relate to distorted value
> >>>> > translations from serial to X, as you remember isdv4-debugger output
> >>>> > was
> >>>> > seemingly acceptable (in sense of pressure levels it was fine).
> >>>>
> >>>> If isdv4-debugger output is right, it likely means that the device is
> >>>> not something we can blame.
> >>>>
> >>>> > Anyway, my primary concern is, I have about ten pressure gradations
> in
> >>>> > X
> >>>> > (gimp) and there are all 256 visible in isdv4-debugger.
> >>>>
> >>>> Peter worked on isdv4-debugger. I am not very familiar with that tool.
> >>>> But if it reports the correct value, I guess we can trust it.
> >>>>
> >>>> > I guess if I had entire pressure range I won't even encounter this
> >>>> > false
> >>>> > clicks, because they would fit into Threshold.
> >>>>
> >>>> I guess so too. It might be something between the raw data is
> >>>> processed and posted, i.e., maybe the pressure was not posted properly
> >>>> to XInput.
> >>>>
> >>>> > So what it could be? wrong driver settings? buggy X? or some
> >>>> > inaccuracies in
> >>>> > input-wacom driver?
> >>>>
> >>>> How comfortable are you with debugging the driver? Tracing into the
> >>>> code is the most reliable way to figure out the root cause of the
> >>>> issue. The two files that you can pay a bit of attention are:
> >>>> wcmISDV4.c and wcmCommon.c.
> >>>>
> >>>> Ping
> >>>
> >>
> >
> >
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to