From: Rafi Rubin <rafi@seas.upenn.edu>
To: Jiri Kosina <jkosina@suse.cz>
Cc: micki@n-trig.com, linux-input@vger.kernel.org
Subject: Re: [PATCH 2/2] hid-ntrig: calibration
Date: Tue, 15 Mar 2011 16:05:12 -0400 [thread overview]
Message-ID: <1300219512.19767.11.camel@holly> (raw)
In-Reply-To: <alpine.LNX.2.00.1103151646120.19969@pobox.suse.cz>
----- Original message -----
> On Fri, 11 Mar 2011, Rafi Rubin wrote:
>
> > On a related note, I looked into switching to usbhid_submit_report for
> > firmware version polling but it looks like the report offset (or
> > something like that) is wrong.
> >
> > I get:
> > af082500
> >
> > usbmon shows the devices sends:
> > 0c002508 afe10000
> >
> > If I change the report offset in the field to 8, I get the desired
> > bits: e1af0825
> >
> >
> > I don't really know much about parsing the hid descriptors, so I don't
> > know why its off by a byte. Perhaps its worth testing a different
> > firmware to see if this is specific to my current firmware.
>
> I am not really sure I fully understand what you are saying here. Just
> for clarification:
>
> - isn't the byte the 'report id' number here?
> - does your message mean that the patch doesn't work? Or is this quite
> the contrary -- explanation why it is written the way it is (i.e. using
> usb_control_msg() instead of usbhid_submit_report())?
usbhid_submit_report does not work for calibration and firmware version polling.
Sorry for the confusion.
Rafi
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-03-15 20:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 7:37 [PATCH 1/2] hid-ntrig: sysfs nodes for modes Rafi Rubin
2011-03-11 7:37 ` [PATCH 2/2] hid-ntrig: calibration Rafi Rubin
2011-03-11 7:48 ` Rafi Rubin
2011-03-15 15:47 ` Jiri Kosina
2011-03-15 20:05 ` Rafi Rubin [this message]
2011-03-21 17:15 ` Henrik Rydberg
2011-03-21 18:25 ` Rafi Rubin
2011-03-24 14:32 ` Jiri Kosina
2011-03-24 16:52 ` Rafi Rubin
2011-03-11 8:18 ` [PATCH 1/2] hid-ntrig: sysfs nodes for modes Dmitry Torokhov
2011-03-11 9:56 ` Rafi Rubin
2011-03-13 6:27 ` Dmitry Torokhov
2011-03-15 4:30 ` Rafi Rubin
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=1300219512.19767.11.camel@holly \
--to=rafi@seas.upenn.edu \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=micki@n-trig.com \
/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