All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: sis5595
Date: Thu, 19 May 2005 06:24:05 +0000	[thread overview]
Message-ID: <20030716150446.18550542.khali@linux-fr.org> (raw)
In-Reply-To: <200307161427.08403.linux@1g6.biz>


> I am using 2.6.0-test1,
> and I launched "sensors-detect",
> it told me I have an sis5595.
> So I began to port the 2.4.21 sis5595 driver to 2.6 kernel.
> Here are the beginning of my work, but I am stuck here :
> i2c_detect doesn't call sis5595_detect.

There are many, many SiS chipsets that are misdetected as SiS5595. I
suggest you begin with trying lm_sensors on a 2.4 kernel, so you'll see
if it works on your system. What's more, libsensors and most userspace
tools do not exist

> I don't know if it is because I haven't the good hardware or
> if I made a mistake. I seems I have something at adress 8008, but I
> don't have enougth experience in developping kernel drivers so I gived
> up, and I send you my work.

Your porting is wrong. In 2.5/2.6, sensor modules export their values
using sysfs, not procfs. And I guess you started with an old version of
sis5595.c, because many things I see in "your" code has been removed
from our times ago. If you really want to port the driver, please see
with Greg how to do this correctly.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

  reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 sis5595 Nicolas
2005-05-19  6:24 ` Jean Delvare [this message]
2005-05-19  6:24 ` sis5595 Mark M. Hoffman
2005-05-19  6:24 ` sis5595 Nicolas
2007-06-07 17:40 ` [lm-sensors] sis5595 Jean Delvare
2007-06-08 15:20 ` Ivo Manca
2007-06-09  9:50 ` Jean Delvare
2007-06-09 11:56 ` Ivo Manca
2007-06-11 15:06 ` Jean Delvare
2007-06-11 16:21 ` Ivo Manca
2007-06-11 16:43 ` Hans de Goede
2007-06-12 16:25 ` Jean Delvare
2007-06-12 17:42 ` Hans de Goede
2007-06-14 14:19 ` Ivo Manca
2007-06-14 19:13 ` 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=20030716150446.18550542.khali@linux-fr.org \
    --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.