Comment 24 for bug 1900254

Revision history for this message
In , glogow (glogow-linux-kernel-bugs) wrote :

Just an addition: I added this to my /etc/rc.local, but it doesn't work more times then it does.

Currently I'm using this little script, which did work the last few boots:

echo "i2c-ELAN0001:00" > /sys/bus/i2c/drivers/elants_i2c/unbind
sleep 1.5
echo "i2c-ELAN0001:00" > /sys/bus/i2c/drivers/i2c_hid/bind

Anything less then 1.5s didn't work most times. And I'm on Ubuntu 20.04 / kernel 5.4 FWIW. Also tested the 5.6 and 5.7 Ubuntu mainline builds, which had the same problem.