Comment 169 for bug 1887190

Revision history for this message
Coiby Xu (coiby) wrote :

>>1. When the touchpad works by setting pin's direction=out, you could see lots of "no data" message ("IRQ triggered but there's no data") keeping popping up after moving your finger away from the touchpad, am I correct?

> no, wrong. when run : echo out > direction,
> dmesg say :
> [ 133.854926] i2c_hid i2c-MSFT0001:00: i2c_hid_get_input: IRQ triggered but there's no data
> only one time,
> then my touchpad can work.
> no keeping popping up after moving your finger away from the touchpad.

This is something quite unexpected. When the finger is away from the toucpad, is there any output from `sudo hid-recorder`? For my laptop, the same HId report will be repeatedly received by hid-recorder because amd_gpio_irq_handler is called repeatedly. If amd_gpio_irq_handler is not called when you don't use the touchpad, then "echo out > direction" is really a solution and your guess that amd-pinctrl has incorrect configuration the direction is absolutely right.