Distribution: gentoo Kernel : 2.6.7 Hardware Environment: PC/ I386 Software Environment: Problem Description: In the ADM1021 Sensor driver temperature alarm is masked with a constant 0xEC. For the CHIP ADM1021A, bit 4 is RHIGH, because of the mask the RHIGH Flag is cleared in the alarm value. so the Remote Temp High is never reported. Steps to reproduce:
Good catch. The mask should actually be 0x7c, not 0xec. The bug was present since the driver was ported (2.5.54).
Created attachment 4661 [details] Fix incorrect alarms bitmasking