tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reading I2C HID descriptor from userland



On Sat, Aug 20, 2022 at 09:24:47AM -0700, Jason Thorpe wrote:
> What does the ihidev driver think the descriptor address is?  I.e. what?s the result of the _DSM evaluation?

ihidev thinks it should be 1. But both values get wrong data.

Trying from userland, I fear I get some random kernel memory. I tried
dumping 4096 bytes at address 0, the result is always different. Most
often zeros, but once I juste got that:
7374 6166 663a 2309 3a64 6174 6173 697a 
652d 6375 723d 3531 324d 3a23 093a 6461 
7461 7369 7a65 2d6d 6178 3d69 6e66 696e 
6974 793a 2309 3a6d 6178 7072 6f63 2d6d 
6178 3d32 3536 3a23 093a 6d61 7870 726f 
632d 6375 723d 3132 383a 2309 3a69 676e 
6f72 656e 6f6c 6f67 696e 3a23 093a 7265 
7175 6972 6568 6f6d 6540 3a00 697a 652d 
6d61 783d 3531 324d 3a23 093a 6461 7461 
7369 7a65 2d63 7572 3d35 3132 4d3a 2309 
3a6d 6178 7072 6f63 2d6d 6178 3d31 3032 
343a 2309 3a6d 6178 7072 6f63 2d63 7572 
3d31 3630 3a23 093a 6f70 656e 6669 6c65 
732d 6375 723d 3132 383a 2309 3a73 7461 
636b 7369 7a65 2d63 7572 3d34 4d3a 2309 
3a63 6f70 7972 6967 6874 3d2f 6465 762f 
6e75 6c6c 3a

> Can you provide your entire ACPI dump?

Here is it: I am after GXTP7386.
https://dl.espci.fr/ticket/f3d3a660b1ece46a78f14e3f39cb5c5b

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index