digimend-devel Mailing List for DIGImend
Brought to you by:
spb_nick
You can subscribe to this list here.
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(8) |
Jun
(27) |
Jul
(54) |
Aug
(54) |
Sep
(13) |
Oct
(20) |
Nov
(7) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(3) |
Feb
(3) |
Mar
(6) |
Apr
(1) |
May
(8) |
Jun
(5) |
Jul
(4) |
Aug
(10) |
Sep
(44) |
Oct
(12) |
Nov
(5) |
Dec
(14) |
2014 |
Jan
(16) |
Feb
(3) |
Mar
(3) |
Apr
(5) |
May
(2) |
Jun
(14) |
Jul
(38) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(38) |
Dec
(31) |
2015 |
Jan
(73) |
Feb
(71) |
Mar
(57) |
Apr
(36) |
May
(33) |
Jun
(20) |
Jul
(4) |
Aug
(5) |
Sep
(1) |
Oct
(11) |
Nov
(2) |
Dec
(6) |
2016 |
Jan
(7) |
Feb
(3) |
Mar
(6) |
Apr
(2) |
May
(7) |
Jun
(5) |
Jul
(3) |
Aug
(5) |
Sep
(5) |
Oct
(8) |
Nov
(13) |
Dec
|
From: Nikolai K. <sp...@gm...> - 2016-11-20 13:28:20
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend.github.io Commit: 6e75908b6d68a7c4600a16da975d27dab1728f55 https://github.com/DIGImend/digimend.github.io/commit/6e75908b6d68a7c4600a16da975d27dab1728f55 Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-11-20 (Sun, 20 Nov 2016) Changed paths: M devel/index.md M support/index.md Log Message: ----------- Remove mention of closing maillists |
From: Nikolai K. <sp...@gm...> - 2016-11-19 19:38:18
|
Hi everyone, I'll be closing both DIGImend-devel and DIGImend-users mailing lists for posting tomorrow. Later I'll download the archives and post them somewhere and then delete the maillists from sourceforge.net. A separate message about that will be sent. Details: http://spbnick.github.io/2016/07/31/Wrapping-up-DIGImend-work.html Nick |
From: Nikolai K. <sp...@gm...> - 2016-11-19 16:58:52
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend-kernel-drivers Commit: 9b974adbe7f5f7bb70046f7ff707ca34e8625ded https://github.com/DIGImend/digimend-kernel-drivers/commit/9b974adbe7f5f7bb70046f7ff707ca34e8625ded Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-11-19 (Sat, 19 Nov 2016) Changed paths: M hid-uclogic.c Log Message: ----------- uclogic: Rename hardware probing functions Rename uclogic_tablet/button_enable functions to uclogic_probe_tablet/buttons to show they're a part of probing, and also to make space for functions doing enabling only, which are to be used by resume function. Commit: 48c8058df02504ec5446da93f1959436217cf4ea https://github.com/DIGImend/digimend-kernel-drivers/commit/48c8058df02504ec5446da93f1959436217cf4ea Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-11-19 (Sat, 19 Nov 2016) Changed paths: M hid-uclogic.c Log Message: ----------- uclogic: Extract uclogic_enable_tablet/buttons Extract the tablet and buttons enabling code from uclogic_probe_tablet/buttons functions into functions named uclogic_enable_tablet/buttons to allow reuse from the resume function. Commit: 07bd4728189baa26db9c8706adc70cd0147f0369 https://github.com/DIGImend/digimend-kernel-drivers/commit/07bd4728189baa26db9c8706adc70cd0147f0369 Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-11-19 (Sat, 19 Nov 2016) Changed paths: M hid-uclogic.c Log Message: ----------- uclogic: Re-enable tablet and buttons on resume Re-enable fully-functional mode of both UC-Logic tablet and buttons on resume, if they were enabled on probe, because at least some UC-Logic tablets reset themselves on suspend and resume cycle. Compare: https://github.com/DIGImend/digimend-kernel-drivers/compare/acdd0702b5f1...07bd4728189b |
From: Rüdiger S. <r.s...@go...> - 2016-11-09 14:05:10
|
Hi Jiri, there was a leading whitespace error in the patch, should work now Thanks Rüdiger ------- commit 071466d6ff83bb905d4130ef122036165690f03f Author: Rüdiger Schneider <r.s...@go...> Date: Wed Nov 9 14:10:02 2016 +0100 Replace report descriptor to make the 2 stylus buttons report button presses correctly; without this change, both stylus button incorrectly report the same event. diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 2b89c70..89372ed 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2102,6 +2102,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_Q_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 575aa65..093986f 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1030,6 +1030,7 @@ #define USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH 0x0034 #define USB_DEVICE_ID_WALTOP_Q_PAD 0x0037 #define USB_DEVICE_ID_WALTOP_PID_0038 0x0038 +#define USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH 0x0047 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH 0x0501 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH 0x0500 #define USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET 0x0502 diff --git a/drivers/hid/hid-waltop.c b/drivers/hid/hid-waltop.c index a91aabe..27b6865 100644 --- a/drivers/hid/hid-waltop.c +++ b/drivers/hid/hid-waltop.c @@ -248,6 +248,55 @@ static __u8 pid_0038_rdesc_fixed[] = { 0xC0 /* End Collection */ }; +/* Size of the original report descriptor of tablet with PID 0047 */ +#define MARS_A_12_1_INCH_RDESC_ORIG_SIZE 269 + +/* Fixed Mars A 12.1 inch descriptor */ +static __u8 mars_a_12_1_inch_rdesc_fixed[] = { + 0x05, 0x0D, /* Usage Page (Digitizer), */ + 0x09, 0x02, /* Usage (Pen), */ + 0xA1, 0x01, /* Collection (Application), */ + 0x85, 0x10, /* Report ID (16), */ + 0x09, 0x20, /* Usage (Stylus), */ + 0xA0, /* Collection (Physical), */ + 0x09, 0x42, /* Usage (Tip Switch), */ + 0x09, 0x44, /* Usage (Barrel Switch), */ + 0x09, 0x46, /* Usage (Tablet Pick), */ + 0x15, 0x01, /* Logical Minimum (1), */ + 0x25, 0x03, /* Logical Maximum (3), */ + 0x75, 0x04, /* Report Size (4), */ + 0x95, 0x01, /* Report Count (1), */ + 0x80, /* Input, */ + 0x09, 0x32, /* Usage (In Range), */ + 0x14, /* Logical Minimum (0), */ + 0x25, 0x01, /* Logical Maximum (1), */ + 0x75, 0x01, /* Report Size (1), */ + 0x95, 0x01, /* Report Count (1), */ + 0x81, 0x02, /* Input (Variable), */ + 0x95, 0x03, /* Report Count (3), */ + 0x81, 0x03, /* Input (Constant, Variable), */ + 0x75, 0x10, /* Report Size (16), */ + 0x95, 0x01, /* Report Count (1), */ + 0x14, /* Logical Minimum (0), */ + 0xA4, /* Push, */ + 0x05, 0x01, /* Usage Page (Desktop), */ + 0x65, 0x13, /* Unit (Inch), */ + 0x55, 0xFD, /* Unit Exponent (-3), */ + 0x34, /* Physical Minimum (0), */ + 0x09, 0x30, /* Usage (X), */ + 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ + 0x81, 0x02, /* Input (Variable), */ + 0x09, 0x31, /* Usage (Y), */ + 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ + 0x81, 0x02, /* Input (Variable), */ + 0xB4, /* Pop, */ + 0x09, 0x30, /* Usage (Tip Pressure), */ + 0x26, 0xFF, 0x07, /* Logical Maximum (2047) */ + 0x81, 0x02, /* Input (Variable), */ + 0xC0, /* End Collection, */ + 0xC0 /* End Collection */ +}; + /* Size of the original report descriptor of Media Tablet 10.6 inch */ #define MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE 300 @@ -630,6 +679,12 @@ static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, *rsize = sizeof(pid_0038_rdesc_fixed); } break; + case USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH: + if (*rsize == MARS_A_12_1_INCH_RDESC_ORIG_SIZE) { + rdesc = mars_a_12_1_inch_rdesc_fixed; + *rsize = sizeof(mars_a_12_1_inch_rdesc_fixed); + } + break; case USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH: if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { rdesc = media_tablet_10_6_inch_rdesc_fixed; @@ -728,6 +783,8 @@ static const struct hid_device_id waltop_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, + USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
From: Rüdiger S. <r.s...@go...> - 2016-11-09 13:32:12
|
Hi Jiri, ok corrected the patch, hope it workas now Thanks Rüdiger ------- commit 071466d6ff83bb905d4130ef122036165690f03f Author: Rüdiger Schneider <r.s...@go...> Date: Wed Nov 9 14:10:02 2016 +0100 Replace report descriptor to make the 2 stylus buttons report button presses correctly; without this change, both stylus button incorrectly report the same event. diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 2b89c70..89372ed 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2102,6 +2102,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_Q_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 575aa65..093986f 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -1030,6 +1030,7 @@ #define USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH 0x0034 #define USB_DEVICE_ID_WALTOP_Q_PAD 0x0037 #define USB_DEVICE_ID_WALTOP_PID_0038 0x0038 +#define USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH 0x0047 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH 0x0501 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH 0x0500 #define USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET 0x0502 diff --git a/drivers/hid/hid-waltop.c b/drivers/hid/hid-waltop.c index a91aabe..27b6865 100644 --- a/drivers/hid/hid-waltop.c +++ b/drivers/hid/hid-waltop.c @@ -248,6 +248,55 @@ static __u8 pid_0038_rdesc_fixed[] = { 0xC0 /* End Collection */ }; +/* Size of the original report descriptor of tablet with PID 0047 */ +#define MARS_A_12_1_INCH_RDESC_ORIG_SIZE 269 + +/* Fixed Mars A 12.1 inch descriptor */ +static __u8 mars_a_12_1_inch_rdesc_fixed[] = { + 0x05, 0x0D, /* Usage Page (Digitizer), */ + 0x09, 0x02, /* Usage (Pen), */ + 0xA1, 0x01, /* Collection (Application), */ + 0x85, 0x10, /* Report ID (16), */ + 0x09, 0x20, /* Usage (Stylus), */ + 0xA0, /* Collection (Physical), */ + 0x09, 0x42, /* Usage (Tip Switch), */ + 0x09, 0x44, /* Usage (Barrel Switch), */ + 0x09, 0x46, /* Usage (Tablet Pick), */ + 0x15, 0x01, /* Logical Minimum (1), */ + 0x25, 0x03, /* Logical Maximum (3), */ + 0x75, 0x04, /* Report Size (4), */ + 0x95, 0x01, /* Report Count (1), */ + 0x80, /* Input, */ + 0x09, 0x32, /* Usage (In Range), */ + 0x14, /* Logical Minimum (0), */ + 0x25, 0x01, /* Logical Maximum (1), */ + 0x75, 0x01, /* Report Size (1), */ + 0x95, 0x01, /* Report Count (1), */ + 0x81, 0x02, /* Input (Variable), */ + 0x95, 0x03, /* Report Count (3), */ + 0x81, 0x03, /* Input (Constant, Variable), */ + 0x75, 0x10, /* Report Size (16), */ + 0x95, 0x01, /* Report Count (1), */ + 0x14, /* Logical Minimum (0), */ + 0xA4, /* Push, */ + 0x05, 0x01, /* Usage Page (Desktop), */ + 0x65, 0x13, /* Unit (Inch), */ + 0x55, 0xFD, /* Unit Exponent (-3), */ + 0x34, /* Physical Minimum (0), */ + 0x09, 0x30, /* Usage (X), */ + 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ + 0x81, 0x02, /* Input (Variable), */ + 0x09, 0x31, /* Usage (Y), */ + 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ + 0x81, 0x02, /* Input (Variable), */ + 0xB4, /* Pop, */ + 0x09, 0x30, /* Usage (Tip Pressure), */ + 0x26, 0xFF, 0x07, /* Logical Maximum (2047) */ + 0x81, 0x02, /* Input (Variable), */ + 0xC0, /* End Collection, */ + 0xC0 /* End Collection */ +}; + /* Size of the original report descriptor of Media Tablet 10.6 inch */ #define MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE 300 @@ -630,6 +679,12 @@ static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, *rsize = sizeof(pid_0038_rdesc_fixed); } break; + case USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH: + if (*rsize == MARS_A_12_1_INCH_RDESC_ORIG_SIZE) { + rdesc = mars_a_12_1_inch_rdesc_fixed; + *rsize = sizeof(mars_a_12_1_inch_rdesc_fixed); + } + break; case USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH: if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { rdesc = media_tablet_10_6_inch_rdesc_fixed; @@ -728,6 +783,8 @@ static const struct hid_device_id waltop_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, + USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
From: Jiri K. <ji...@ke...> - 2016-11-08 16:04:17
|
On Tue, 8 Nov 2016, Rüdiger Schneider wrote: > I've used a Debian 4.7 Src Package, but i can apply the patch to the tree you > prefer. Yeah, always please base a patch on a tree that is as close to the tree the patch will be actually applied to as possible. Debian might have applied all sorts of patches to their tree, which is of course absolutely fine, but I have no idea about that, and you are submitting the patch upstream, not to Debian's kernel team. Thanks, -- Jiri Kosina SUSE Labs |
From: Rüdiger S. <r.s...@go...> - 2016-11-08 15:36:23
|
Hi, I've used a Debian 4.7 Src Package, but i can apply the patch to the tree you prefer. I thought it's possible without git for this small patch, mea culpa. At the moment I'm doing a git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git and awaiting your suggestions. Rüdiger Am 08.11.2016 um 15:50 schrieb Jiri Kosina: > On Tue, 8 Nov 2016, Rüdiger Schneider wrote: > >> hope comments are better now and the patch is no more crippled. > > It unfortunately is, somehow your MUA added a leading space to the patch. > Did you even try to apply this using git? > > Also, which tree is this based on? Context in hid-waltop.c file suggests > that there should be context at offset +268 > > /* > * See Media Tablet 10.6 inch description, device and HID report descriptors at > * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_10.6%22 > > but I don't see that in my tree. > > Regarding changelog -- I'd suggest simply something along the lines of > > "Replace report descriptor to make the 2 stylus buttons report button > presses correctly; without this change, both stylus button incorrectly > report the same event." > |
From: Rüdiger S. <r.s...@go...> - 2016-11-08 14:49:06
|
-------- Weitergeleitete Nachricht -------- Betreff: [PATCH] hid-waltop: Add Mars A graphics tablet Datum: Tue, 8 Nov 2016 15:37:29 +0100 Von: Rüdiger Schneider <r.s...@go...> Antwort an: r.s...@go... An: Jiri Kosina <ji...@ke...> Hi Jiri, hope comments are better now and the patch is no more crippled. Rüdiger commit cb6d807eeb3de390d586315377fa8c5f6b5c59f7 Author: Rüdiger Schneider <r.s...@go...> Date: Tue Nov 8 15:26:07 2016 +0100 hid-core.c: Add Mars A ID to hid_have_special_driver array hid-ids.h: Add Mars A ID hid-waltop.c: Add patched report descriptor to make the 2 stylus buttons report button presses correctly Signed-off-by: Rüdiger Schneider <r.s...@go...> diff -uprN linux-source-4.7/drivers/hid/hid-core.c linux-source-4.7-patch/drivers/hid/hid-core.c --- linux-source-4.7/drivers/hid/hid-core.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-core.c 2016-10-26 17:20:54.403803069 +0200 @@ -2087,6 +2087,7 @@ static const struct hid_device_id hid_ha { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_Q_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET) }, diff -uprN linux-source-4.7/drivers/hid/hid-ids.h linux-source-4.7-patch/drivers/hid/hid-ids.h --- linux-source-4.7/drivers/hid/hid-ids.h 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-ids.h 2016-10-22 06:53:52.359242645 +0200 @@ -1009,6 +1009,7 @@ #define USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH 0x0034 #define USB_DEVICE_ID_WALTOP_Q_PAD 0x0037 #define USB_DEVICE_ID_WALTOP_PID_0038 0x0038 +#define USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH 0x0047 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH 0x0501 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH 0x0500 #define USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET 0x0502 diff -uprN linux-source-4.7/drivers/hid/hid-waltop.c linux-source-4.7-patch/drivers/hid/hid-waltop.c --- linux-source-4.7/drivers/hid/hid-waltop.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-waltop.c 2016-11-01 08:40:37.042676691 +0100 @@ -268,6 +268,55 @@ static __u8 pid_0038_rdesc_fixed[] = { 0xC0 /* End Collection */ }; +/* Size of the original report descriptor of tablet with PID 0047 */ +#define MARS_A_12_1_INCH_RDESC_ORIG_SIZE 269 + +/* Fixed Mars A 12.1 inch descriptor */ +static __u8 mars_a_12_1_inch_rdesc_fixed[] = { + 0x05, 0x0D, /* Usage Page (Digitizer), */ + 0x09, 0x02, /* Usage (Pen), */ + 0xA1, 0x01, /* Collection (Application), */ + 0x85, 0x10, /* Report ID (16), */ + 0x09, 0x20, /* Usage (Stylus), */ + 0xA0, /* Collection (Physical), */ + 0x09, 0x42, /* Usage (Tip Switch), */ + 0x09, 0x44, /* Usage (Barrel Switch), */ + 0x09, 0x46, /* Usage (Tablet Pick), */ + 0x15, 0x01, /* Logical Minimum (1), */ + 0x25, 0x03, /* Logical Maximum (3), */ + 0x75, 0x04, /* Report Size (4), */ + 0x95, 0x01, /* Report Count (1), */ + 0x80, /* Input, */ + 0x09, 0x32, /* Usage (In Range), */ + 0x14, /* Logical Minimum (0), */ + 0x25, 0x01, /* Logical Maximum (1), */ + 0x75, 0x01, /* Report Size (1), */ + 0x95, 0x01, /* Report Count (1), */ + 0x81, 0x02, /* Input (Variable), */ + 0x95, 0x03, /* Report Count (3), */ + 0x81, 0x03, /* Input (Constant, Variable), */ + 0x75, 0x10, /* Report Size (16), */ + 0x95, 0x01, /* Report Count (1), */ + 0x14, /* Logical Minimum (0), */ + 0xA4, /* Push, */ + 0x05, 0x01, /* Usage Page (Desktop), */ + 0x65, 0x13, /* Unit (Inch), */ + 0x55, 0xFD, /* Unit Exponent (-3), */ + 0x34, /* Physical Minimum (0), */ + 0x09, 0x30, /* Usage (X), */ + 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ + 0x81, 0x02, /* Input (Variable), */ + 0x09, 0x31, /* Usage (Y), */ + 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ + 0x81, 0x02, /* Input (Variable), */ + 0xB4, /* Pop, */ + 0x09, 0x30, /* Usage (Tip Pressure), */ + 0x26, 0xFF, 0x07, /* Logical Maximum (2047) */ + 0x81, 0x02, /* Input (Variable), */ + 0xC0, /* End Collection, */ + 0xC0 /* End Collection */ +}; + /* * See Media Tablet 10.6 inch description, device and HID report descriptors at * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_10.6%22 @@ -666,6 +715,12 @@ static __u8 *waltop_report_fixup(struct *rsize = sizeof(pid_0038_rdesc_fixed); } break; + case USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH: + if (*rsize == MARS_A_12_1_INCH_RDESC_ORIG_SIZE) { + rdesc = mars_a_12_1_inch_rdesc_fixed; + *rsize = sizeof(mars_a_12_1_inch_rdesc_fixed); + } + break; case USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH: if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { rdesc = media_tablet_10_6_inch_rdesc_fixed; @@ -764,6 +819,8 @@ static const struct hid_device_id waltop { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, + USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
From: Rüdiger S. <r.s...@go...> - 2016-11-08 14:48:10
|
-------- Weitergeleitete Nachricht -------- Betreff: Re: [PATCH] hid-waltop: Add Mars A graphics tablet Datum: Tue, 8 Nov 2016 14:14:18 +0100 (CET) Von: Jiri Kosina <ji...@ke...> An: Rüdiger Schneider <r.s...@go...> Kopie (CC): sp...@gm..., dig...@li... On Wed, 2 Nov 2016, Rüdiger Schneider wrote: > Hi, > > added a little patch to hid-waltop.c for Mars A graphics tablet. > Problem was: > Both stylus buttons report the same event. > Fixed by looking at already fixed Waltop devices report descriptors and > changing them to match the Mars A tablet. Rüdiger, thanks for the patch. Two minor remarks: - the patch has been corrupted (line-wraps, possibly also whitespace damage) by your MUA. Could you please fix that up and resend, so that I could apply it? - while at it, could you please rephrase the changelog a little bit so that it's in line with how usual kernel commit changelog looks like? Thanks, -- Jiri Kosina SUSE Labs |
From: Jiri K. <ji...@ke...> - 2016-11-08 13:36:34
|
On Wed, 2 Nov 2016, Rüdiger Schneider wrote: > Hi, > > added a little patch to hid-waltop.c for Mars A graphics tablet. > Problem was: > Both stylus buttons report the same event. > Fixed by looking at already fixed Waltop devices report descriptors and > changing them to match the Mars A tablet. Rüdiger, thanks for the patch. Two minor remarks: - the patch has been corrupted (line-wraps, possibly also whitespace damage) by your MUA. Could you please fix that up and resend, so that I could apply it? - while at it, could you please rephrase the changelog a little bit so that it's in line with how usual kernel commit changelog looks like? Thanks, -- Jiri Kosina SUSE Labs |
From: Rüdiger S. <r.s...@go...> - 2016-11-02 10:31:47
|
Hi, added a little patch to hid-waltop.c for Mars A graphics tablet. Problem was: Both stylus buttons report the same event. Fixed by looking at already fixed Waltop devices report descriptors and changing them to match the Mars A tablet. Thanks Rüdiger hid-core.c: - Add Mars A ID to "hid_have_special_driver" array hid-ids.h: - Add Mars A ID hid-waltop.c: - Add patched report descriptor to make the 2 stylus buttons report button presses correctly Signed-off-by: Rüdiger Schneider <r.s...@go...> diff -uprN linux-source-4.7/drivers/hid/hid-core.c linux-source-4.7-patch/drivers/hid/hid-core.c --- linux-source-4.7/drivers/hid/hid-core.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-core.c 2016-10-26 17:20:54.403803069 +0200 @@ -2087,6 +2087,7 @@ static const struct hid_device_id hid_ha { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_Q_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET) }, diff -uprN linux-source-4.7/drivers/hid/hid-ids.h linux-source-4.7-patch/drivers/hid/hid-ids.h --- linux-source-4.7/drivers/hid/hid-ids.h 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-ids.h 2016-10-22 06:53:52.359242645 +0200 @@ -1009,6 +1009,7 @@ #define USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH 0x0034 #define USB_DEVICE_ID_WALTOP_Q_PAD 0x0037 #define USB_DEVICE_ID_WALTOP_PID_0038 0x0038 +#define USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH 0x0047 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH 0x0501 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH 0x0500 #define USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET 0x0502 diff -uprN linux-source-4.7/drivers/hid/hid-waltop.c linux-source-4.7-patch/drivers/hid/hid-waltop.c --- linux-source-4.7/drivers/hid/hid-waltop.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-waltop.c 2016-11-01 08:40:37.042676691 +0100 @@ -268,6 +268,55 @@ static __u8 pid_0038_rdesc_fixed[] = { 0xC0 /* End Collection */ }; +/* Size of the original report descriptor of tablet with PID 0047 */ +#define MARS_A_12_1_INCH_RDESC_ORIG_SIZE 269 + +/* Fixed Mars A 12.1 inch descriptor */ +static __u8 mars_a_12_1_inch_rdesc_fixed[] = { + 0x05, 0x0D, /* Usage Page (Digitizer), */ + 0x09, 0x02, /* Usage (Pen), */ + 0xA1, 0x01, /* Collection (Application), */ + 0x85, 0x10, /* Report ID (16), */ + 0x09, 0x20, /* Usage (Stylus), */ + 0xA0, /* Collection (Physical), */ + 0x09, 0x42, /* Usage (Tip Switch), */ + 0x09, 0x44, /* Usage (Barrel Switch), */ + 0x09, 0x46, /* Usage (Tablet Pick), */ + 0x15, 0x01, /* Logical Minimum (1), */ + 0x25, 0x03, /* Logical Maximum (3), */ + 0x75, 0x04, /* Report Size (4), */ + 0x95, 0x01, /* Report Count (1), */ + 0x80, /* Input, */ + 0x09, 0x32, /* Usage (In Range), */ + 0x14, /* Logical Minimum (0), */ + 0x25, 0x01, /* Logical Maximum (1), */ + 0x75, 0x01, /* Report Size (1), */ + 0x95, 0x01, /* Report Count (1), */ + 0x81, 0x02, /* Input (Variable), */ + 0x95, 0x03, /* Report Count (3), */ + 0x81, 0x03, /* Input (Constant, Variable), */ + 0x75, 0x10, /* Report Size (16), */ + 0x95, 0x01, /* Report Count (1), */ + 0x14, /* Logical Minimum (0), */ + 0xA4, /* Push, */ + 0x05, 0x01, /* Usage Page (Desktop), */ + 0x65, 0x13, /* Unit (Inch), */ + 0x55, 0xFD, /* Unit Exponent (-3), */ + 0x34, /* Physical Minimum (0), */ + 0x09, 0x30, /* Usage (X), */ + 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ + 0x81, 0x02, /* Input (Variable), */ + 0x09, 0x31, /* Usage (Y), */ + 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ + 0x81, 0x02, /* Input (Variable), */ + 0xB4, /* Pop, */ + 0x09, 0x30, /* Usage (Tip Pressure), */ + 0x26, 0xFF, 0x07, /* Logical Maximum (2047) */ + 0x81, 0x02, /* Input (Variable), */ + 0xC0, /* End Collection, */ + 0xC0 /* End Collection */ +}; + /* * See Media Tablet 10.6 inch description, device and HID report descriptors at * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_10.6%22 @@ -666,6 +715,12 @@ static __u8 *waltop_report_fixup(struct *rsize = sizeof(pid_0038_rdesc_fixed); } break; + case USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH: + if (*rsize == MARS_A_12_1_INCH_RDESC_ORIG_SIZE) { + rdesc = mars_a_12_1_inch_rdesc_fixed; + *rsize = sizeof(mars_a_12_1_inch_rdesc_fixed); + } + break; case USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH: if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { rdesc = media_tablet_10_6_inch_rdesc_fixed; @@ -764,6 +819,8 @@ static const struct hid_device_id waltop { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, + USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
From: Rüdiger S. <r.s...@go...> - 2016-11-01 09:02:10
|
Hi, added a little patch to hid-waltop.c for Mars A graphics tablet. Problem was: Both stylus buttons report the same event. Fixed by looking at already fixed Waltop devices report descriptors and changing them to match the Mars A tablet. Thanks Rüdiger hid-core.c: - Add Mars A ID to "hid_have_special_driver" array hid-ids.h: - Add Mars A ID hid-waltop.c: - Add patched report descriptor to make the 2 stylus buttons report button presses correctly Signed-off-by: Rüdiger Schneider <r.s...@go...> diff -uprN linux-source-4.7/drivers/hid/hid-core.c linux-source-4.7-patch/drivers/hid/hid-core.c --- linux-source-4.7/drivers/hid/hid-core.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-core.c 2016-10-26 17:20:54.403803069 +0200 @@ -2087,6 +2087,7 @@ static const struct hid_device_id hid_ha { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_Q_PAD) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET) }, diff -uprN linux-source-4.7/drivers/hid/hid-ids.h linux-source-4.7-patch/drivers/hid/hid-ids.h --- linux-source-4.7/drivers/hid/hid-ids.h 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-ids.h 2016-10-22 06:53:52.359242645 +0200 @@ -1009,6 +1009,7 @@ #define USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH 0x0034 #define USB_DEVICE_ID_WALTOP_Q_PAD 0x0037 #define USB_DEVICE_ID_WALTOP_PID_0038 0x0038 +#define USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH 0x0047 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH 0x0501 #define USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH 0x0500 #define USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET 0x0502 diff -uprN linux-source-4.7/drivers/hid/hid-waltop.c linux-source-4.7-patch/drivers/hid/hid-waltop.c --- linux-source-4.7/drivers/hid/hid-waltop.c 2016-10-16 17:51:39.000000000 +0200 +++ linux-source-4.7-patch/drivers/hid/hid-waltop.c 2016-11-01 08:40:37.042676691 +0100 @@ -268,6 +268,55 @@ static __u8 pid_0038_rdesc_fixed[] = { 0xC0 /* End Collection */ }; +/* Size of the original report descriptor of tablet with PID 0047 */ +#define MARS_A_12_1_INCH_RDESC_ORIG_SIZE 269 + +/* Fixed Mars A 12.1 inch descriptor */ +static __u8 mars_a_12_1_inch_rdesc_fixed[] = { + 0x05, 0x0D, /* Usage Page (Digitizer), */ + 0x09, 0x02, /* Usage (Pen), */ + 0xA1, 0x01, /* Collection (Application), */ + 0x85, 0x10, /* Report ID (16), */ + 0x09, 0x20, /* Usage (Stylus), */ + 0xA0, /* Collection (Physical), */ + 0x09, 0x42, /* Usage (Tip Switch), */ + 0x09, 0x44, /* Usage (Barrel Switch), */ + 0x09, 0x46, /* Usage (Tablet Pick), */ + 0x15, 0x01, /* Logical Minimum (1), */ + 0x25, 0x03, /* Logical Maximum (3), */ + 0x75, 0x04, /* Report Size (4), */ + 0x95, 0x01, /* Report Count (1), */ + 0x80, /* Input, */ + 0x09, 0x32, /* Usage (In Range), */ + 0x14, /* Logical Minimum (0), */ + 0x25, 0x01, /* Logical Maximum (1), */ + 0x75, 0x01, /* Report Size (1), */ + 0x95, 0x01, /* Report Count (1), */ + 0x81, 0x02, /* Input (Variable), */ + 0x95, 0x03, /* Report Count (3), */ + 0x81, 0x03, /* Input (Constant, Variable), */ + 0x75, 0x10, /* Report Size (16), */ + 0x95, 0x01, /* Report Count (1), */ + 0x14, /* Logical Minimum (0), */ + 0xA4, /* Push, */ + 0x05, 0x01, /* Usage Page (Desktop), */ + 0x65, 0x13, /* Unit (Inch), */ + 0x55, 0xFD, /* Unit Exponent (-3), */ + 0x34, /* Physical Minimum (0), */ + 0x09, 0x30, /* Usage (X), */ + 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ + 0x81, 0x02, /* Input (Variable), */ + 0x09, 0x31, /* Usage (Y), */ + 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ + 0x81, 0x02, /* Input (Variable), */ + 0xB4, /* Pop, */ + 0x09, 0x30, /* Usage (Tip Pressure), */ + 0x26, 0xFF, 0x07, /* Logical Maximum (2047) */ + 0x81, 0x02, /* Input (Variable), */ + 0xC0, /* End Collection, */ + 0xC0 /* End Collection */ +}; + /* * See Media Tablet 10.6 inch description, device and HID report descriptors at * http://sf.net/apps/mediawiki/digimend/?title=Waltop_Media_Tablet_10.6%22 @@ -666,6 +715,12 @@ static __u8 *waltop_report_fixup(struct *rsize = sizeof(pid_0038_rdesc_fixed); } break; + case USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH: + if (*rsize == MARS_A_12_1_INCH_RDESC_ORIG_SIZE) { + rdesc = mars_a_12_1_inch_rdesc_fixed; + *rsize = sizeof(mars_a_12_1_inch_rdesc_fixed); + } + break; case USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH: if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { rdesc = media_tablet_10_6_inch_rdesc_fixed; @@ -764,6 +819,8 @@ static const struct hid_device_id waltop { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_PID_0038) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, + USB_DEVICE_ID_WALTOP_MARS_A_12_1_INCH) }, + { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) }, { HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) }, |
From: Nikolai K. <sp...@gm...> - 2016-11-01 07:22:47
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend-kernel-drivers Commit: acdd0702b5f1c10ecc47d5dfc15c56b46cde4e8d https://github.com/DIGImend/digimend-kernel-drivers/commit/acdd0702b5f1c10ecc47d5dfc15c56b46cde4e8d Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-11-01 (Tue, 01 Nov 2016) Changed paths: M hid-rebind Log Message: ----------- Ensure /sbin and /usr/sbin are in hid-rebind PATH Explicitly add /sbin and /usr/sbin to PATH in hid-rebind as apparently in some setups they aren't there. Fixes #49 |
From: Nikolai K. <sp...@gm...> - 2016-10-31 09:28:49
|
Hi Rüdiger, On 10/27/2016 10:14 AM, Rüdiger Schneider wrote: > I've added support for Waltop Mars A tablet to hid-waltop. See the patch in > attachment Thanks for sharing your patch! Are you planning to contribute it to the upstream kernel? Or perhaps to the digimend-kernel-drivers package? Nick |
From: Nikolai K. <sp...@gm...> - 2016-10-30 15:53:31
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend.github.io Commit: c77677d4d922cc75fcec08cdb00025494d8902da https://github.com/DIGImend/digimend.github.io/commit/c77677d4d922cc75fcec08cdb00025494d8902da Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-10-30 (Sun, 30 Oct 2016) Changed paths: M _includes/page.html M main.css Log Message: ----------- Add report/edit links to the bottom of pages Commit: 90aa787c561357873ed449b65ee81672a59026bd https://github.com/DIGImend/digimend.github.io/commit/90aa787c561357873ed449b65ee81672a59026bd Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-10-30 (Sun, 30 Oct 2016) Changed paths: M _includes/page.html Log Message: ----------- Fix page source links Compare: https://github.com/DIGImend/digimend.github.io/compare/28444444c638...90aa787c5613 |
From: Nikolai K. <sp...@gm...> - 2016-10-30 14:53:27
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend.github.io Commit: 28444444c63828db5a83181eeed2c0fc80e5ac98 https://github.com/DIGImend/digimend.github.io/commit/28444444c63828db5a83181eeed2c0fc80e5ac98 Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-10-30 (Sun, 30 Oct 2016) Changed paths: A support/howto/trbl/locating_failure/gimp_input_setup.png M support/howto/trbl/locating_failure/index.md A support/howto/trbl/locating_failure/mypaint_input_test.png Log Message: ----------- Finish the troubleshooting article roughly |
From: Rüdiger S. <r.s...@go...> - 2016-10-27 07:14:31
|
0x05, 0x01, /* Usage Page (Desktop), */ 0x09, 0x02, /* Usage (Mouse), */ 0xA1, 0x01, /* Collection (Application), */ 0x85, 0x01, /* Report ID (1), */ 0x09, 0x01, /* Usage (Pointer), */ 0xA1, 0x00, /* Collection (Physical), */ 0x05, 0x09, /* Usage Page (Button), */ 0x19, 0x01, /* Usage Minimum (01h), */ 0x29, 0x05, /* Usage Maximum (05h), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x25, 0x01, /* Logical Maximum (1), */ 0x75, 0x01, /* Report Size (1), */ 0x95, 0x05, /* Report Count (5), */ 0x81, 0x02, /* Input (Variable), */ 0x75, 0x03, /* Report Size (3), */ 0x95, 0x01, /* Report Count (1), */ 0x81, 0x03, /* Input (Constant, Variable), */ 0x05, 0x01, /* Usage Page (Desktop), */ 0x09, 0x30, /* Usage (X), */ 0x09, 0x31, /* Usage (Y), */ 0x09, 0x38, /* Usage (Wheel), */ 0x15, 0x81, /* Logical Minimum (-127), */ 0x25, 0x7F, /* Logical Maximum (127), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x03, /* Report Count (3), */ 0x81, 0x06, /* Input (Variable, Relative), */ 0xC0, /* End Collection, */ 0xC0, /* End Collection, */ 0x05, 0x0D, /* Usage Page (Digitizer), */ 0x09, 0x02, /* Usage (Pen), */ 0xA1, 0x01, /* Collection (Application), */ 0x85, 0x02, /* Report ID (2), */ 0x09, 0x20, /* Usage (Stylus), */ 0xA1, 0x00, /* Collection (Physical), */ 0x09, 0x00, /* Usage (00h), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x07, /* Report Count (7), */ 0x81, 0x02, /* Input (Variable), */ 0x09, 0x3F, /* Usage (Azimuth), */ 0x09, 0x40, /* Usage (Altitude), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x02, /* Report Count (2), */ 0xB1, 0x02, /* Feature (Variable), */ 0xC0, /* End Collection, */ 0x85, 0x05, /* Report ID (5), */ 0x05, 0x0D, /* Usage Page (Digitizer), */ 0x09, 0x20, /* Usage (Stylus), */ 0xA1, 0x00, /* Collection (Physical), */ 0x09, 0x00, /* Usage (00h), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x07, /* Report Count (7), */ 0x81, 0x02, /* Input (Variable), */ 0xC0, /* End Collection, */ 0x85, 0x0A, /* Report ID (10), */ 0x05, 0x0D, /* Usage Page (Digitizer), */ 0x09, 0x20, /* Usage (Stylus), */ 0xA1, 0x00, /* Collection (Physical), */ 0x09, 0x00, /* Usage (00h), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0xFF, 0x00, /* Logical Maximum (255), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x03, /* Report Count (3), */ 0x81, 0x02, /* Input (Variable), */ 0xC0, /* End Collection, */ 0x85, 0x10, /* Report ID (16), */ 0x09, 0x20, /* Usage (Stylus), */ 0xA1, 0x00, /* Collection (Physical), */ 0x09, 0x42, /* Usage (Tip Switch), */ 0x09, 0x44, /* Usage (Barrel Switch), */ 0x09, 0x3C, /* Usage (Invert), */ 0x09, 0x45, /* Usage (Eraser), */ 0x09, 0x32, /* Usage (In Range), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x25, 0x01, /* Logical Maximum (1), */ 0x75, 0x01, /* Report Size (1), */ 0x95, 0x05, /* Report Count (5), */ 0x81, 0x02, /* Input (Variable), */ 0x95, 0x03, /* Report Count (3), */ 0x81, 0x03, /* Input (Constant, Variable), */ 0x05, 0x01, /* Usage Page (Desktop), */ 0x09, 0x30, /* Usage (X), */ 0x75, 0x10, /* Report Size (16), */ 0x95, 0x01, /* Report Count (1), */ 0xA4, /* Push, */ 0x55, 0x0D, /* Unit Exponent (13), */ 0x65, 0x33, /* Unit (Inch^3), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0x20, 0x4E, /* Logical Maximum (20000), */ 0x35, 0x00, /* Physical Minimum (0), */ 0x46, 0x20, 0x4E, /* Physical Maximum (20000), */ 0x81, 0x02, /* Input (Variable), */ 0x09, 0x31, /* Usage (Y), */ 0x26, 0xD4, 0x30, /* Logical Maximum (12500), */ 0x46, 0xD4, 0x30, /* Physical Maximum (12500), */ 0x81, 0x02, /* Input (Variable), */ 0x05, 0x0D, /* Usage Page (Digitizer), */ 0x09, 0x30, /* Usage (Tip Pressure), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x26, 0xFF, 0x07, /* Logical Maximum (2047), */ 0x35, 0x00, /* Physical Minimum (0), */ 0x46, 0xFF, 0x07, /* Physical Maximum (2047), */ 0x81, 0x02, /* Input (Variable), */ 0xC0, /* End Collection, */ 0xC0, /* End Collection, */ 0x05, 0x01, /* Usage Page (Desktop), */ 0x09, 0x06, /* Usage (Keyboard), */ 0xA1, 0x01, /* Collection (Application), */ 0x85, 0x0D, /* Report ID (13), */ 0x05, 0x07, /* Usage Page (Keyboard), */ 0x19, 0xE0, /* Usage Minimum (KB Leftcontrol), */ 0x29, 0xE7, /* Usage Maximum (KB Right GUI), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x25, 0x01, /* Logical Maximum (1), */ 0x75, 0x01, /* Report Size (1), */ 0x95, 0x08, /* Report Count (8), */ 0x81, 0x02, /* Input (Variable), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x01, /* Report Count (1), */ 0x81, 0x01, /* Input (Constant), */ 0x05, 0x07, /* Usage Page (Keyboard), */ 0x19, 0x00, /* Usage Minimum (None), */ 0x29, 0x65, /* Usage Maximum (KB Application), */ 0x15, 0x00, /* Logical Minimum (0), */ 0x25, 0x65, /* Logical Maximum (101), */ 0x75, 0x08, /* Report Size (8), */ 0x95, 0x05, /* Report Count (5), */ 0x81, 0x00, /* Input, */ 0xC0 /* End Collection */ |
From: Nikolai K. <sp...@gm...> - 2016-10-09 11:47:46
|
Hi Bryan, On 10/06/2016 11:22 PM, Bryan Willis wrote: > I understand the project isn't creating new tablet drivers, but I don't know where else to turn to. > > I desperately want to make the switch to Linux and ditch windows for good, but Illustration is my career and my tablet is fairly expensive and is currently the only thing chaining me to windows. > > I'm using a Ugee 2150: https://www.amazon.com/UG-2150-Monitor-Display-Pergear%C2%AE-Resolution/dp/B00RCMFN6A > It's drivers for windows and mac are here: http://ugee.net/download.asp > > Please, if there's any way anyone could help me get my tablet working on Linux, I'd make the switch without hesitation. If no one can, do you happen to know anybody who could help? I don't have much time at all, but I can look at the diagnostics if you collect them [1], perhaps it will be easy. Otherwise you can try reporting a bug at http://bugs.freedesktop.org, saying your tablet doesn't work. Perhaps somebody would be interested to try and fix that. Nick [1]: http://digimend.github.io/support/howto/trbl/diagnostics/ |
From: Bernd W. <bwe...@ya...> - 2016-10-06 21:13:03
|
Bryan, Suggest that you check this out: https://digimend.github.io/support/howto/trbl/diagnostics/ It help me a lot getting my Huion table going. Most importantly it will provide you with a lot more info you can share on this list in the hope of finding someone who recognises what's up. Personally I did that and found that all was pretty good in fact by default only that the mouse cursor did not track my pen as expected, and when looking at why discovered this to be an Xwindows issue that goes back a long way, so I write this to fix it at my end: https://github.com/bernd-wechner/tablet-config (does not support rotations yet) and WenHsin Linda Jen wrote a more elegant version of the same thing here: https://github.com/wenhsinjen/ptxconf There's a good chance that you can get rolling with a little tweaking. But the key is those diagnostics above. Regards, Bernd. Bryan Willis wrote: > I understand the project isn't creating new tablet drivers, but I > don't know where else to turn to. > > I desperately want to make the switch to Linux and ditch windows for > good, but Illustration is my career and my tablet is fairly expensive > and is currently the only thing chaining me to windows. > > I'm using a Ugee 2150: > https://www.amazon.com/UG-2150-Monitor-Display-Pergear%C2%AE-Resolution/dp/B00RCMFN6A > It's drivers for windows and mac are here: http://ugee.net/download.asp > > Please, if there's any way anyone could help me get my tablet working > on Linux, I'd make the switch without hesitation. If no one can, do > you happen to know anybody who could help? > > Thanks, > > Bryan Willis > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > DIGImend-devel mailing list > DIG...@li... > https://lists.sourceforge.net/lists/listinfo/digimend-devel |
From: Bryan W. <bry...@gm...> - 2016-10-06 20:22:52
|
I understand the project isn't creating new tablet drivers, but I don't know where else to turn to. I desperately want to make the switch to Linux and ditch windows for good, but Illustration is my career and my tablet is fairly expensive and is currently the only thing chaining me to windows. I'm using a Ugee 2150: https://www.amazon.com/UG-2150-Monitor-Display-Pergear%C2%AE-Resolution/dp/B00RCMFN6A It's drivers for windows and mac are here: http://ugee.net/download.asp Please, if there's any way anyone could help me get my tablet working on Linux, I'd make the switch without hesitation. If no one can, do you happen to know anybody who could help? Thanks, Bryan Willis |
From: Nikolai K. <Nik...@re...> - 2016-09-18 11:52:00
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend.github.io Commit: a6aecdb7b79f114434b0c5a01a13794e9f918734 https://github.com/DIGImend/digimend.github.io/commit/a6aecdb7b79f114434b0c5a01a13794e9f918734 Author: Nikolai Kondrashov <Nik...@re...> Date: 2016-09-18 (Sun, 18 Sep 2016) Changed paths: A support/howto/trbl/locating_failure/index.md Log Message: ----------- Add the beginning of the failure location article |
From: GitHub <no...@gi...> - 2016-09-18 08:23:44
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend-kernel-drivers Commit: e6f6e6508b21c6cb62826055dfab10e03ab2dd35 https://github.com/DIGImend/digimend-kernel-drivers/commit/e6f6e6508b21c6cb62826055dfab10e03ab2dd35 Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-09-18 (Sun, 18 Sep 2016) Changed paths: M README.md Log Message: ----------- Note developer is leaving in README.md |
From: GitHub <no...@gi...> - 2016-09-04 12:03:37
|
Branch: refs/heads/master Home: https://github.com/DIGImend/digimend-kernel-drivers Commit: f969849879ae3d9c744e05c2f7a6c2395326a36c https://github.com/DIGImend/digimend-kernel-drivers/commit/f969849879ae3d9c744e05c2f7a6c2395326a36c Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-09-04 (Sun, 04 Sep 2016) Changed paths: M hid-uclogic.c Log Message: ----------- uclogic: Remove allocation failure messages Remove unnecessary allocation failure messages from hid-uclogic.c, following the checkpatch.pl recommendations. Commit: 4f357d4303f91ea3541a69ceabd968cb1a4703e2 https://github.com/DIGImend/digimend-kernel-drivers/commit/4f357d4303f91ea3541a69ceabd968cb1a4703e2 Author: Nikolai Kondrashov <sp...@gm...> Date: 2016-09-04 (Sun, 04 Sep 2016) Changed paths: M hid-uclogic.c Log Message: ----------- uclogic: Simplify comparison with upstream Add some blank lines around hid-uclogic.c includes to simplify comparison with upstream. Compare: https://github.com/DIGImend/digimend-kernel-drivers/compare/08b8ed88d3d3...4f357d4303f9 |
From: Igor L. <igo...@ma...> - 2016-09-04 08:09:02
|
Hi, I am using Huion 610 Pro. This device has the specific function that forces the pen into the standby mode if it is not used after 5 minutes. This function is not adjustable via any ways just because it is assigned to the pen internally with no any connection with the computer or the tablet. To wakeup the pen you must press the pen tip independently from the tablet. You can move away from your tablet in 100 meters but wakeup mode in the pen will be still available. This feature is not polite for Huion users unfortunately. Can DIGImend developers do with that occasion to change the autosuspend time or to switch off this feature? -- Best regards, Igor Leskov |
From: Nikolai K. <sp...@gm...> - 2016-08-31 12:32:42
|
On 08/31/2016 02:58 PM, Nikolai Kondrashov wrote: > Hi everyone, > > I would like to regretfully inform you that I'm wrapping up my work on the > DIGImend project. Within two months I'm going to stop all work on the project, > with the exception of accepting patches, as time allows, if a replacement is > not found. Meanwhile I will be focusing on syncing with upstream kernel and > writing HOWTOs on diagnosing problems and adding tablet support. > > See more at http://localhost:4000/2016/07/31/Wrapping-up-DIGImend-work.html And of course I had to screw up the URL: http://spbnick.github.io/2016/07/31/Wrapping-up-DIGImend-work.html Nick |