06 Apr, 2017

1 commit


19 Sep, 2016

7 commits

  • Add support for the third version of UC-Logic TWHA60, which has
    three interfaces and responds to initialization.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Make uclogic_report_fixup override constant descriptors with generated
    descriptors, so models reusing product ID, but working with generated
    descriptor get correct one.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Add partial support for the UGTizer GP0610 tablet (aka iBall PF1064U,
    aka UGTizer GT1060) to the hid-uclogic.c driver.

    The pen input is supported fully, but frame buttons and wheel don't work
    yet.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Add more product IDs to hid-uclogic.c driver to support several more
    tablet models, including:

    UC-Logic DrawImage G3
    aka Ugee G3
    UC-Logic SP1001
    aka Ugee SP1001
    aka Yiynova UC-Logic SP-1001
    Ugee 1000L
    Ugee M708
    Yiynova DP10U
    aka Yiynova DP10U+
    Yiynova MSP19U
    Yiynova MSP19U+
    Yiynova MVP10U
    aka Yiynova MVP10U IPS
    Yiynova MVP10UHD+IPS
    Yiynova MVP22U+

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Based on a patch from: Nikolai Kondrashov

    Enable abstract keyboard mode for Huion tablets, which makes them report
    frame buttons using the pen interface and report ID. Divert these
    reports to a virtual report ID describing them.

    This makes the tablet compatible with xf86-input-wacom and libinput,
    but stops the frame buttons from reporting keyboard events.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • Remove unnecessary allocation failure messages from hid-uclogic.c,
    following the checkpatch.pl recommendations.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Remove comments with broken links to tablet descriptions from
    hid-kye/uclogic/waltop drivers.

    They pointed to now dead DIGImend project wiki at sf.net. Even though
    the DIGImend project still hosts descriptions, now at
    digimend.github.io, it's better to avoid them going stale again, and let
    anyone interested search the web instead.

    Signed-off-by: Nikolai Kondrashov
    Reviewed-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

06 Nov, 2015

1 commit

  • When configuring input device via input_configured callback we may
    encounter errors (for example input_mt_init_slots() may fail). Instead
    of continuing with half-initialized input device let's allow driver
    indicate failures.

    Signed-off-by: Jaikumar Ganesh
    Signed-off-by: Arve Hjønnevåg
    Reviewed-by: Benjamin Tissoires
    Reviewed-by: David Herrmann
    Acked-by: Nikolai Kondrashov
    Acked-by: Andrew Duggan
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Jiri Kosina

    Dmitry Torokhov
     

29 Jul, 2015

1 commit


16 Mar, 2015

1 commit


04 Mar, 2015

6 commits

  • This hack is only needed for Huion tablets. It does not seem to have
    any effect on the other tablets handled by this device right now, but
    it's better to check for the product id sooner than discovering that
    we have messed up one tablet later.

    Signed-off-by: Benjamin Tissoires
    Reviewed-by: Nikolai Kondrashov
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • Some Huion tablets present 2 HID Pen interfaces. Only one is used, so
    we can drop the unused one.

    Reviewed-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • NO_EMPTY_INPUT is useful when MULTI_INPUT is set. It prevents to create
    empty input nodes that user space does not know what to do with.

    It does not seem to be required at the moment, this is just a preventive
    patch. This check is only made during the plug of the device, so it does
    not hurt to have it.

    Reviewed-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • We append "Pen", "Pad", "Mouse", "Keyboard", "Consumer Control" or
    "System Control" suffix to the appropriate input node to match what
    the Wacom driver does and be more convenient for the user to know
    which one is which.

    Reviewed-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     
  • Merge the hid-huion driver into hid-uclogic as all the devices supported
    by hid-huion are in fact UC-Logic devices.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     
  • Based on a patch from: Nikolai Kondrashov

    Most of the tablets handled by hid-uclogic already use MULTI_INPUT.
    For the ones which are not quirked in usbhid/hidquirks, they have a
    custom report descriptor which contains only one report per HID
    interface. For those tablets HID_QUIRK_MULTI_INPUT is transparent.

    According to https://github.com/DIGImend/tablets, the only problematic
    tablet currently handled by hid-uclogic is the TWHA60 v3. This tablet
    presents different report descriptors from the ones currently quirked.
    This is not a problem per se, given that this tablet is not supported
    currently in this version (it needs the same command as a Huion to
    start forwarding events).

    Reviewed-by: Nikolai Kondrashov
    Signed-off-by: Benjamin Tissoires
    Signed-off-by: Jiri Kosina

    Benjamin Tissoires
     

03 Jan, 2013

1 commit

  • Use the new module_hid_driver macro in all HID drivers that have
    a simple register/unregister init/exit.

    This also converts the hid drivers that test for a failure of
    hid_register_driver() and report the failure. Using module_hid_driver
    in those drivers removes the failure message.

    Signed-off-by: H Hartley Sweeten
    Signed-off-by: Jiri Kosina

    H Hartley Sweeten
     

27 Aug, 2012

1 commit

  • Add support for UC-Logic Tablet TWHA60.
    It is known to be sold as Genius EasyPen M610 and Monoprice MP1060-HA60.

    As this tablet has several variations with different number and different
    assignments of frame buttons, they are simply mapped to F1-F24 range and are
    left for users to remap in userspace.

    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

15 May, 2012

1 commit

  • Add support for UC-Logic Wireless Tablet TWHL850.
    It is known to be sold as Genius MousePen M508W.

    This tablet has a bug in the default (compatibility) mode which is used in this
    driver: frame button assignments are mixed up. This is to be fixed with a driver
    supporting the vendor-specific protocol.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov
     

06 Mar, 2012

1 commit


11 Jul, 2011

1 commit


23 Aug, 2010

2 commits


10 Aug, 2010

1 commit

  • Add support for UC-Logic WP4030U, WP5540U and WP8060U tablets.
    These tablets are usually sold by Genius, Trust and possibly others under
    different names and in different cases, but with the original USB
    vendor/product IDs.

    Currently, these tablets are supported by standalone X.org driver WizardPen.
    This patch aims to fix them in the kernel and make them supported by the
    generic evdev X.org driver. Still, some minor fixes in the X.org driver are
    to be made for the full stack support.

    Signed-off-by: Nikolai Kondrashov
    Signed-off-by: Jiri Kosina

    Nikolai Kondrashov