Thread (24 messages) 24 messages, 4 authors, 2015-02-24

Re: NULL pointer dereference in i2c-hid

From: Andrew Duggan <hidden>
Date: 2015-01-09 00:00:57
Also in: lkml

On 12/24/2014 03:53 PM, Gabriele Mazzotta wrote:
[...snip...]
quoted
quoted
quoted
Also, if you can get the firmware id from your touchpad that would also
be useful.

$ sudo ./rmihidtool -f /dev/hidraw0
firmware id: 1522295
Thanks, I will see if I can get any additional information on this.

Andrew
Hi,

I think I found the source of the problem.

$ ./rmihidtool /dev/hidraw1 -r 0x50 1
0x01  #PalmDetect Interrupt Enable, right?
Yes, 0x50 does appear to be the address of the palm detect interrupt 
enable register.
$ ./rmihidtool /dev/hidraw1 -w 0x50 0  #Disable PalmDetect Interrupt

It makes more sense now that widths greater than 12 trigger the bug.
That is weird behavior and I haven't seen anything like that before. I 
will file a bug to see if firmware has any idea why this is happening.
Gabriele
Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help