How to make use of "XP-Pen Star G640" (USB drawing/writing tablet) on FreeBSD?

Hello and happy new year to all.

So I'm trying to get a USB writing tablet to work on FreeBSD 13.1 so that I can write/solve math equations digitally rather than writing on paper.

I have installed the following drivers:
Code:
pkg install libwacom
pkg install xf86-input-wacom
pkg install xf86-input-evdev

I have removed xf86-input-wacom so that it does not conflict with xf86-input-evdev.
I read on a different thread stating that xf86-input-evdev is the way to go.

When I do: xsetwacom list devices
The return is simply blank.

Here is what xinput list shows:

Code:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ System mouse                              id=6    [slave  pointer  (2)]
⎜   ↳ Logitech Gaming Mouse G502                id=12   [slave  pointer  (2)]
⎜   ↳ UGTABLET 6 inch PenTablet                 id=13   [slave  pointer  (2)]
⎜   ↳ UGTABLET 6 inch PenTablet                 id=14   [slave  pointer  (2)]
⎜   ↳ BY Tech Usb Gaming Keyboard               id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ System keyboard multiplexer               id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ AT keyboard                               id=9    [slave  keyboard (3)]
    ↳ Logitech Gaming Mouse G502                id=10   [slave  keyboard (3)]
    ↳ BY Tech Usb Gaming Keyboard               id=11   [slave  keyboard (3)]

Here is what dmesg | grep -i PenTablet outputs:

Code:
ugen0.2: <UGTABLET 6 inch PenTablet> at usbus0
ums2: <UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1> on usbus0
ums3: <UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1> on usbus0
uhid0: <UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1> on usbus0

Here is what xorg.log shows:

Code:
[    13.485] (II) config/udev: Adding input device UGTABLET 6 inch PenTablet (/dev/input/event7)
[    13.485] (**) UGTABLET 6 inch PenTablet: Applying InputClass "evdev pointer catchall"
[    13.485] (**) UGTABLET 6 inch PenTablet: Applying InputClass "libinput pointer catchall"
[    13.485] (II) Using input driver 'libinput' for 'UGTABLET 6 inch PenTablet'
[    13.485] (**) UGTABLET 6 inch PenTablet: always reports core events
[    13.486] (**) Option "Device" "/dev/input/event7"
[    13.486] (**) Option "_source" "server/udev"
[    13.487] (II) event7  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: is tagged by udev as: Mouse
[    13.488] (II) event7  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device is a pointer
[    13.490] (II) event7  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device removed
[    13.490] (**) Option "config_info" "udev:/dev/input/event7"
[    13.490] (II) XINPUT: Adding extended input device "UGTABLET 6 inch PenTablet" (type: MOUSE, id 13)
[    13.490] (**) Option "AccelerationScheme" "none"
[    13.490] (**) UGTABLET 6 inch PenTablet: (accel) selected scheme none/0
[    13.490] (**) UGTABLET 6 inch PenTablet: (accel) acceleration factor: 2.000
[    13.490] (**) UGTABLET 6 inch PenTablet: (accel) acceleration threshold: 4
[    13.492] (II) event7  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: is tagged by udev as: Mouse
[    13.493] (II) event7  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device is a pointer
[    13.495] (II) config/udev: Adding input device UGTABLET 6 inch PenTablet (/dev/input/event8)
[    13.495] (**) UGTABLET 6 inch PenTablet: Applying InputClass "evdev pointer catchall"
[    13.495] (**) UGTABLET 6 inch PenTablet: Applying InputClass "libinput pointer catchall"
[    13.495] (II) Using input driver 'libinput' for 'UGTABLET 6 inch PenTablet'
[    13.495] (**) UGTABLET 6 inch PenTablet: always reports core events
[    13.495] (**) Option "Device" "/dev/input/event8"
[    13.495] (**) Option "_source" "server/udev"
[    13.497] (II) event8  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: is tagged by udev as: Mouse
[    13.498] (II) event8  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device is a pointer
[    13.500] (II) event8  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device removed
[    13.500] (**) Option "config_info" "udev:/dev/input/event8"
[    13.500] (II) XINPUT: Adding extended input device "UGTABLET 6 inch PenTablet" (type: MOUSE, id 14)
[    13.500] (**) Option "AccelerationScheme" "none"
[    13.500] (**) UGTABLET 6 inch PenTablet: (accel) selected scheme none/0
[    13.500] (**) UGTABLET 6 inch PenTablet: (accel) acceleration factor: 2.000
[    13.500] (**) UGTABLET 6 inch PenTablet: (accel) acceleration threshold: 4
[    13.502] (II) event8  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: is tagged by udev as: Mouse
[    13.503] (II) event8  - UGTABLET 6 inch PenTablet, class 0/0, rev 1.10/0.00, addr 1: device is a pointer

Here is what webcamd -l shows:

Code:
Available device(s):
webcamd [-d ugen2.1] -N ATI-EHCI-root-HUB -S unknown -M 0
webcamd [-d ugen0.1] -N 0x1b6f--XHCI-root-HUB -S unknown -M 0
webcamd [-d ugen7.1] -N ATI-EHCI-root-HUB -S unknown -M 1
webcamd [-d ugen4.1] -N ATI-EHCI-root-HUB -S unknown -M 2
webcamd [-d ugen1.1] -N ATI-OHCI-root-HUB -S unknown -M 0
webcamd [-d ugen5.1] -N ATI-OHCI-root-HUB -S unknown -M 1
webcamd [-d ugen3.1] -N ATI-OHCI-root-HUB -S unknown -M 2
webcamd [-d ugen6.1] -N ATI-OHCI-root-HUB -S unknown -M 3
webcamd [-d ugen4.2] -N USB3-0-HD-Audio-Capture-USB3-0-HD-Video-Capture -S HU123450 -M 0
webcamd [-d ugen1.2] -N Logitech-Gaming-Mouse-G502 -S 077833733533 -M 0
webcamd [-d ugen2.2] -N USB3-0-HD-Audio-Capture-USB3-0-HD-Video-Capture -S HU123450 -M 1
webcamd [-d ugen1.3] -N BY-Tech-Usb-Gaming-Keyboard -S unknown -M 0
webcamd [-d ugen0.2] -N UGTABLET-6-inch-PenTablet -S 000000 -M 0

Anyone knows how I can get this USB drawing tablet to work?

Thanks for any advice.
 
Last edited:
Thank you for replying.

I have followed the guide, however I have no idea if it's working...

I connected the drawing pad and usually on Windows 10, the pad acts like a mouse pad and I can move the mouse pointer at the desktop screen.
This is not happening after I followed the guide on FreeBSD.

Thanks
 
I wasn't able to get it to work. Because I have no idea how to install the new libwacom github which actually includes xp-pen Star G640 drivers. I messaged the libwacom maintainers if they can update libwacom ports.

This made me to look into other supported drawing tablets, glad I did so.

I ended up buying a $640 Wacom Cintiq 16 (released on 2019) for $200 off of eBay used. This drawing tablet comes with a display and its manufactured for professional drawing/writing use. Once I received it, I got it to work in 40 mins. Super easy to get it to work.

I followed this tutorial:

Here is my recommendation if you want a drawing tablet for FreeBSD that will work:

I recommend that you simply buy a Wacom tablet off of eBay used.
They are high quality product and will work for decades and sworn by professional artists.
The best thing about these tablets is that their value seriously depreciates over time. With that said, you can get a professional wacom display drawing tablet which was released on 2010 and had a market price of $2,500 for $250 on eBay and will have the same performance as today's current Wacom display models.

You have two options, a drawing tablet with a display or without a display.
Here are the models which is best for the money and are professional series that costs low:

Note: 9 out of 10 chances, on eBay, most used tablets does not come with a pen and power adapter or cables. The pen can be bought separately for $50 brand new on eBay and the power adapter for $30.

I strongly advice that you take the time to read on the following two links which shows details about all of the wacom drawing tablets and when they were released. Get well aware how the wacom tablets looks, their model number nomenclature and what pen is compatible with the wacom tablet. Because sometimes the sellers get confused and do not properly show the details and does not correlate the eBay picture:

https://machollywood.com/blogs/news/wacom-tablets-and-cintiqs-with-compatible-pens

https://machollywood.com/blogs/news/wacom-pen-compatibility

These are the tablets I recommend since they are still valid for today's use and have advanced digitizer technology which matters the most.
The display tablets have great pixel density.

21" Display LCD drawing tablets:
Wacom Cintiq 22HD (2010 release) - You can get this from eBay for $150-$200 without the pen and power adapter.
Wacom Cintiq 21UX (3rd generation) - You can get this from eBay for $70-$150 without the pen and power adapter.

16" Display LCD drawing tablets:
Wacom Cintiq 16 (2019 release) - You can get this from eBay for $250-$300 without the pen and power adapter. Most cases these models comes with a pen, power adapter and cables.

Drawing tablets without LCD:
The Wacom Intous 5 and 4 specifications are better than today's Intous of the non-pro series. If I was on a budget and need to obtain a quality drawing pad without a display, it will be the Intous 5 or 4.

Wacom Intous 5 large - You can get this from eBay for around $70+ without the pen and USB cable.
Wacom Intous 5 medium - You can get this from eBay for around $50+ without the pen and USB cable.
Wacom Intous 4 large - You can get this from eBay for around $70+ without the pen and USB cable.
Wacom Intous 4 medium - You can get this from eBay for around $50+ without the pen and USB cable.

Here are some pics of the Wacom Cintiq 16 I bought off of eBay, it works perfectly, no latency issues, running it on a custom built 13 year old AMD FX8350:

IMG_2911.jpg


IMG_2908-1.jpg
 
Back
Top