mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
Fix W83791D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2034 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
34076ded72
commit
e574d476b5
2 files changed
+3
-3
No files matched your search
@@ -2699,7 +2699,7 @@ sub w83781d_detect
|
||||
return if $chip == 4 and $reg1 != 0x31;
|
||||
return if $chip == 5 and $reg1 != 0x31;
|
||||
return if $chip == 6 and $reg1 != 0x31;
|
||||
return if $chip == 7 and $reg1 != 0x70;
|
||||
return if $chip == 7 and $reg1 != 0x71;
|
||||
$reg1 = i2c_smbus_read_byte_data($file,0x4a);
|
||||
@res = (8);
|
||||
@res = (7) # Asus chips were always seen at 0x2d
|
||||
|
||||
Reference in new issue
Block a user