Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-24 Thread Allen Hung
On 08/15/2016 05:55 PM, Allen Hung wrote: > On 08/03/2016 02:56 AM, Limonciello, Mario wrote: >>> -Original Message- >>> From: Jean Delvare [mailto:jdelv...@suse.de] >>> Sent: Tuesday, August 2, 2016 8:43 AM >>> To: Limonciello, Mario >>>

Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-15 Thread Allen Hung
org; >>>> Limonciello, Mario >>>> Subject: Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting >> oem >>>> strings to sysfs >>>> >>>> Hello Allen, >>>> >>>> On Thu, 14 Jul 2016 16:01:23 +0800, Allen Hung

[PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-15 Thread Allen Hung
group "oem" is added to the device and the strings will be added to the group as string1, string2, ..., and stringN. Signed-off-by: Allen Hung --- drivers/firmware/Kconfig | 9 drivers/firmware/dmi-id.c | 116 ++ 2 files changed, 125

Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-07-29 Thread Allen Hung
lv...@suse.de] >>> Sent: Tuesday, July 19, 2016 4:03 AM >>> To: Hung, Allen >>> Cc: Jean Delvare ; linux-kernel@vger.kernel.org; >>> Limonciello, Mario >>> Subject: Re: [PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem >>> strings to sys

[PATCH v2 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-07-29 Thread Allen Hung
group "oem" is added to the device and the strings will be added to the group as string1, string2, ..., and stringN. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 108 ++ 1 file changed, 108 insertions(+) diff --git a/drivers/fi

[PATCH 0/2] dmi-id: export oem strings to sysfs

2016-07-15 Thread Allen Hung
The oem strings in DMI BIOS have been parsed and stored as dmi devices in dmi_scan.c but they are not exported to userspace via sysfs. The series of patches 1/2) fix the error exit code which may cause kernel panic if error happened during adding the oem strings to sysfs, and (2/2) export oem stri

[PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-07-15 Thread Allen Hung
group "oem" is added to the device and the strings will be added to the group as string1, string2, ..., and stringN. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 108 ++ 1 file changed, 108 insertions(+) diff --git a/drivers/fi

[PATCH 1/2] dmi-id: don't free dev structure after calling device_register

2016-07-15 Thread Allen Hung
dmi_dev is freed in error exit code but, according to the document of device_register, it should never directly free device structure after calling this function, even if it returned an error! Use put_device() instead. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 8 1 file

[PATCH 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-07-14 Thread Allen Hung
group "oem" is added to the device and the strings will be added to the group as string1, string2, ..., and stringN. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 108 ++ 1 file changed, 108 insertions(+) diff --git a/drivers/fi

[PATCH 1/2] dmi-id: don't free dev structure after calling device_register

2016-07-14 Thread Allen Hung
dmi_dev is freed in error exit code but, according to the document of device_register, it should never directly free device structure after calling this function, even if it returned an error! Use put_device() instead. Signed-off-by: Allen Hung --- drivers/firmware/dmi-id.c | 8 1 file

[PATCH 0/2] dmi-id: export oem strings to sysfs

2016-07-14 Thread Allen Hung
*** BLURB HERE *** Allen Hung (2): dmi-id: don't free dev structure after calling device_register dmi-id: add dmi/id/oem group for exporting oem strings to sysfs drivers/firmware/dmi-id.c | 116 -- 1 file changed, 112 insertions(+), 4 dele

[PATCH 1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-23 Thread Allen Hung
originally designed for some WIn7 touchscreens. Use of this for a Win8 Precision Touchpad will cause unexpected pointer jumping problem. Signed-off-by: Allen Hung --- drivers/hid/hid-multitouch.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-mu

[PATCH 2/2] HID: multitouch: enable palm rejection for Windows Precision Touchpad

2016-06-23 Thread Allen Hung
. Tested on Dell XPS13 9343 Signed-off-by: Allen Hung --- drivers/hid/hid-multitouch.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index 4ef7006..fb6f1f4 100644 --- a/drivers/hid/hid

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2016-06-21 Thread Allen Hung
Hi Benjamin, On 01/04/2016 04:35 PM, Benjamin Tissoires wrote: > Hi Allen, > > On Mon, Dec 21, 2015 at 10:45 AM, Allen Hung wrote: >> On 12/18/2015 05:52 AM, Benjamin Tissoires wrote: >>> On Thu, Nov 26, 2015 at 3:21 PM, Jiri Kosina wrote: >>>> O

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-12-21 Thread Allen Hung
On 12/18/2015 05:52 AM, Benjamin Tissoires wrote: > On Thu, Nov 26, 2015 at 3:21 PM, Jiri Kosina wrote: >> On Fri, 20 Nov 2015, Allen Hung wrote: >> >>> The usage Confidence is mandary to Windows Precision Touchpad devices. The >>> appearance of this usage is ch

[PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-11-20 Thread Allen Hung
for the WIN 8 touchpad devices which have implemented usage Confidence in its input reports. Tested on Dell XPS 13 laptop. Signed-off-by: Allen Hung --- drivers/hid/hid-multitouch.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid

[PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-11-18 Thread Allen Hung
rejection for the devices which implement the usage confidence in its input reports. Tested on Dell XPS 13 laptop. Signed-off-by: Allen Hung --- drivers/hid/hid-multitouch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index