https://bugzilla.kernel.org/show_bug.cgi?id=218578 --- Comment #8 from Hans de Goede (jwrdegoede@xxxxxxxxxxxxxxxxx) --- Thanks. So I've taken a look at the driver and I noticed that it does not reset the chip on probe. So maybe sometimes the chip comes up in a weird state and we need to modify the driver to reset it on probe. Can you try the following: First install i2c-tools: sudo dnf install i2c-tools Then do a cold boot, check the accelerometer works and then do: sudo i2cdump -y -f -r 0-15 0 0x15 And copy and paste the output to a "i2cdump-good.txt" . Then reboot until the accelerometer stops working, then do: sudo i2cdump -y -f -r 0-15 0 0x15 And copy and paste the output to a "i2cdump-bad.txt" . Now on this broken setup lets try to reset the accelerometer: sudo i2cset -y -f 0 0x15 0x01 0x10 This writes 0x10 to register 0x01 which sets the SW_RST bit And then check if the accelerometer now has started working. Also please make another dump after the reset (from bad state): sudo i2cdump -y -f -r 0-15 0 0x15 And copy and paste the output to a "i2cdump-after-reset.txt" . Hopefully these dumps will help us figure out what is going on. If you are interested in poking more at this yourself, there is a datasheet available here: https://media.digikey.com/pdf/Data%20Sheets/MEMSIC%20PDFs/MXC6655XA_Rev_A_1-22-20.pdf This should allow you to interpret the contents of the dumps. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.