All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rudolf Marek <r.marek@assembler.cz>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] New winbond chip: W83667HG
Date: Wed, 10 Sep 2008 21:06:13 +0000	[thread overview]
Message-ID: <48C836C5.20101@assembler.cz> (raw)
In-Reply-To: <200807072054.10321.phhusson@free.fr>

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Please can you try the patch for sensors-detect? It should detect the chip.

Thanks,
Rudolf

[-- Attachment #2: detect-w83667hg.patch --]
[-- Type: text/x-diff, Size: 1818 bytes --]

Index: sensors-detect
===================================================================
--- sensors-detect	(revision 5336)
+++ sensors-detect	(working copy)
@@ -852,6 +852,12 @@
        i2c_detect => sub { w83781d_detect(10, @_); },
      },
      {
+       name => "Nuvoton W83667HG",
+       driver => "use-isa-instead",
+       i2c_addrs => [0x28..0x2f],
+       i2c_detect => sub { w83781d_detect(11, @_); },
+     },
+     {
        name => "Asus AS99127F (rev.1)",
        driver => "w83781d",
        i2c_addrs => [0x28..0x2f],
@@ -1984,6 +1990,14 @@
 	alias_detect => sub { winbond_alias_detect(0x2b, 0x3e, @_); },
       },
       {
+	name => "Nuvoton W83667HG Super IO Sensors",
+	driver => "w83627ehf",
+	devid => 0xA510,
+	devid_mask => 0xFFF0,
+	logdev => 0x0b,
+	alias_detect => sub { winbond_alias_detect(0x2b, 0x3e, @_); },
+      },
+      {
 	name => "Winbond W83L517D Super IO",
 	driver => "not-a-sensor",
 	devid => 0x61,
@@ -4559,7 +4573,8 @@
 # $_[0]: Chip to detect (0 = W83781D, 1 = W83782D, 2 = W83783S,
 #                        3 = W83627HF, 4 = AS99127F (rev.1),
 #                        5 = AS99127F (rev.2), 6 = ASB100, 7 = W83791D,
-#                        8 = W83792D, 9 = W83627EHF 10 = W83627DHG)
+#                        8 = W83792D, 9 = W83627EHF 10 = W83627DHG,
+#                       11 = W83667HG)
 # $_[1]: A reference to the file descriptor to access this chip.
 # $_[2]: Address
 # Returns: undef if not detected, (8, addr1, addr2) if detected, but only
@@ -4610,6 +4625,7 @@
   return if $chip == 8 and  $reg1 != 0x7a;
   return if $chip == 9 and  $reg1 != 0xa1;
   return if $chip == 10 and  $reg1 != 0xa2;
+  return if $chip == 11 and  $reg1 != 0xc1;
   # Default address is 0x2d
   @res = ($addr != 0x2d) ? (7) : (8);
   return @res if $chip >= 9; # No subclients

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2008-09-10 21:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
2008-07-07 21:04 ` Rudolf Marek
2008-09-10 20:40 ` Rudolf Marek
2008-09-10 21:06 ` Rudolf Marek [this message]
2008-09-12  9:56 ` Marco Chiappero
2008-09-12 10:42 ` Jean Delvare
2008-09-12 11:03 ` Marco Chiappero
2008-09-13  9:58 ` Iain Paton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C836C5.20101@assembler.cz \
    --to=r.marek@assembler.cz \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.