Подключение графического планшета huion NEW 1060PLUS(8192)

Автор kulachmetov, 17 июля 2017, 12:15:28

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

kulachmetov

Не могу заставить работать графический планшет в debian 9+gnome.Ноутбук msi ge-60, драйвера на видеокарту nvidea+optimus/primus. Разница с hhuion h610PRO в чувствительности 8192 против 2048 и количестве кнопок. :(
uname -r
Открыть содержимое (спойлер)

uname -r
4.9.0-3-amd64
[свернуть]
lsusb
Открыть содержимое (спойлер)

lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 004: ID 256c:006e 
Bus 001 Device 003: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[свернуть]
grep -i name /proc/bus/input/devices
Открыть содержимое (спойлер)
grep -i name /proc/bus/input/devices
N: Name="AT Translated Set 2 keyboard"
N: Name="ETPS/2 Elantech Touchpad"
N: Name="Lid Switch"
N: Name="Power Button"
N: Name="Power Button"
N: Name="PC Speaker"
N: Name="MSI WMI hotkeys"
N: Name="Video Bus"
N: Name="Video Bus"
N: Name="HDA Digital PCBeep"
N: Name="HDA Intel PCH Mic"
N: Name="HDA Intel PCH Headphone"
N: Name="HDA Intel PCH HDMI/DP,pcm=3"
N: Name="HID 256c:006e Pen"
N: Name="HID 256c:006e Pad"
[свернуть]
dmesg | grep uclogic
Открыть содержимое (спойлер)

[    3.035981] uclogic 0003:256C:006E.0001: input,hidraw0: USB HID v1.11 Keypad [HID 256c:006e] on usb-0000:00:1a.0-1.2.1/input0
[    3.036062] uclogic 0003:256C:006E.0002: No inputs registered, leaving
[    3.036098] uclogic 0003:256C:006E.0002: hidraw1: USB HID v1.11 Device [HID 256c:006e] on usb-0000:00:1a.0-1.2.1/input1
[свернуть]
В gimpe и inkskape как устройство ввода 256c:006e присутствует, но не фунциклирует. Куда копать?
tail -f -n0 /var/log/messages
Открыть содержимое (спойлер)
tail -f -n0 /var/log/messages
Jul 20 02:30:31 offroad kernel: [ 8735.922594] usb 3-1.2: new high-speed USB device number 9 using ehci-pci
Jul 20 02:30:31 offroad kernel: [ 8736.031234] usb 3-1.2: New USB device found, idVendor=058f, idProduct=6254
Jul 20 02:30:31 offroad kernel: [ 8736.031239] usb 3-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jul 20 02:30:31 offroad kernel: [ 8736.031241] usb 3-1.2: Product: USB2.0Hub
Jul 20 02:30:31 offroad kernel: [ 8736.031748] hub 3-1.2:1.0: USB hub found
Jul 20 02:30:31 offroad kernel: [ 8736.031907] hub 3-1.2:1.0: 4 ports detected
Jul 20 02:30:32 offroad kernel: [ 8736.318535] usb 3-1.2.1: new full-speed USB device number 10 using ehci-pci
Jul 20 02:30:32 offroad kernel: [ 8736.477781] usb 3-1.2.1: New USB device found, idVendor=256c, idProduct=006e
Jul 20 02:30:32 offroad kernel: [ 8736.477786] usb 3-1.2.1: New USB device strings: Mfr=5, Product=6, SerialNumber=0
Jul 20 02:30:32 offroad kernel: [ 8736.487773] input: HID 256c:006e Pen as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.1/3-1.2.1:1.0/0003:256C:006E.0005/input/input20
Jul 20 02:30:32 offroad kernel: [ 8736.488191] input: HID 256c:006e Pad as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.1/3-1.2.1:1.0/0003:256C:006E.0005/input/input21
Jul 20 02:30:32 offroad kernel: [ 8736.488579] uclogic 0003:256C:006E.0005: input,hidraw0: USB HID v1.11 Keypad [HID 256c:006e] on usb-0000:00:1a.0-1.2.1/input0
Jul 20 02:30:32 offroad kernel: [ 8736.492643] uclogic 0003:256C:006E.0006: hidraw1: USB HID v1.11 Device [HID 256c:006e] on usb-0000:00:1a.0-1.2.1/input1
Jul 20 02:30:32 offroad kernel: [ 8736.590565] usb 3-1.2.4: new high-speed USB device number 11 using ehci-pci
Jul 20 02:30:32 offroad kernel: [ 8736.701055] usb 3-1.2.4: New USB device found, idVendor=058f, idProduct=6366
Jul 20 02:30:32 offroad kernel: [ 8736.701059] usb 3-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 20 02:30:32 offroad kernel: [ 8736.701062] usb 3-1.2.4: Product: Mass Storage Device
Jul 20 02:30:32 offroad kernel: [ 8736.701064] usb 3-1.2.4: Manufacturer: Generic
Jul 20 02:30:32 offroad kernel: [ 8736.701066] usb 3-1.2.4: SerialNumber: 058F0O1111B1
Jul 20 02:30:32 offroad kernel: [ 8736.701635] usb-storage 3-1.2.4:1.0: USB Mass Storage device detected
Jul 20 02:30:32 offroad kernel: [ 8736.701977] scsi host6: usb-storage 3-1.2.4:1.0
Jul 20 02:30:32 offroad mtp-probe: checking bus 3, device 10: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.1"
Jul 20 02:30:32 offroad mtp-probe: bus: 3, device: 10 was not an MTP device
Jul 20 02:30:32 offroad mtp-probe: checking bus 3, device 11: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.4"
Jul 20 02:30:32 offroad mtp-probe: bus: 3, device: 11 was not an MTP device
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) config/udev: Adding input device HID 256c:006e Pen (/dev/input/mouse1)
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) No input driver specified, ignoring this device.
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) This device may have been added with another device file.
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) config/udev: Adding input device HID 256c:006e Pad (/dev/input/event10)
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pad: Applying InputClass "libinput tablet catchall"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) Using input driver 'libinput' for 'HID 256c:006e Pad'
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 46 paused 0
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pad: always reports core events
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "Device" "/dev/input/event10"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "_source" "server/udev"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pad', /dev/input/event10 is tagged by udev as: Tablet TabletPad
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) HID 256c:006e Pad: tablet unknown to libwacom
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pad', /dev/input/event10 is a tablet pad
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.1/3-1.2.1:1.0/0003:256C:006E.0005/input/input21/event10"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) XINPUT: Adding extended input device "HID 256c:006e Pad" (type: PAD, id 10)
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "AccelerationScheme" "none"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pad: (accel) selected scheme none/0
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pad: (accel) acceleration factor: 2.000
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pad: (accel) acceleration threshold: 4
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pad', /dev/input/event10 is tagged by udev as: Tablet TabletPad
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) HID 256c:006e Pad: tablet unknown to libwacom
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pad', /dev/input/event10 is a tablet pad
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) config/udev: Adding input device HID 256c:006e Pen (/dev/input/event9)
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pen: Applying InputClass "libinput tablet catchall"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) Using input driver 'libinput' for 'HID 256c:006e Pen'
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 57 paused 0
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) HID 256c:006e Pen: always reports core events
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "Device" "/dev/input/event9"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "_source" "server/udev"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pen', /dev/input/event9 is tagged by udev as: Tablet
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) HID 256c:006e Pen: tablet unknown to libwacom
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pen', /dev/input/event9 is a tablet
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2.1/3-1.2.1:1.0/0003:256C:006E.0005/input/input20/event9"
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) XINPUT: Adding extended input device "HID 256c:006e Pen" (type: TABLET, id 11)
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pen', /dev/input/event9 is tagged by udev as: Tablet
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) HID 256c:006e Pen: tablet unknown to libwacom
Jul 20 02:30:32 offroad /usr/lib/gdm3/gdm-x-session[1221]: (II) input device 'HID 256c:006e Pen', /dev/input/event9 is a tablet
Jul 20 02:30:33 offroad kernel: [ 8737.715834] scsi 6:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
Jul 20 02:30:33 offroad kernel: [ 8737.716629] sd 6:0:0:0: Attached scsi generic sg3 type 0
Jul 20 02:30:34 offroad kernel: [ 8738.692316] sd 6:0:0:0: [sdc] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
Jul 20 02:30:34 offroad kernel: [ 8738.693438] sd 6:0:0:0: [sdc] Write Protect is off
Jul 20 02:30:34 offroad kernel: [ 8738.700939]  sdc: sdc1
Jul 20 02:30:34 offroad kernel: [ 8738.704660] sd 6:0:0:0: [sdc] Attached SCSI removable disk
Jul 20 02:30:34 offroad kernel: [ 8738.957083] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[свернуть]
на кнопки планшета реакция есть, а вот на перо как-то странно реагирует. кнопки не срабатывают,
а касание пера дает
Открыть содержимое (спойлер)
Jul 20 02:31:51 offroad kernel: [ 8815.838136] usb 3-1.2.1: input irq status -75 received
Jul 20 02:31:51 offroad kernel: [ 8815.844130] usb 3-1.2.1: input irq status -75 received
Jul 20 02:31:51 offroad kernel: [ 8815.852054] usb 3-1.2.1: input irq status -75 received
Jul 20 02:31:51 offroad kernel: [ 8815.858136] usb 3-1.2.1: input irq status -75 received
Jul 20 02:31:51 offroad kernel: [ 8815.866064] usb 3-1.2.1: input irq status -75 received
[свернуть]
ну и т.д.
После редактирования файла /usr/share/X11/xorg.conf.d/50-huion.conf
Открыть содержимое (спойлер)

# Huion NEW 1060 plus tablets
Section "InputClass"
    Identifier "HID 256c:006e"
    MatchProduct "HID 256c:006e"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
EndSection

Section "InputClass"
    Identifier "HID 256c:006e"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    Option "TopX" "100"
    Option "TopY" "90"
    Option "BottomX" "40000"
    Option "BottomY" "25600"
EndSection
[свернуть]
выдает
xsetwacom --list devices
Открыть содержимое (спойлер)
HID 256c:006e Pen stylus           id: 10   type: STYLUS   
HID 256c:006e Pad pad              id: 11   type: PAD   
[свернуть]
evtest
Открыть содержимое (спойлер)

Available devices:
/dev/input/event0:   AT Translated Set 2 keyboard
/dev/input/event1:   ETPS/2 Elantech Touchpad
/dev/input/event2:   Lid Switch
/dev/input/event3:   Power Button
/dev/input/event4:   Power Button
/dev/input/event5:   PC Speaker
/dev/input/event6:   MSI WMI hotkeys
/dev/input/event7:   Video Bus
/dev/input/event8:   Video Bus
/dev/input/event9:   HDA Digital PCBeep
/dev/input/event10:   HDA Intel PCH Mic
/dev/input/event11:   HDA Intel PCH Headphone
/dev/input/event12:   HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event13:   HID 256c:006e Pen
/dev/input/event14:   HID 256c:006e Pad
Select the device event number [0-14]: 14
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x256c product 0x6e version 0x111
Input device name: "HID 256c:006e Pad"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 256 (BTN_0)
    Event code 257 (BTN_1)
    Event code 258 (BTN_2)
    Event code 259 (BTN_3)
    Event code 260 (BTN_4)
    Event code 261 (BTN_5)
    Event code 262 (BTN_6)
    Event code 263 (BTN_7)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Select the device event number [0-14]: 13
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x256c product 0x6e version 0x111
Input device name: "HID 256c:006e Pen"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 320 (BTN_TOOL_PEN)
    Event code 330 (BTN_TOUCH)
    Event code 331 (BTN_STYLUS)
    Event code 332 (BTN_STYLUS2)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max    40000
      Resolution     157
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max    25000
      Resolution     157
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max     8191
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
[свернуть]
но все равно не работает. Взял для проверки да поставил virtualbox с win7. Заработало только с драйверами с huiontablet.com. На драйверах с huiontab.ru ситуация точь-в-точь, как здесь. индикатор активность показывает и больше ничего.