From: Alan Ott <alan@signal11.us>
To: Antonio Ospite <ospite@studenti.unina.it>
Cc: linux-input@vger.kernel.org, "Jiri Kosina" <jkosina@suse.cz>,
"Jim Paris" <jim@jtan.com>, "Ranulf Doswell" <ralf@ranulf.net>,
"Mikko Virkkilä" <mvirkkil@cc.hut.fi>,
falktx@gmail.com
Subject: Re: [RFC, PATCH 0/2] Enable setting leds via hidraw on Sixaxis
Date: Wed, 13 Oct 2010 18:15:05 -0400 [thread overview]
Message-ID: <4CB62F69.1070809@signal11.us> (raw)
In-Reply-To: <1287003458-3791-1-git-send-email-ospite@studenti.unina.it>
On 10/13/2010 04:57 PM, Antonio Ospite wrote:
> Hi,
>
> this series adds a new quirk to force output reports to be sent over the
> control endpoint rather than the interrupt ep, this is needed on our
> "beloved" Sixaxis controller in order to set leds via hidraw, sending
> the output report on the interrupt endpoint does not have any effect
> whatsoever.
>
> This is just an RFC for now, the quirk name can be improved, and I have
> to make clear in the code and in the commit messages if this is for
> hidraw only, but you can get the idea already.
>
> Thanks,
> Antonio
>
>
> Antonio Ospite (2):
> HID: usbhid, new quirk to force out reports on the control ep
> HID: hid-sony, use HID_QUIRK_FORCE_OUT_CONTROL_EP for Sixaxis
>
> include/linux/hid.h | 1 +
> drivers/hid/hid-sony.c | 4 +++-
> drivers/hid/usbhid/hid-core.c | 3 ++-
> 3 files changed, 6 insertions(+), 2 deletions(-)
>
>
>
Hi Antonio,
If it were me, I'd just call usb_control_msg() from inside your driver
(hid-sony) instead of calling usbhid_output_report(). What's wrong with
doing that?
Alan.
next prev parent reply other threads:[~2010-10-13 22:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-02 15:59 hidraw, sixaxis and output reports Antonio Ospite
2010-10-04 13:58 ` Alan Ott
2010-10-13 20:57 ` [RFC, PATCH 0/2] Enable setting leds via hidraw on Sixaxis Antonio Ospite
2010-10-13 22:15 ` Alan Ott [this message]
2010-10-13 22:27 ` Antonio Ospite
2010-10-13 22:54 ` [RFC, PATCH] HID: hid-sony, override usbhid_output_raw_report for Sixaxis Antonio Ospite
2010-10-13 23:23 ` Alan Ott
2010-10-14 7:48 ` Antonio Ospite
2010-10-14 15:09 ` Alan Ott
2010-10-19 14:13 ` [PATCH] " Antonio Ospite
2010-10-20 14:51 ` Jiri Kosina
2010-10-13 20:57 ` [RFC, PATCH 1/2] HID: usbhid, new quirk to force out reports on the control ep Antonio Ospite
2010-10-13 20:57 ` [RFC, PATCH 2/2] HID: hid-sony, use HID_QUIRK_FORCE_OUT_CONTROL_EP for Sixaxis Antonio Ospite
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=4CB62F69.1070809@signal11.us \
--to=alan@signal11.us \
--cc=falktx@gmail.com \
--cc=jim@jtan.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=mvirkkil@cc.hut.fi \
--cc=ospite@studenti.unina.it \
--cc=ralf@ranulf.net \
/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).