Huion drawing pad

Waitman Gobble gobble.wa at gmail.com
Wed Mar 11 02:26:57 UTC 2020


Working on getting a Huion drawing pad working on a laptop.

# uname -a
FreeBSD ayo 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

I followed the directions at:
https://wiki.freebsd.org/WacomTablet

Any pointers on getting this working? It seems the device is added to
/dev/input/event* and also /dev/ums1, /dev/ums2.  If I add to Xorg
manually, ie.

Section "InputDevice"
        Identifier      "Huion on wacom pad"
        Driver          "wacom"
        Option          "Type"                  "pad"
        Option          "Device"                "/dev/input/event7"
        Option          "AutoServerLayout"      "true"

It appears to add it in Xorg log, and It shows up "sometimes" in
programs like GIMP but doesn't actually work. Without the manual
config it doesn't appear in xorg log. But I think it's supposed to
used devd/HAL anyway, without any config.

using 'event7' isn't ideal but the # changes on reboot anyway.

If I change the device to /dev/ums1 and 2 then Xorg log:

Huion on wacom pad: Error opening /dev/ums2 (Device busy)

This device works when plugged into a debian laptop.




dmesg:

ums1 on uhub2
ums1: <HUION Huion Tablet, class 0/0, rev 2.00/1.00, addr 3> on usbus0
ums2 on uhub2
ums2: <HUION Huion Tablet, class 0/0, rev 2.00/1.00, addr 3> on usbus0


hal-device:

32: udi = '/org/freedesktop/Hal/devices/usb_device_256c_6d_noserial_if1'
  info.vendor = 'HUION'  (string)
  freebsd.driver = 'ums'  (string)
  freebsd.unit = 2  (0x2)  (int)
  freebsd.device_file = '/dev/ums2'  (string)
  info.capabilities = { 'input', 'input.mouse' } (string list)
  info.category = 'input'  (string)
  input.device = '/dev/sysmouse'  (string)
  info.addons = { 'hald-addon-mouse-sysmouse' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_256c_6d_noserial_if1'
 (string)
  info.subsystem = 'usb'  (string)
  info.product = 'Huion Tablet'  (string)
  info.bus = 'usb'  (string)


33: udi = '/org/freedesktop/Hal/devices/usb_device_256c_6d_noserial_if0'
  info.vendor = 'HUION'  (string)
  freebsd.driver = 'ums'  (string)
  freebsd.unit = 1  (0x1)  (int)
  freebsd.device_file = '/dev/ums1'  (string)
  info.capabilities = { 'input', 'input.mouse' } (string list)
  info.category = 'input'  (string)
  input.device = '/dev/sysmouse'  (string)
  info.addons = { 'hald-addon-mouse-sysmouse' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_256c_6d_noserial_if0'
 (string)
  info.subsystem = 'usb'  (string)
  info.product = 'Huion Tablet'  (string)



libinput list-devices

Device:           HUION Huion Tablet, class 0/0, rev 2.00/1.00, addr 3
Kernel:           /dev/input/event7
Group:            8
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a




Xorg.0.log:

19.227] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[    19.227] (**) sysmouse: (accel) keeping acceleration scheme 1
[    19.227] (**) sysmouse: (accel) acceleration profile 0
[    19.227] (**) sysmouse: (accel) acceleration factor: 2.000
[    19.227] (**) sysmouse: (accel) acceleration threshold: 4
[    19.227] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[    19.227] (II) sysmouse: SetupAuto: protocol is SysMouse
[    19.227] (II) config/devd: device /dev/ums0 already opened
[    19.227] (II) config/devd: device /dev/ums1 already opened
[    19.227] (II) config/devd: device /dev/ums2 already opened
[    19.282] (II) config/devd: adding input device Mouse (/dev/psm0)
[    19.282] (II) Using input driver 'mouse' for 'Mouse'




libinput list-devices


Device:           HUION Huion Tablet, class 0/0, rev 2.00/1.00, addr 3
Kernel:           /dev/input/event7
Group:            8
Seat:             seat0, default
Capabilities:     pointer
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a



-- 
Waitman Gobble


More information about the freebsd-questions mailing list