mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-29 21:08:19 +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:
1 parent
325d5d81bc
commit
8a7d9d7d07
4 files changed
+25
-12
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user