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:
@@ -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