Re: upowerd claiming standard FTDI

2012-02-17 Thread Richard Hughes
On 16 February 2012 22:39, Joshua Lamorie wrote: > Any idea how long it should take for it to give up? I'll have a look at the > upower source to see if my device (the console for an embedded Linux device) > is somehow appearing to be a Watts Up. I should try three times iirc. Richard. ___

Re: upowerd spamming syslog - value "120.000000" out of range for percentage

2012-02-17 Thread Richard Hughes
On 17 February 2012 10:06, Arnaud Quette wrote: > we, in NUT, have a workaround for this, clamping any value higher than 100 %: Great, I'll do the same in upower. Thanks: commit 2c02598806425bf60244d60f45c578e23bf08152 Author: Richard Hughes Date: Fri Feb 17 10:30:47 2012 + Clamp the

Re: upowerd spamming syslog - value "120.000000" out of range for percentage

2012-02-17 Thread Arnaud Quette
2012/2/17 johnm : > On 02/16/2012 01:16 PM, Richard Hughes wrote: >> On 12 February 2012 22:01, johnm wrote: >>> shows. It seems upowerd doesn't like this value though. As you can see >>> below, upower -d reports 0%. Any fix for this? >> >> What's upower meant to do if the hardware reports 120%? C