huion-linux-drivers icon indicating copy to clipboard operation
huion-linux-drivers copied to clipboard

HUION GT190

Open blasco opened this issue 5 years ago • 1 comments

I got the Huion GT190 almost working. I would like some guidance on how obtain the different parameters:

[tablet_gt190]
model_name    = GT-190
screen        = true
screen_width  = 1400
screen_height = 900
pen_max_x     = 86970
pen_max_y     = 47752
pen_max_z     = 8191
resolution    = 5080

The width and height I could easily change, but what are pen_max_x and in what units and how can I figure out that value? Same thing with y,z and resolution.

Apart from that the tablet seems to be working, but only for the X axis (any idea what could be making the pen to react to the X axis but not the Y axis, could it just be the wrong pen_max_y numbers?

Thank you for the guidance and support!

blasco avatar Jan 12 '20 10:01 blasco

Hi, sorry for the long delay in answering.

Now you can see those numbers when you start the driver either with the debug_mode = true option, or the current_tablet = [tablet_debug], in config.ini. E.g. for my tablet the right numbers are in the Params block #2:

$ sudo ./huion-tablet-driver.py
Finding USB device. . . Done!
Reading configuration. . . Done!
Preparing driver. . . Done!
--------------------------------------------------------------------------------
    |                Product: Tablet Monitor
 64 |        Params block #1: ??????
    |                          Max X: 37540
    |                          Max Y: 21120
    |                   Max pressure: 8191
    |                     Resolution: 2000
    |
 79 |         Internal model: 
 7b |         Buttons status: HK On
 c8 |        Params block #2: ????????
    |                          Max X: 95352
    |                          Max Y: 53645
    |                   Max pressure: 8191
    |                     Resolution: 5080
    |
 c9 |       Firmware version: HUION_M167_170623
 ca |  Internal manufacturer: HUION Animation Technology Co.,ltd
--------------------------------------------------------------------------------
Setting up driver. . . Done!
	Tablet model name         DEBUG TABLET
	Buttons                   disabled (0)
	Scrollbar                 disabled (0)
	Notifications:            ENABLED
		for buttons       ENABLED
		for scrollbar     disabled
	Screen                    disabled

Please try it with the latest version

joseluis avatar Apr 28 '20 23:04 joseluis