From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] HowTo Asus P5Q, W83667HG vs ATK0110 - fancontrol
Date: Wed, 24 Jun 2009 12:53:15 +0000 [thread overview]
Message-ID: <20090624145315.1436db6a@hyperion.delvare> (raw)
In-Reply-To: <20090624094735.GA16670@punzenstreichler.doom>
On Wed, 24 Jun 2009 14:32:45 +0200, Konstantin Kletschke wrote:
> Hi Jean,
>
> Am 2009-06-24 14:10 +0200 schrieb Jean Delvare:
>
> > Note that the >> doesn't buy you anything, > is enough. These are
> > virtual files.
>
> My zsh has no_clobber enabled and the shell insists on >> even on
> virtual files therefore :-)
The usual way to counter no_clobber is >|, not >>.
> > This is very odd. Which kernel are you running exactly? I have a hard
>
> Exactly I am running 2.6.30-rc7, the guy reporting this in the ubuntu
> forum did this februrary 28th, so on another kernel.
Would you be able and willing to apply a patch to your kernel and
rebuild it, if I come up with something?
> > time understanding how this can happen at all. Does writing to pwm3
> > change the value of pwm2, too?
>
> echo into pwm1 changes nothing:
>
> > cat pwm1 pwm2 pwm3
> 77
> 55
> 78
> > echo "99" >> pwm1
> > cat pwm1 pwm2 pwm3
> 77
> 55
> 78
>
> echo into pwm2 changes pwm1:
>
> > cat pwm1 pwm2 pwm3
> 77
> 55
> 78
> > echo "99" >> pwm2
> > cat pwm1 pwm2 pwm3
> 99
> 55
> 78
>
> echo into pwm3 changes pwm3:
>
> > cat pwm1 pwm2 pwm3
> 99
> 55
> 78
> > echo "100" >> pwm3
> > cat pwm1 pwm2 pwm3
> 99
> 55
> 100
This is all very confusing, I admit. I would like you to unload the
w83627ehf driver and try to read from / write to the chip directly. For
this you'll need the isadump and isaset tools (part of lm-sensors.)
Registers pwm1, pwm2 and pwm3 are at 0x01, 0x03 and 0x11, respectively.
You can see their raw value using the following command (as root):
isaset 0x295 0x296 0x4e 0 # set bank to 0
isadump 0x295 0x296
Then I would like you to write to each register, then check the result.
The value written doesn't matter as long as it is different from the
current value of all 3 registers in question:
isaset 0x295 0x296 0x01 0xaa
isadump 0x295 0x296
isaset 0x295 0x296 0x03 0xbb
isadump 0x295 0x296
isaset 0x295 0x296 0x11 0xcc
isadump 0x295 0x296
If this works fine then that would be a bug in the driver. If it
doesn't, that would be a hardware bug.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2009-06-24 12:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 9:47 [lm-sensors] HowTo Asus P5Q, W83667HG vs ATK0110 - fancontrol Konstantin Kletschke
2009-06-24 11:08 ` Luca Tettamanti
2009-06-24 12:10 ` Jean Delvare
2009-06-24 12:32 ` Konstantin Kletschke
2009-06-24 12:34 ` Konstantin Kletschke
2009-06-24 12:38 ` Luca Tettamanti
2009-06-24 12:53 ` Jean Delvare [this message]
2009-06-24 13:44 ` Konstantin Kletschke
2009-06-24 14:23 ` Konstantin Kletschke
2009-06-25 8:31 ` Jean Delvare
2009-06-25 9:21 ` Jean Delvare
2009-06-29 8:44 ` Konstantin Kletschke
2009-06-29 8:47 ` Konstantin Kletschke
2009-07-12 22:11 ` Marco Chiappero
2009-08-08 22:13 ` Reimundo Heluani
2009-08-09 1:58 ` Reimundo Heluani
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=20090624145315.1436db6a@hyperion.delvare \
--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.