mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
W83627DHG has no subclients.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5332 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
6cf8b4be86
commit
8827e4bac6
2 files changed
+4
-2
No files matched your search
@@ -32,6 +32,7 @@ SVN-HEAD
|
||||
Add ITE IT8720 support
|
||||
Add Texas Instruments TMP411 support
|
||||
Prevent misdetection of W83627DHG on I2C as LM78
|
||||
W83627DHG has no subclients
|
||||
|
||||
3.0.2 (2008-05-18)
|
||||
documentation: Delete the FAQ, now maintained on the wiki
|
||||
|
||||
@@ -4610,10 +4610,11 @@ sub w83781d_detect
|
||||
return if $chip == 8 and $reg1 != 0x7a;
|
||||
return if $chip == 9 and $reg1 != 0xa1;
|
||||
return if $chip == 10 and $reg1 != 0xa2;
|
||||
$reg1 = i2c_smbus_read_byte_data($file, 0x4a);
|
||||
# Default address is 0x2d
|
||||
@res = ($addr != 0x2d) ? (7) : (8);
|
||||
return @res if $chip == 9; # No subclients
|
||||
return @res if $chip >= 9; # No subclients
|
||||
|
||||
$reg1 = i2c_smbus_read_byte_data($file, 0x4a);
|
||||
push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08;
|
||||
push @res, (($reg1 & 0x70) >> 4) + 0x48 unless ($reg1 & 0x80 or $chip == 2);
|
||||
return @res;
|
||||
|
||||
Reference in new issue
Block a user