All of lore.kernel.org
 help / color / mirror / Atom feed
From: alanc@pipstechnology.co.uk (Alan Clucas)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] DS75
Date: Wed, 07 Feb 2007 10:14:36 +0000	[thread overview]
Message-ID: <45C9A68C.2020003@pipstechnology.co.uk> (raw)
In-Reply-To: <45BDE148.7020108@pipstechnology.co.uk>

Jean Delvare wrote:
> Hi Alan,
> 
> On Tue, 06 Feb 2007 10:19:21 +0000, Alan Clucas wrote:
>>> Wow. I have to admit it's not exactly what I expected. The fact that
>>> some (seemingly random) unused addresses work while others return an
>>> error instead is rather puzzling. At least this gives us several ways
>>> to detect the DS75.
>> I did run it several times and reboot just to check - those "random" 
>> addresses are fixed and always the same.
> 
> OK, thanks for checking this, I was wondering. I'm also curious to know
> whether other DS75 chips behave exactly the same or if it's
> chip-specific.

I've tested it on another chip from another batch with exactly the same 
random addresses (output varied as the temperature of the board was 
different, but otherwise looked the same). Once we have more running 
systems I'll do some more tests.

>> Your sensors detect patch works fine:
>>
>> Next adapter: CS5535 ACB0 (i2c-0)
>> Do you want to scan it? (YES/no/selectively): yes
>> Client found at address 0x48
>> Probing for `National Semiconductor LM75'...                No
>> Probing for `Dallas Semiconductor DS75'...                  Success!
>>      (confidence 6, driver `lm75')
>> Probing for `National Semiconductor LM77'...                No
>> Probing for `Dallas Semiconductor DS1621'...                No
>> Probing for `Maxim MAX6650/MAX6651'...                      No
>> Probing for `National Semiconductor LM92'...                No
>> Probing for `National Semiconductor LM76'...                No
>> Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
> 
> OK, great, thanks for testing. I'll apply the patch to SVN soon.
> 
>> I'm happy to do the kernel patch for this. Do we want it to continue to 
>> return kind=lm75 as well as name="lm75"; I'm not sure of all the 
>> implications of kind.
> 
> For now libsensors needs to know about all names, otherwise it doesn't
> recognizes the chip features. If we decide to have a separate prefix
> for the DS75, this means we must update libsensors as well (that's a
> trivial change but it must be done.) Both approaches make sense, so
> it's really up to you, whether you prefer a nice separate prefix or
> compatibility with older versions of libsensors. Note that if you ever
> want to take benefit of the additional resolution bits of the DS75,
> having a separate prefix will be useful.
> 
> I'm waiting for your patch, if you're quick enough it can make it into
> kernel 2.6.21.

Attached is the kernel patch and a patch for libsensors as well. The 
libsensors patch does not include your sensors-detect patch.

I have changed the detected name to ds75, hence the libsensors patch. I 
haven't managed to find any lm75 devices here, so I haven't tested this 
on one of those, which would be good before it goes too far. The patch 
is simple enough, but you never can tell.

Feedback appreciated.

Thanks,
Alan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm-sensors-ds75-support.patch
Type: text/x-patch
Size: 1507 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070207/1e897e96/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-ds75-support.patch
Type: text/x-patch
Size: 3374 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070207/1e897e96/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alanc.vcf
Type: text/x-vcard
Size: 562 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070207/1e897e96/attachment.vcf 

  parent reply	other threads:[~2007-02-07 10:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 11:58 [lm-sensors] DS75 Alan Clucas
2007-02-04 17:43 ` Jean Delvare
2007-02-05 13:12 ` Alan Clucas
2007-02-05 17:20 ` Jean Delvare
2007-02-06 10:19 ` Alan Clucas
2007-02-06 14:45 ` Jean Delvare
2007-02-07 10:14 ` Alan Clucas [this message]
2007-02-09  9:39 ` Jean Delvare
2007-02-15 10:47 ` Jean Delvare
2007-02-15 11:01 ` Alan Clucas
2007-02-15 16:28 ` Jean Delvare

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=45C9A68C.2020003@pipstechnology.co.uk \
    --to=alanc@pipstechnology.co.uk \
    --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.