All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Anderson <davea42@gmail.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] w83795.c no longer compiles
Date: Sun, 03 Nov 2013 20:10:39 +0000	[thread overview]
Message-ID: <5276ADBF.4060102@gmail.com> (raw)
In-Reply-To: <5273CD89.6030803@gmail.com>

On 11/03/2013 11:37 AM, Jean Delvare wrote:
> Hi David, Guenter,


... older part of the conversation deleted.
> The drivers in http://khali.linux-fr.org/devel/lm-sensors/drivers/ are
> all snapshots of the respective upstream driver at some point in time,
> to which I added some compatibility glue so that it build for a range
> of older kernels. I update them manually as my time permits and needs
> arise, which means that they are all lagging behind most of the time,
> by construct.
>
> For example, "my" w83795 driver is currently based on the upstream
> driver from kernel 2.6.36.1 (doh, this is so old) with enough
> compatibility glue to work with kernels down to 2.6.27.
>
> In most cases, this shouldn't be a problem, because if you're running a
> very recent kernel, you shouldn't need to use a standalone driver in
> the first place, the upstream driver should work just fine. Which
> brings a question to David: why are you not just using the driver which
> comes with your kernel?

I should have thought of that earlier.

>
> In the case of the w83795 driver I admit it is about time to remove all
> the dust because it's indeed very old...
>
So lets try it now:

Rebooted and "sensors" did not show the proper details, as usual.
I used sensors-detect and the I2C/SMBus Adapter detection found
SMBus I801 adapter at 0400 (i2c-0)
which found
    Nuvoton W83795G/ADG

I said yes to adding lines to /etc/modules
and ran "service kmod start" as sensors detect started
and sensors worked right.

Rebooted again.
And now I get sensors working properly automatically on reboot.
Yay!

Thanks again.
David Anderson




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

      parent reply	other threads:[~2013-11-03 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01 15:49 [lm-sensors] w83795.c no longer compiles David Anderson
2013-11-01 21:09 ` Guenter Roeck
2013-11-02 17:16 ` David Anderson
2013-11-03 19:37 ` Jean Delvare
2013-11-03 20:10 ` David Anderson [this message]

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=5276ADBF.4060102@gmail.com \
    --to=davea42@gmail.com \
    --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.