devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Arnaud Ebalard <arno@natisbad.org>
Cc: Simon Guinot <simon.guinot@sequanux.org>,
	Andrew Lunn <andrew@lunn.ch>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Jason Cooper <jason@lakedaemon.net>,
	linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
	Olivier Mouchet <olivier.mouchet@gmail.com>,
	Rob Herring <rob.herring@calxeda.com>,
	lm-sensors@lm-sensors.org,
	Grant Likely <grant.likely@secretlab.ca>,
	Rob Landley <rob@landley.net>, Jean Delvare <khali@linux-fr.org>,
	Linux ARM Kernel Mailing List
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [RESEND,PATCHv6 1/1] Add support for GMT G762/G763 PWM fan controllers
Date: Wed, 19 Jun 2013 13:53:21 -0700	[thread overview]
Message-ID: <20130619205321.GA7625@roeck-us.net> (raw)
In-Reply-To: <8761x9svpf.fsf@natisbad.org>

On Wed, Jun 19, 2013 at 10:15:56PM +0200, Arnaud Ebalard wrote:
> Hi Simon,
> 
> Simon Guinot <simon.guinot@sequanux.org> writes:
> 
> > I have tested this patch on my 2Big Network v2 board.
> >
> > Sometimes I get a weird "No such device" error while reading or writing
> > the hwmon sysfs attributes. For example:
> >
> > # cat pwm1
> > cat: read error: No such device
> > # cat pwm1
> > 0
> 
This is odd, since ENODEV should not be returned as error code from i2c read
operations.

What is the i2c controller ?

Thanks,
Guenter

> Weird, I cannot reproduce that at all on my ReadyNAS Duo v2.
> 
> > Note, that if the same command is executed again (just after the faulty
> > one), then it will succeed most of the time. The errors seems to happen
> > quite randomly and not very often. I'd say one time over ten tries.
> > I suppose this error is now visible due to the enhanced error path in
> > g762_update_client. It looks like we learn something by checking the
> > return value for i2c_smbus_read_byte_data :)
> >
> > Except that, all is working as expected. This new version fixes
> > effectively open-loop driving when the set_cnt register is set to 0xff.
> >
> > Also I am planning (hopefully this Wednesday) to test your patch on my
> > 5Big Network v2 board. This last also embed a g762 controller but with a
> > three wires fan instead. Then, I should be able to test the closed-loop
> > mode behaviour.
> 
> Thanks for your tests, Simon.
> 
> Cheers,
> 
> a+ 
> 

  reply	other threads:[~2013-06-19 20:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15 22:36 [RESEND, PATCHv6 1/1] Add support for GMT G762/G763 PWM fan controllers Arnaud Ebalard
     [not found] ` <87sj0jhuhn.fsf-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2013-06-16  1:59   ` [RESEND,PATCHv6 " Guenter Roeck
2013-06-16 21:58 ` Guenter Roeck
2013-06-17 10:19 ` Simon Guinot
2013-06-19 20:15   ` Arnaud Ebalard
2013-06-19 20:53     ` Guenter Roeck [this message]
2013-06-19 21:26       ` Simon Guinot
2013-06-20  1:20         ` Guenter Roeck

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=20130619205321.GA7625@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=andrew@lunn.ch \
    --cc=arno@natisbad.org \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=jason@lakedaemon.net \
    --cc=khali@linux-fr.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lm-sensors@lm-sensors.org \
    --cc=olivier.mouchet@gmail.com \
    --cc=rob.herring@calxeda.com \
    --cc=rob@landley.net \
    --cc=simon.guinot@sequanux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).