From owner-freebsd-questions@freebsd.org Wed Mar 11 02:26:57 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AAEF62779ED for ; Wed, 11 Mar 2020 02:26:57 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48cbSc5Zfjz4PS2 for ; Wed, 11 Mar 2020 02:26:56 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: by mail-vk1-xa42.google.com with SMTP id w4so110557vkd.5 for ; Tue, 10 Mar 2020 19:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zh68Kt0jXCUGkctkrMwNSGSoy72TAwQhZkaRI2mP4Vk=; b=HAdxrLOCEvXxb0pTmuOpyed8OCBR/Jg+8ULaJ+sm9OvVQZ1XcFen7/+Sq35mr7BVde F6A1erX0QPihYZOeMRoqu1h50D9dohDIGXk/TOByqwlhFb0BCyg/0oyuQnCuDNsUOOtE QYc0OpZk88+egkvstOBaNmchm5c9Z938xUITLL/Tuhdmi5FIsMNdv5JsJ4U9p/J6uID+ ib+QgHMIhxSwmrHRH2rlGDJFog3ouKYiNjvqWTBov+D28Re/cHVrqnXu5QJ+c4lEftZ7 iBoAxbeViF+6LY0ToKl0TvMJFfcmDBvrwzR9xoIY9S6zXaTXuhPZRiymhhf0ERYYDAEu T9gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zh68Kt0jXCUGkctkrMwNSGSoy72TAwQhZkaRI2mP4Vk=; b=Yo/i3qC1a0qybCg+UXom3RVTeTL9VOl9jXoitg/Vl4r/y/0DoD8bUYnW6li0E+5Wuy p9efNPVIHpDcuJwJyHsXIrykUgjoM4lbFZHSXZ1PA9oeS0Ltexcc25/T9yKeA3s1EYNQ j2PfMdq63ETY5lWK2J8F7wmez0WR2o7SiayqEsjnycAK4wxDCvltHDfeSj1eCEVFteyf zbtUJQx66SnKunzYkZanciwxzndHUh3u8/YNq9yLAMXRgzJajG3BTaCBq/+abL6u+FaQ y0hM45uA2hQ0OPb2IvYdAXzklJzBHRZEn2TD/Zm4OxleXnsougVl+KbtaynD2B7ru4mf meJg== X-Gm-Message-State: ANhLgQ3+P5XnnZL4vVtYJofPdE2CGinW5vZ4eciyTgpbnx6cwtMJGArm 7/OvQmWADGiGFlvoquud20rtkS0kJ3TQK6SgwnFYGaPckQPJAA== X-Google-Smtp-Source: ADFU+vuIWtcXPnQ1N275IjoXq9Ac2C7UeDIHF9osSnvBACV9eHYHe9MLhM9cawdZUGI199X3sXvY03YizdSMBfs5u+o= X-Received: by 2002:a1f:2543:: with SMTP id l64mr688832vkl.69.1583893615195; Tue, 10 Mar 2020 19:26:55 -0700 (PDT) MIME-Version: 1.0 From: Waitman Gobble Date: Tue, 10 Mar 2020 22:26:43 -0400 Message-ID: Subject: Huion drawing pad To: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48cbSc5Zfjz4PS2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HAdxrLOC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gobblewa@gmail.com designates 2607:f8b0:4864:20::a42 as permitted sender) smtp.mailfrom=gobblewa@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (2.18), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2020 02:26:57 -0000 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: on usbus0 ums2 on uhub2 ums2: 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