LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2018, 06:34 PM   #1
arsen
LQ Newbie
 
Registered: Jan 2018
Posts: 5

Rep: Reputation: Disabled
Drawing table pen hover stops after writing with certain pressure


I have xp-pen star 06 graphics tablet, I am trying to configure the tablet and I am making a slow progress, Now I have faced the following problem.

When I hover the pen over the tablet the mouse moves normally but when I start writing on the tablet with certain pressure the hover effect stops and then the tablet cursor acts like mouse down, when you write on the tablet the cursor jumps to then pen position.
I am using evdev driver
Any help to fix this issue will be appreciated
Code:
Device 'XP-PEN STAR 06':
    Device Enabled (141):   1
    Coordinate Transformation Matrix (143): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (277): 0
    Device Accel Constant Deceleration (278):   1.000000
    Device Accel Adaptive Deceleration (279):   1.000000
    Device Accel Velocity Scaling (280):    10.000000
    Device Product ID (268):    10429, 120
    Device Node (267):  "/dev/input/event1"
    Evdev Axis Inversion (281): 0, 0
    Evdev Axis Calibration (282):   <no items>
    Evdev Axes Swap (283):  0
    Axis Labels (284):  "Abs X" (274), "Abs Y" (275), "Abs Pressure" (276), "Rel Vert Wheel" (273)
    Button Labels (285):    "Button Left" (144), "Button Middle" (145), "Button Right" (146), "Button Wheel Up" (147), "Button Wheel Down" (148), "Button Horiz Wheel Left" (149), "Button Horiz Wheel Right" (150), "Button Side" (270), "Button Extra" (271), "Button Forward" (272), "Button Unknown" (269), "Button Unknown" (269), "Button Unknown" (269), "Button Unknown" (269)
    Evdev Scrolling Distance (286): 1, 1, 1
    Evdev Middle Button Emulation (287):    0
    Evdev Middle Button Timeout (288):  50
    Evdev Middle Button Button (289):   2
    Evdev Third Button Emulation (290): 0
    Evdev Third Button Emulation Timeout (291): 1000
    Evdev Third Button Emulation Button (292):  3
    Evdev Third Button Emulation Threshold (293):   20
    Evdev Wheel Emulation (294):    0
    Evdev Wheel Emulation Axes (295):   0, 0, 4, 5
    Evdev Wheel Emulation Inertia (296):    10
    Evdev Wheel Emulation Timeout (297):    200
    Evdev Wheel Emulation Button (298): 4
    Evdev Drag Lock Buttons (299):  0
evtest
Code:
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x28bd product 0x78 version 0x100
Input device name: "XP-PEN STAR 06"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 275 (BTN_SIDE)
    Event code 276 (BTN_EXTRA)
    Event code 277 (BTN_FORWARD)
    Event code 330 (BTN_TOUCH)
  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 8 (REL_WHEEL)
    Event code 9 (REL_MISC)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value  11118
      Min        0
      Max    32767
    Event code 1 (ABS_Y)
      Value  20792
      Min        0
      Max    32767
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max     8191
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
In evtest I can see events while the pen is hover over the tablet but the mouse is not moving.

here xinput test output while the problem acquired, the motion stops.
xinput test
Code:
motion a[0]=13106 a[1]=23209 
motion a[0]=13081 a[1]=23244 
motion a[0]=13051 
motion a[0]=13014 a[1]=23281 
motion a[0]=12995 
motion a[0]=12979 
motion a[0]=12966 
motion a[0]=12951 a[1]=23247 
motion a[0]=12941 a[1]=23215 
motion a[0]=12928 
motion a[0]=12917 
motion a[0]=12913 a[1]=23215 a[2]=3167 
button press   1 
motion a[0]=12910 a[1]=23215 a[2]=3218 
motion a[0]=12908 a[1]=23215 a[2]=3725 
motion a[0]=12906 a[1]=23215 a[2]=4183 
motion a[2]=4679 
motion a[0]=12904 a[1]=23215 a[2]=5131 
motion a[2]=5553 
motion a[1]=23183 a[2]=5904 
motion a[2]=6516 
motion a[2]=6737 
motion a[2]=6950 
motion a[2]=7152 
motion a[2]=7379 
motion a[0]=12920 a[1]=23183 a[2]=7829 
motion a[2]=8001 
motion a[2]=8114 
motion a[2]=8176 
motion a[2]=8191 
motion a[0]=12908 
motion a[1]=23154 
motion a[0]=12901 
motion a[2]=7784 
motion a[0]=12895 a[1]=23119 a[2]=7234 
motion a[0]=12888 a[1]=23094 a[2]=6407 
motion a[0]=12880 a[1]=23063 a[2]=5254 
motion a[0]=12870 a[1]=23031 a[2]=3814 
motion a[0]=12849 a[1]=22950 a[2]=1095 
button release 1
 
Old 01-14-2018, 11:35 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Hi And welcome to Linux Questions!
Quote:
When I hover the pen over the tablet the mouse moves normally but when I start writing on the tablet with certain pressure the hover effect stops and then the tablet cursor acts like mouse down, when you write on the tablet the cursor jumps to then pen position.
Perhaps you could mention the Linux distribution you're using which would help with giving you an answer.
I'm not sure what your problem is? I've got a second hand Wacom Bamboo A6 tablet which just worked when I plugged it in to my Linux Mint 18.2 system though it's taking me a while to adjust to the fact that it doesn't really work like a mouse.

Hovering the pen over the tablet moves the cursor just like the mouse does but unlike the mouse, the positioning is Absolute; the bottom left of the tablet is the bottom left of the screen/app window, top right of the tablet is top right of the screen/app window.

The mouse positioning is Relative; You move the cursor up the screen and lift the mouse from the mouse mat/desk and the cursor remains at the last position. You can now move the mouse, while lifted, back down and replace on the mat then move it again and the cursor will continue from the last position. This is how everybody who has ever used a mouse expects it to work.

As I understand your "problem" is that your tablet doesn't work like the mouse?
This isn't a problem, this is how a tablet/stylus input device differs from a mouse.

Hope that helps.

Play Bonny!

 
Old 01-14-2018, 12:28 PM   #3
arsen
LQ Newbie
 
Registered: Jan 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Hovering the pen over the tablet moves the cursor just like the mouse does but unlike the mouse, the positioning is Absolute; the bottom left of the tablet is the bottom left of the screen/app window, top right of the tablet is top right of the screen/app window
.

Exactly the tablet works perfectly except when I write on the tablet the hover stops then when I click on the tablet again the mouse jumps to the next absolute position but with mouse down effect, my English is bad it's kinda hard for me to explain, I guess I'll post a video soon.
I am using arch linux and thanks for your help
 
Old 01-15-2018, 08:11 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
Exactly the tablet works perfectly except when I write on the tablet the hover stops then when I click on the tablet again the mouse jumps to the next absolute position but with mouse down effect, my English is bad it's kinda hard for me to explain,
Just to clarify, are you just talking about the tablet and stylus, or the tablet and stylus and the mouse?

"Clicking" the stylus on the tablet is the same as what you are calling "mouse down", the screen cursor which follows the stylus (and can also be moved by the mouse for that matter)can be moved by both input devices.

My set up has two screens, the mouse works across both perfectly but I could only set the tablet to work over one, so my left hand screen is effectively mapped to the tablet, the stylus won't move the cursor over to the right hand screen. I have to use the mouse to do that. Again, this is one of the differences between a tablet/stylus and mouse.

Does this help in any way? I'm still not sure that what you're experiencing is a problem.

Play Bonny!

 
Old 01-15-2018, 08:59 AM   #5
arsen
LQ Newbie
 
Registered: Jan 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Soadyheid View Post
Just to clarify, are you just talking about the tablet and stylus, or the tablet and stylus and the mouse?

"Clicking" the stylus on the tablet is the same as what you are calling "mouse down", the screen cursor which follows the stylus (and can also be moved by the mouse for that matter)can be moved by both input devices.

My set up has two screens, the mouse works across both perfectly but I could only set the tablet to work over one, so my left hand screen is effectively mapped to the tablet, the stylus won't move the cursor over to the right hand screen. I have to use the mouse to do that. Again, this is one of the differences between a tablet/stylus and mouse.

Does this help in any way? I'm still not sure that what you're experiencing is a problem.

Play Bonny!

Sorry for the confusion, Yes the problem occurs when I click with the stylus on the tablet after that the cursor wont follow the stylus when I hover the tablet.
The regular mouse actions are not affected.

here a video showing the stylus hover stops working after a certain pressure
https://youtu.be/lHQsUjtKrJY

Last edited by arsen; 01-15-2018 at 09:14 AM.
 
Old 01-15-2018, 05:19 PM   #6
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
What I saw in the video was you writing something and drawing. The circular cursor then goes up to the colour adjuster Icon next to the three paintbrushes at the top right. The cursor changes from the "My Paint" circle to a normal cursor/pointer as it's outside the drawing frame, then the video stops so I'm not sure what I'm supposed to be seeing. It all looks normal to me, my tablet does the same.

Quote:
Yes the problem occurs when I click with the stylus on the tablet
When you click, is that using the stylus tip or one of the (possibly) two buttons on the stylus which can be programmed to do different things? e.g scroll up, down left or right, act like the left, right or middle mouse button.

Ahhhhh....

I've just noticed that if I'm writing with the tip on the tablet then push and hold the button programmed as the right button, I can raise the stylus from the tablet to the "hover" position and the cursor still draws on the drawing frame. If I release the button it goes back to hover mode just showing where the cursor is. Is this what you get? Pressing the button when in hover mode doesn't draw anything but it can activate the various control icons. Interesting...

Play Bonny!

 
Old 01-17-2018, 01:04 AM   #7
arsen
LQ Newbie
 
Registered: Jan 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Soadyheid View Post
What I saw in the video was you writing something and drawing. The circular cursor then goes up to the colour adjuster Icon next to the three paintbrushes at the top right. The cursor changes from the "My Paint" circle to a normal cursor/pointer as it's outside the drawing frame, then the video stops so I'm not sure what I'm supposed to be seeing. It all looks normal to me, my tablet does the same.


When you click, is that using the stylus tip or one of the (possibly) two buttons on the stylus which can be programmed to do different things? e.g scroll up, down left or right, act like the left, right or middle mouse button.

Ahhhhh....

I've just noticed that if I'm writing with the tip on the tablet then push and hold the button programmed as the right button, I can raise the stylus from the tablet to the "hover" position and the cursor still draws on the drawing frame. If I release the button it goes back to hover mode just showing where the cursor is. Is this what you get? Pressing the button when in hover mode doesn't draw anything but it can activate the various control icons. Interesting...

Play Bonny!

I just click with the tip with certain pressure then release after that the hover stops.
 
Old 01-17-2018, 09:32 AM   #8
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
I just click with the tip with certain pressure then release after that the hover stops.
Sorry, I'm not sure where to go with this now. I'm not sure what sort of mechanism the XP Pen Star 06 tablet uses to work out position and which key has been pressed. The Wacom tablets use electromagnetic resonance technology which is possibly patented. The XP Pen Star 06 may use something similar but I have no idea, the Wacom tablets work like this which may be of some use.

My next step would probably be to source a replacement pen if possible, otherwise... I'm stuck.

Good luck and Play Bonny!

 
Old 01-17-2018, 11:50 AM   #9
arsen
LQ Newbie
 
Registered: Jan 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Soadyheid View Post
Sorry, I'm not sure where to go with this now. I'm not sure what sort of mechanism the XP Pen Star 06 tablet uses to work out position and which key has been pressed. The Wacom tablets use electromagnetic resonance technology which is possibly patented. The XP Pen Star 06 may use something similar but I have no idea, the Wacom tablets work like this which may be of some use.

My next step would probably be to source a replacement pen if possible, otherwise... I'm stuck.

Good luck and Play Bonny!

It's is a driver problem, the tablet doesn't have official drivers thanks for helping
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Looking for Tablet-PC having a pressure sensitive pen phi Linux - Laptop and Netbook 1 06-25-2023 07:21 AM
The 'dd' command writing to usb pen drive at only 2.5mb/s clifford227 Linux - Hardware 11 05-13-2011 02:28 AM
Pressure control on gimp-2.4.7, slackware 12.1, G-Pen 450. ErV Linux - Software 1 08-22-2008 03:58 PM
Help needed with writing a bootdisk.img to a USB pen rob_in_delft Linux - Newbie 1 09-17-2004 08:22 AM
USB pen writing problem (debian) jobano Linux - Hardware 1 05-25-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration