All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Question on platform drivers
Date: Sun, 19 Feb 2006 22:12:48 +0000	[thread overview]
Message-ID: <rcaG8ePs.1140387168.8230370.khali@localhost> (raw)
In-Reply-To: <191fb4ca0602191403u1392a3b4hc5d7b93720c57355@mail.gmail.com>


Hi Juerg,

> I rewrote the vt1211 driver to implement it as a platform driver but
> now sensors doesn't see it anymore. The chip is registered at
> /sys/devices/platform/vt1211.24576 but sensors (2.10.0) reports:
> Can't access procfs/sysfs file
> Unable to find i2c bus information;
> For 2.6 kernels, make sure you have mounted sysfs and libsensors
> was compiled with sysfs support!
> For older kernels, make sure you have done 'modprobe i2c-proc'!
>
> SYSFS support is compiled into libsensors and kernel version is
> 2.6.16-rc3-mm1.

Did you register your driver with the hwmon class? libsensors scans
/sys/class/hwmon for hardware monitoring chips. If you device doesn't
show up there, it won't be found.

--
Jean Delvare


  reply	other threads:[~2006-02-19 22:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 22:03 [lm-sensors] Question on platform drivers Juerg Haefliger
2006-02-19 22:12 ` Jean Delvare [this message]
2006-02-22  5:17 ` Juerg Haefliger
2006-02-22  8:37 ` Jean Delvare
2006-02-23  2:02 ` Juerg Haefliger
2006-02-24  4:31 ` Mark M. Hoffman
2006-02-24  8:21 ` Jean Delvare
2006-02-24 22:01 ` Jean Delvare
2006-02-25 15:27 ` Mark M. Hoffman
2006-02-25 19:27 ` Juerg Haefliger

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=rcaG8ePs.1140387168.8230370.khali@localhost \
    --to=khali@linux-fr.org \
    --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.