All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.w.r.degoede@hhs.nl (Hans de Goede)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] PC8374L SuperIO chip
Date: Wed, 14 Mar 2007 20:52:13 +0000	[thread overview]
Message-ID: <45F8607D.8010802@hhs.nl> (raw)
In-Reply-To: <20070310181650.33ed8ef7@beast>



Marcin DrStorm Sliwinski wrote:
> On Sat, 10 Mar 2007 22:57:46 +0100
> Hans de Goede <j.w.r.degoede at hhs.nl> wrote:
> 
>> Writing a driver should be quite doable. My only concern is that this 
>> chip breathes acpi / tastes like acpi. It very much seems designed to 
>> make implementing acpi easy (thermal zones instead of sensors, etc).
> 
> Bad part is that ACPI on my board don't show any data about sensors, thermal zones or fans.
> Probably it wasn't implemented in bios (AMI, worst bios i ever saw)
> Even on my old Toshiba laptop i get at least cpu temperature from ACPI.
> 
>> So I'm afraid we might have some collisions with acpi here. Either way I 
>> would like to write a little userspace test program (for starters) to 
>> see if we can get some info out of the chip.
> 
> If You write it I will be very happy to test it.
> Basic info about my box (I don't know if You need it)
> CPU: Core 2 Duo
> OS: Gentoo Linux 64bit with 2.6.20.2 kernel
> 

Okay,

I've done some reading of the datasheet and it seems that this is one of the
more complicated superio chips. This beast can do both io based io and 
memorymapped io. And I had to read the chapter on this 3 times to find out how 
it all works. (My fault I tried to quick read. just reading it linear helps)

Anyways I'm ready write a simple iopl using, run as root test program now. I'll 
see if I can find some time for that tomorrow and send it to you then.

Also it would greatly help / speed things up if I could get ssh access to that 
machine. In order for that to be really usefull I would need either to be able 
to sudo, or (to be in a group with) r/w access to /dev/port and /dev/mem

You can send me account info with the public key registered to this mail 
address at pgp.mit.edu .

Thanks & Regards,

Hans



      parent reply	other threads:[~2007-03-14 20:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-10 17:16 [lm-sensors] PC8374L SuperIO chip Marcin DrStorm Sliwinski
2007-03-10 17:24 ` Marcin DrStorm Śliwiński
2007-03-10 17:25 ` Marcin DrStorm Śliwiński
2007-03-10 21:57 ` Hans de Goede
2007-03-10 22:11 ` Marcin DrStorm Sliwinski
2007-03-14 20:52 ` Hans de Goede [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=45F8607D.8010802@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --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.