linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Echtler <floe@butterbrot.org>
To: David Herrmann <dh.herrmann@googlemail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Wii Balance Board vs. bluez
Date: Mon, 17 Sep 2012 17:01:18 +0200	[thread overview]
Message-ID: <50573B3E.7050003@butterbrot.org> (raw)
In-Reply-To: <CANq1E4RE4ZhfvxhO=MdbMdwUZYrsdYnw=Yn7uLJE4gTAbHhOEw@mail.gmail.com>

Hi David,

On 17.09.2012 11:47, David Herrmann wrote:
> On Sat, Sep 15, 2012 at 5:31 PM, Florian Echtler <floe@butterbrot.org> wrote:
>> never mind - I tested my patch again and noticed that the driver wasn't able
>> to read all 24 calibration bytes in one go, which was the root cause for not
>> getting any data (I am simply disabling the extension when not getting
>> proper calibration data).
> Thanks! I have both patches ready for submission. However, could you
> actually tell me in what range data is submitted? As I said, I cannot
> test these patches. But looking at the code, you get 16bit per value
> raw input. You then calculate the per-kg value and multiply it by
> 17kg. So I guess you fill up the whole 16bit?
> Your second patch does not adjust the MIN/MAX values for the ABS_HATXY
> values and I am just looking for good values here.
OK, I see - the advertised maximum weight for the balance board is 150 
kg. In theory, that would mean that every one of the 4 sensors can take 
up to 150 kg (if a very heavy person is standing on one foot right in 
the corner), which would translate to an absolute maximum value of 
15000. In "unweighted" state, my balance board reports slightly negative 
values for some sensors, so a minimum of perhaps -500 would be appropriate.

Thanks for integrating my patch!

Florian
-- 
SENT FROM MY PDP-11

      parent reply	other threads:[~2012-09-17 15:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 20:50 Wii Balance Board vs. bluez Florian Echtler
2012-09-12 21:10 ` David Herrmann
2012-09-13  5:59   ` Florian Echtler
2012-09-13 14:38     ` David Herrmann
2012-09-13 14:39       ` David Herrmann
2012-09-13 21:35         ` Florian Echtler
2012-09-14  9:02           ` David Herrmann
2012-09-15 15:31             ` Florian Echtler
2012-09-17  9:47               ` David Herrmann
2012-09-17 10:32                 ` David Herrmann
2012-09-17 15:01                 ` Florian Echtler [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=50573B3E.7050003@butterbrot.org \
    --to=floe@butterbrot.org \
    --cc=dh.herrmann@googlemail.com \
    --cc=linux-bluetooth@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 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).