Si sono verificati i seguenti errori:
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(799) : eval()'d code PHP 8.2.13 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(799) : eval()'d code 5 errorHandler->error_callback
/showthread.php 799 eval




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
  Condividi: Facebook Twitter
Ubuntu 20.04.1 e XP Pen Artist 12 Pro [28bd:091f]
#1
Ciao a tutti, metto a fattor comune la mia esperienza con questa tavoletta grafica acquistata per mia figlia, appassionata di disegno. La scelta di questa tavoletta grafica è stata determinata sia dal costo contenuto della tavoletta sia dal fatto che sul proprio sito il produttore mette a disposizione dei driver per linux.

Ho avuto modo di collegare la tavoletta grafica al pc con Ubuntu Unity 20.04.1 (https://ubuntuunity.org/) e di installare i driver (che servono più che altro a definire i vari pulsanti/parametri della penna e della tavoletta).

Ed ecco il problema: Ubuntu riconosceva la tavoletta grafica solo come secondo schermo, non riconoscendo la penna e il suo utilizzo.

In lsusb la tavoletta viene correttamente rilevata; in Impostazioni di Sistema la tavoletta non veniva rilevata, nè sulla sezione mouse e touchpad nè sulla sezione tavoletta wacom; se aprivo il programmino scaricato dal sito XP Pen, la tavoletta veniva correttamente rilevata e consentiva di impostare le varie opzioni.

Premetto che non sono un programmatore e quindi quanto di seguito scritto può essere impreciso, io lo scrivo come l'ho capito, mi perdonerete gli errori.
Ho iniziato a googolare un po' e ho letto diverse pagine web sull'argomento (spesso su altre tavolette), ed infine ho incominciato a pensare che il problema potesse essere il riconoscimento della tavoletta/penna come input per il pc, come accade per i mouse e i touchpad.
Ho provato la tavoletta grafica su Ubuntu Unity 20.04.1 in live (confidando sul maggior numero di moduli che vengono caricati sulle live onde consentire la maggior compatibilità possibile con l'hardware a disposizione) e la tavoletta grafica e la penna venivano riconosciuti ed erano perfettamente funzionanti. Ho dunque copiato (usando il comando dmesg) la configurazione che era avvenuta in live per guardarla con attenzione:
Codice:
[   143.330] (II) config/udev: Adding input device UGTABLET 11.6 inch PenDisplay Mouse (/dev/input/mouse1)
[   143.330] (II) No input driver specified, ignoring this device.
[   143.330] (II) This device may have been added with another device file.
[   143.337] (II) config/udev: Adding input device UGTABLET 11.6 inch PenDisplay (/dev/input/mouse2)
[   143.337] (II) No input driver specified, ignoring this device.
[   143.337] (II) This device may have been added with another device file.
[   143.372] (II) config/udev: Adding input device UGTABLET 11.6 inch PenDisplay Mouse (/dev/input/event18)
[   143.372] (**) UGTABLET 11.6 inch PenDisplay Mouse: Applying InputClass "libinput pointer catchall"
[   143.372] (II) Using input driver 'libinput' for 'UGTABLET 11.6 inch PenDisplay Mouse'
[   143.372] (**) UGTABLET 11.6 inch PenDisplay Mouse: always reports core events
[   143.372] (**) Option "Device" "/dev/input/event18"
[   143.372] (**) Option "_source" "server/udev"
[   143.394] (II) event18 - UGTABLET 11.6 inch PenDisplay Mouse: is tagged by udev as: Mouse
[   143.394] (II) event18 - UGTABLET 11.6 inch PenDisplay Mouse: device is a pointer
[   143.394] (II) event18 - UGTABLET 11.6 inch PenDisplay Mouse: device removed
[   143.517] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:28BD:091F.0004/input/input21/event18"
[   143.517] (II) XINPUT: Adding extended input device "UGTABLET 11.6 inch PenDisplay Mouse" (type: MOUSE, id 15)
[   143.518] (**) Option "AccelerationScheme" "none"
[   143.518] (**) UGTABLET 11.6 inch PenDisplay Mouse: (accel) selected scheme none/0
[   143.518] (**) UGTABLET 11.6 inch PenDisplay Mouse: (accel) acceleration factor: 2.000
[   143.518] (**) UGTABLET 11.6 inch PenDisplay Mouse: (accel) acceleration threshold: 4
[   143.523] (II) event18 - UGTABLET 11.6 inch PenDisplay Mouse: is tagged by udev as: Mouse
[   143.523] (II) event18 - UGTABLET 11.6 inch PenDisplay Mouse: device is a pointer
[   143.527] (II) config/udev: Adding input device UGTABLET 11.6 inch PenDisplay Keyboard (/dev/input/event19)
[   143.527] (**) UGTABLET 11.6 inch PenDisplay Keyboard: Applying InputClass "libinput keyboard catchall"
[   143.527] (II) Using input driver 'libinput' for 'UGTABLET 11.6 inch PenDisplay Keyboard'
[   143.527] (**) UGTABLET 11.6 inch PenDisplay Keyboard: always reports core events
[   143.527] (**) Option "Device" "/dev/input/event19"
[   143.527] (**) Option "_source" "server/udev"
[   143.531] (II) event19 - UGTABLET 11.6 inch PenDisplay Keyboard: is tagged by udev as: Keyboard
[   143.531] (II) event19 - UGTABLET 11.6 inch PenDisplay Keyboard: device is a keyboard
[   143.531] (II) event19 - UGTABLET 11.6 inch PenDisplay Keyboard: device removed
[   143.557] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:28BD:091F.0004/input/input22/event19"
[   143.557] (II) XINPUT: Adding extended input device "UGTABLET 11.6 inch PenDisplay Keyboard" (type: KEYBOARD, id 16)
[   143.557] (**) Option "xkb_model" "pc105"
[   143.557] (**) Option "xkb_layout" "it"
[   143.557] (WW) Option "xkb_variant" requires a string value
[   143.557] (WW) Option "xkb_options" requires a string value
[   143.562] (II) event19 - UGTABLET 11.6 inch PenDisplay Keyboard: is tagged by udev as: Keyboard
[   143.562] (II) event19 - UGTABLET 11.6 inch PenDisplay Keyboard: device is a keyboard
[   143.565] (II) config/udev: Adding input device UGTABLET 11.6 inch PenDisplay (/dev/input/event20)
[   143.565] (**) UGTABLET 11.6 inch PenDisplay: Applying InputClass "libinput tablet catchall"
[   143.565] (II) Using input driver 'libinput' for 'UGTABLET 11.6 inch PenDisplay'
[   143.565] (**) UGTABLET 11.6 inch PenDisplay: always reports core events
[   143.565] (**) Option "Device" "/dev/input/event20"
[   143.565] (**) Option "_source" "server/udev"
[   143.648] (II) event20 - UGTABLET 11.6 inch PenDisplay: is tagged by udev as: Tablet
[   143.678] (II) event20 - UGTABLET 11.6 inch PenDisplay: tablet 'UGTABLET 11.6 inch PenDisplay' unknown to libwacom
[   143.678] (II) event20 - UGTABLET 11.6 inch PenDisplay: device is a tablet
[   143.678] (II) event20 - UGTABLET 11.6 inch PenDisplay: device removed
[   143.729] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:28BD:091F.0005/input/input23/event20"
[   143.729] (II) XINPUT: Adding extended input device "UGTABLET 11.6 inch PenDisplay" (type: TABLET, id 17)
[   143.793] (II) event20 - UGTABLET 11.6 inch PenDisplay: is tagged by udev as: Tablet
[   143.794] (II) event20 - UGTABLET 11.6 inch PenDisplay: tablet 'UGTABLET 11.6 inch PenDisplay' unknown to libwacom
[   143.795] (II) event20 - UGTABLET 11.6 inch PenDisplay: device is a tablet
[   217.326] (II) libinput: UGTABLET 11.6 inch PenDisplay: needs a virtual subdevice
[   217.326] (**) UGTABLET 11.6 inch PenDisplay Pen (0): Applying InputClass "libinput tablet catchall"
[   217.326] (II) Using input driver 'libinput' for 'UGTABLET 11.6 inch PenDisplay Pen (0)'
[   217.326] (**) UGTABLET 11.6 inch PenDisplay Pen (0): always reports core events
[   217.326] (**) Option "Device" "/dev/input/event20"
[   217.326] (**) Option "_source" "_driver/libinput"
[   217.326] (II) libinput: UGTABLET 11.6 inch PenDisplay Pen (0): is a virtual subdevice
[   217.326] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:28BD:091F.0005/input/input23/event20"
[   217.326] (II) XINPUT: Adding extended input device "UGTABLET 11.6 inch PenDisplay Pen (0)" (type: STYLUS, id 18)
[   217.327] (**) Option "AccelerationScheme" "none"
[   217.328] (**) UGTABLET 11.6 inch PenDisplay Pen (0): (accel) selected scheme none/0
[   217.328] (**) UGTABLET 11.6 inch PenDisplay Pen (0): (accel) acceleration factor: 2.000
[   217.328] (**) UGTABLET 11.6 inch PenDisplay Pen (0): (accel) acceleration threshold: 4

Quindi mi sono concentrato sui processi xinput e udev e sul modulo/pacchetto libinput e ho iniziato a googolare un po' e poi a cercare su synaptic dei possibili pacchetti e infine ho installato i seguenti pacchetti:

libinput-pad-xtest
libinput-pad1
libinput-tools
python3-libevdev
python3-pyudev
hdmi2usb-udev
xserver-xorg-input-evdev
xbindkeys
easystroke
libboost-serialization1.71.0


Preciso che non sono sicuro che servano tutti, anzi probabilmente qualcuno di questi è inutile allo scopo (penso a hdmi2usb) o superfluo (penso a xbindkeys e ad easystroke), ma in ogni caso al successivo riavvio la tavoletta grafica e la penna venivano riconosciuti e funzionano correttamente.

Spero che questa discussione possa essere d'aiuto a qualcuno.

Saluti
Scusate il ritardo... 
Usate l'errore come chiave di ricerca su Google
Prof Antonio, quanto ci manchi...   0038


Vai al forum:


Utenti che stanno guardando questa discussione: 1 Ospite(i)