Trust (aka Waltop) graphics tablet need driver (Solved)

Moderators: 666philb, Forum moderators

Post Reply
User avatar
Grey
Posts: 2055
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 77 times
Been thanked: 388 times

Trust (aka Waltop) graphics tablet need driver (Solved)

Post by Grey »

@666philb
I got my hands on a Trust graphics tablet, which is identified as Waltop. I would like to make it work in Fossapup.

I found a driver on Git for tablets based on Waltop chipsets. https://github.com/lambda2111/waltop-linux
I can't compile it yet.

Maybe you can compile the driver?

Last edited by Grey on Sat Jun 11, 2022 5:04 pm, edited 2 times in total.

Different devices. Different approach.

dogcat
Posts: 292
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 97 times
Been thanked: 143 times

Re: Trust (aka Waltop) graphics tablet need driver

Post by dogcat »

Hello Grey,

My attempt at compiling this driver. It is compiled for the stock kernel, the directory structure for the compile was

Code: Select all

/root/waltop-linux/

I only compiled the driver using make. I had to comment out the last two lines in the makefile for it to compile. The devx and kernel sources modules were loaded. The driver file is named waltrop.ko and is included in the waltrop-linux.zip archive.

I included both the complete contents of the compiled directory (waltop-linux.zip) and also the uncompiled sources (waltop-linux-sources.zip) as two separate archives, the sources are for you to make your own if you change kernels. I have no way to test this driver and did not try to install it, the installation instructions are at the git site you provided with sources, though I am not sure if those instructions will apply to Fossapup64.

Have fun, I hope you get the thing working!

Attachments
waltop-linux-sources.zip
(40.82 KiB) Downloaded 48 times
waltop-linux.zip
(98.61 KiB) Downloaded 78 times

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

User avatar
Grey
Posts: 2055
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 77 times
Been thanked: 388 times

Re: Trust (aka Waltop) graphics tablet need driver

Post by Grey »

dogcat wrote: Fri Jun 10, 2022 10:28 pm

It is compiled for the stock kernel

Hello and thank you. As soon as I can, I will check on the stock kernel (now 5.18.2 is there and my nephew and friends occupied it - they are on vacation :) ).

dogcat wrote: Fri Jun 10, 2022 10:28 pm

I had to comment out the last two lines in the makefile for it to compile.

It's brilliant! Ingenious! ʕ•ᴥ•ʔ
----------|
What I discovered before.
This driver supports a maximum of lines per inch. Nevertheless, I managed to connect the tablet using the standard Wacom driver in Fossapup on fresh kernels. But with limitations.

Then it turned out that everything works "out of the box" in Bionicpup ⌒‿‿⌒
I don't know if it's in full mode yet.

Gimp and Inkscape have functions for enabling tablet screen-window modes. In my case, they need to be turned off.

Fossapup does not define a class in HardInfo. Bionicpup is in full order:

waltop_bionic.png
waltop_bionic.png (46.04 KiB) Viewed 1129 times

Different devices. Different approach.

dogcat
Posts: 292
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 97 times
Been thanked: 143 times

Re: Trust (aka Waltop) graphics tablet need driver

Post by dogcat »

Hello Grey,
Your tablet is supported by this driver, but is listed as *untested* in the Readme.md file.
modinfo does not show any firmware needed.

For anyone looking to use this compiled driver, it is for kernel 5.4.53 , I should have listed the version number of the kernel, not just "stock kernel". It is easy enough to compile the driver for your kernel though, just make sure you have the DEVX and kernel headers loaded (located in additional SFS packages). In FossaPup64, the kernel headers are included in the kernel_sources SFS, other versions of puppy sometimes have the kernel headers as a completely separate SFS to load. Remember that the kernel sources and kernel headers are kernel version specific, if you install a different kernel you need different kernel sources and kernel headers for compiling kernel specific drivers.

Code: Select all

# modinfo waltop.ko
filename:       /mnt/sda1/to-post/waltop-linux/waltop.ko
license:        GPL
description:    WALTOP Proprietary Mode Tablet Driver
author:         lambda2111@gmail.com
alias:          usb:v172Fp0509d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0503d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0502d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0501d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0500d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0058d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0056d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0055d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0054d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0053d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0052d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0051d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0047d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0046d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0039d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0038d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0037d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0036d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0035d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0034d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0033d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0032d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0031d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0030d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0028d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0027d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0026d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0025d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0024d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v172Fp0022d*dc*dsc*dp*ic*isc*ip*in*
depends:        
retpoline:      Y
name:           waltop
vermagic:       5.4.53 SMP preempt mod_unload modversions 
# 

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

User avatar
Grey
Posts: 2055
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 77 times
Been thanked: 388 times

Re: Trust (aka Waltop) graphics tablet need driver

Post by Grey »

I found why I didn't compile the module. From the /lib/modules/5.18.2/ folder, for some reason, the build link that referred to /usr/src/linux/ disappeared. I created it and now compiled the driver :)

Different devices. Different approach.

Post Reply

Return to “Fossapup64”