Intel "5-button array" support on MobileStudio Pro
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=197991
[2]: https://patchwork.kernel.org/patch/9571353/
Jason
---
Now instead of four in the eights place / you’ve got three, ‘Cause you added one / (That is to say, eight) to the two, / But you can’t take seven from three, / So you look at the sixty-fours....
Quoted 14 lines · Jason Gerecke
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
Quoted 7 lines
Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....
Apologies: Other recipients were not properly added on the first mail...
Quoted 7 lines · Jason Gerecke
Quoted 6 lines · Jason Gerecke
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
HEBC seems to be the control method that can report 5 button array; however, I think we can use either one of the below to workaround this:
1. Add a kernel parameter and a quirk (ex. DMI strings). The downside is the quirk can grow if more systems do not include HEBC
2. Check both HEBC & BTNL (ex. the method that enables 5 button array). Either one enables 5 button array and this fixes current problems.
While 2 is preferable, nothing stops future BIOS skips BTNL in the future...
Any comments? I will create a patch for testing in a few days.
Quoted 17 lines
Quoted 8 lines
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
Quoted 7 lines
Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....Apologies: Other recipients were not properly added on the first mail...
Signature · 2 lines
Cheers, Alex Hung
Quoted 16 lines · Alex Hung
Quoted 7 lines · Jason Gerecke
Quoted 6 lines · Jason Gerecke
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
HEBC seems to be the control method that can report 5 button array; however, I think we can use either one of the below to workaround this:
1. Add a kernel parameter and a quirk (ex. DMI strings). The downside is the quirk can grow if more systems do not include HEBC
Quoted 7 lines
2. Check both HEBC & BTNL (ex. the method that enables 5 button array). Either one enables 5 button array and this fixes current problems.
While 2 is preferable, nothing stops future BIOS skips BTNL in the future...
Any comments? I will create a patch for testing in a few days.
Looking for a tables with HEBC and this one I only can tell that I would assume that tables w/o HEBC can guess HEBC returns value for supporting 5-button array.
Though to be on the safe side I would rather vote for DMI based quirk
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=197991
[2]: https://patchwork.kernel.org/patch/9571353/
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:platform-driver-x86- [email protected]] On Behalf Of Andy Shevchenko
Sent: Tuesday, November 28, 2017 1:28 PM
To: Alex Hung <[email protected]>
Cc: Jason Gerecke <[email protected]>; [email protected]; Michal Kepien <[email protected]>
Subject: Re: Intel "5-button array" support on MobileStudio ProQuoted 2 lines · Alex Hung
Quoted 1 line · Jason Gerecke
On November 25, 2017 10:23:33 AM PST, Jason Gerecke
Quoted 18 lines · <[email protected]> wrote:
Quoted 6 lines
Quoted 6 lines
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
HEBC seems to be the control method that can report 5 button array; however, I think we can use either one of the below to workaround this:
1. Add a kernel parameter and a quirk (ex. DMI strings). The downside is the quirk can grow if more systems do not include HEBC
2. Check both HEBC & BTNL (ex. the method that enables 5 button array). Either one enables 5 button array and this fixes current problems.
Quoted 8 lines
Quoted 3 lines
While 2 is preferable, nothing stops future BIOS skips BTNL in the future...
Any comments? I will create a patch for testing in a few days.
Looking for a tables with HEBC and this one I only can tell that I would assume that tables w/o HEBC can guess HEBC returns value for supporting 5-button array.
Though to be on the safe side I would rather vote for DMI based quirk
Andy,
Could you provide any insight how this possibly works on Windows? I would expect that corner cases like this should completely fall over on Windows since it's an Intel driver and not customized per OEM or anything.
Maybe would it be possible for the folks at Intel
who worked on the Windows driver to share information about anything different they're doing with regards to something like a possibly missing HEBC? It would be good to do the same rather than bandage on a bunch of things tied to DMI quirks. If it's not possible to obtain that information, then I would agree DMI quirks makes sense though.
Thanks,
Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
[2]: https://patchwork.kernel.org/patch/9571353/
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....--
With Best Regards,
Andy Shevchenko
Quoted 31 lines · On Wed, Nov 29, 2017 at 3:50 AM, <[email protected]> wrote:
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:platform-driver-x86- [email protected]] On Behalf Of Andy Shevchenko
Sent: Tuesday, November 28, 2017 1:28 PM
To: Alex Hung <[email protected]>
Cc: Jason Gerecke <[email protected]>; [email protected]; Michal Kepien <[email protected]>
Subject: Re: Intel "5-button array" support on MobileStudio ProQuoted 2 lines · Alex Hung
Quoted 1 line · Jason Gerecke
On November 25, 2017 10:23:33 AM PST, Jason Gerecke
Quoted 18 lines · <[email protected]> wrote:
Quoted 6 lines
Quoted 6 lines
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
HEBC seems to be the control method that can report 5 button array; however, I think we can use either one of the below to workaround this:
1. Add a kernel parameter and a quirk (ex. DMI strings). The downside is the quirk can grow if more systems do not include HEBC
2. Check both HEBC & BTNL (ex. the method that enables 5 button array). Either one enables 5 button array and this fixes current problems.
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
While 2 is preferable, nothing stops future BIOS skips BTNL in the future...
Any comments? I will create a patch for testing in a few days.
Looking for a tables with HEBC and this one I only can tell that I would assume that tables w/o HEBC can guess HEBC returns value for supporting 5-button array.
Though to be on the safe side I would rather vote for DMI based quirk
After thinking through again I think staying safe with DMI quirk may be a good idea.
1. Only one system needs workaround now
2. Future systems may behave differently and we will have more test samples
Jason,
Please upload output of dmidecode to
https://bugzilla.kernel.org/show_bug.cgi?id=197991 and I can modify intel-hid accordingly.
This may take couple days before I can find a system to test.
Quoted 8 lines
Andy,
Could you provide any insight how this possibly works on Windows? I would expect that corner cases like this should completely fall over on Windows since it's an Intel driver and not customized per OEM or anything.
Quoted 6 lines
Maybe would it be possible for the folks at Intel
who worked on the Windows driver to share information about anything different they're doing with regards to something like a possibly missing HEBC? It would be good to do the same rather than bandage on a bunch of things tied to DMI quirks. If it's not possible to obtain that information, then I would agree DMI quirks makes sense though.
If we can refer how it is done in Windows we can improve it but let's try DMI quirk first.
Quoted 22 lines
Thanks,
Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
[2]: https://patchwork.kernel.org/patch/9571353/
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....--
With Best Regards,
Andy Shevchenko
Signature · 2 lines
Cheers, Alex Hung
Quoted 47 lines · Alex Hung
Quoted 31 lines · On Wed, Nov 29, 2017 at 3:50 AM, <[email protected]> wrote:
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:platform-driver-x86- [email protected]] On Behalf Of Andy Shevchenko
Sent: Tuesday, November 28, 2017 1:28 PM
To: Alex Hung <[email protected]>
Cc: Jason Gerecke <[email protected]>; [email protected]; Michal Kepien <[email protected]>
Subject: Re: Intel "5-button array" support on MobileStudio ProQuoted 2 lines · Alex Hung
Quoted 1 line · Jason Gerecke
On November 25, 2017 10:23:33 AM PST, Jason Gerecke
Quoted 18 lines · <[email protected]> wrote:
Quoted 6 lines
Quoted 6 lines
I've just filed a bug [1] about a device which appears to use the "5-button array" that the patch [2] added support for earlier this year. It seems that on this particular device (a Wacom MobileStudio Pro), there is no "HEBC" entry in the ACPI table. Because of this, the kernel does not load support for the "5-button array" that this device seems to use.
HEBC seems to be the control method that can report 5 button array; however, I think we can use either one of the below to workaround this:
1. Add a kernel parameter and a quirk (ex. DMI strings). The downside is the quirk can grow if more systems do not include HEBC
2. Check both HEBC & BTNL (ex. the method that enables 5 button array). Either one enables 5 button array and this fixes current problems.
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
While 2 is preferable, nothing stops future BIOS skips BTNL in the future...
Any comments? I will create a patch for testing in a few days.
Looking for a tables with HEBC and this one I only can tell that I would assume that tables w/o HEBC can guess HEBC returns value for supporting 5-button array.
Though to be on the safe side I would rather vote for DMI based quirkAfter thinking through again I think staying safe with DMI quirk may be a good idea.
1. Only one system needs workaround now
2. Future systems may behave differently and we will have more test samples
Quoted 7 lines
Jason,
Please upload output of dmidecode to
https://bugzilla.kernel.org/show_bug.cgi?id=197991 and I can modify intel-hid accordingly.This may take couple days before I can find a system to test.
File has been uploaded. Thanks to all for looking into this :)
Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....
Quoted 46 lines
Quoted 8 lines
Andy,
Could you provide any insight how this possibly works on Windows? I would expect that corner cases like this should completely fall over on Windows since it's an Intel driver and not customized per OEM or anything.
Quoted 6 lines
Maybe would it be possible for the folks at Intel
who worked on the Windows driver to share information about anything different they're doing with regards to something like a possibly missing HEBC? It would be good to do the same rather than bandage on a bunch of things tied to DMI quirks. If it's not possible to obtain that information, then I would agree DMI quirks makes sense though.If we can refer how it is done in Windows we can improve it but let's try DMI quirk first.
Quoted 22 lines
Thanks,
Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Please let me know what additional information would be helpful to provide. I am able to test kernel patches.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
[2]: https://patchwork.kernel.org/patch/9571353/
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....--
With Best Regards,
Andy Shevchenko--
Cheers,
Alex Hung
Quoted 10 lines · On Tue, Nov 28, 2017 at 9:50 PM, <[email protected]> wrote:
Quoted 6 lines
Quoted 1 line
Any comments? I will create a patch for testing in a few days.
Looking for a tables with HEBC and this one I only can tell that I would assume that tables w/o HEBC can guess HEBC returns value for supporting 5-button array.
Though to be on the safe side I would rather vote for DMI based quirkAndy,
Could you provide any insight how this possibly works on Windows?
I have no clue. I just read tables where HEBC is present (most probably it's from reference BIOS).
It returns NVS stored 32-bit variable. Which is written by BIOS.
In the table in question we have no differences in BTN*() methods WRT BID value (have no idea what's that).
I assume in case of HEBC() they would probably return a constant no matter what.
Quoted 3 lines
I would expect that corner cases like this should completely fall over on Windows since it's an Intel driver and not customized per OEM or anything.
I might try to ask around, though I have no idea who did that driver.
Quoted 4 lines
Maybe would it be possible for the folks at Intel
who worked on the Windows driver to share information about anything different they're doing with regards to something like a possibly missing HEBC?
I don't know whom to ask. I might try, it would take time (sometimes days, sometimes weeks).
Signature · 2 lines
With Best Regards, Andy Shevchenko