On Tue, Dec 14, 2021 at 11:58:56AM +0100, Mark Kettenis wrote: > > From: Renato Aguiar <[email protected]> > > > > There are 3 devices attaching to `dwiic* at pci0': > > > > dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 > > int 27 > > > > I have no idea what this one is for, but it keeps sending interrupts > > after resume and that is what is causing the laptop to freeze. > > Disabling this device alone "fixes" suspend/resume for me. > > > > dwiic1 at pci0 dev 21 function 1 "Intel 500 Series I2C" rev 0x20: apic 2 > > int 40 > > > > This is for some special keyboard keys, like brightness control. > > BTW, these keyboard keys might need the i2c ihidev(4) equivalent of > the ucc(4) driver.
FWIW, with Renato's workaround (disabling the first dwiic), brightness control still works. The fix Mark sent for dwiic did not solve the resume problem for my laptop.
