2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

add support for Asus ASB100 Bach. Patch from

"Mark M. Hoffman" <mhoffman@lightlink.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1486 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2002-08-04 19:01:35 +00:00
parent 325d5d81bc
commit 8a7d9d7d07
4 changed files with 25 additions and 12 deletions

View File

@@ -2023,8 +2023,10 @@ sub w83781d_detect
(($reg1 & 0x80) == 0x80 and $reg2 == 0x5c);
}
if ($chip == 4) {
return unless (($reg1 & 0x80) == 0x00 and $reg2 == 0xc3) or
(($reg1 & 0x80) == 0x80 and $reg2 == 0x12);
return unless (($reg1 & 0x80) == 0x00 and
($reg2 == 0xc3 or $reg2 == 0x94)) or
(($reg1 & 0x80) == 0x80 and
($reg2 == 0x12 or $reg2 == 0x06));
}
return unless ($reg1 & 0x07) == 0x00;
$reg1 = i2c_smbus_read_byte_data($file,0x58) & 0xfe;