public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Jan Kratochvil <honza@jikos.cz>
Cc: rpurdie@rpsys.net, dtor@mail.ru, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Support for controlling leds on xbox 360 pad.
Date: Thu, 31 May 2007 14:07:16 +0000	[thread overview]
Message-ID: <20070531140715.GA5943@ucw.cz> (raw)
In-Reply-To: <alpine.LRH.0.98.0705292250430.22353@twin.jikos.cz>

Hi!

>  this patch is against current input tree.
> 
> Xbox360 pad has four leds, which forms a circle. 
> Unfortunately the leds itself are not independent, and 
> we can't control them directle, but rather through 
> sending commands which have predefined meaning (like 
> turn first on, others off)
> This patch allows us to send these commands via leds 
> subsystem. Commands itself are described here: 
> http://www.free60.org/wiki/Gamepad.
> 
> Led subsystem allows us to set brightness, but there is 
> nothing like brightness on this device. So brightness is 
> actually interpreted as the command (only values between 
> 0 and 14 are accepted).

Ugh, no, I do not think we want to do that.

Devices with brightness 0 or 255 (off or on) are okay, but controlling
4 leds with one brightness is just wrong.

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  parent reply	other threads:[~2007-05-31 15:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29 21:11 [PATCH] Support for controlling leds on xbox 360 pad Jan Kratochvil
2007-05-29 21:29 ` Jan Kratochvil
2007-05-29 21:41   ` Richard Purdie
2007-05-30  3:17     ` Dmitry Torokhov
2007-05-30 14:56     ` Dmitry Torokhov
2007-05-30 16:32       ` Richard Purdie
2007-05-30 21:37         ` Jan Kratochvil
2007-06-03 18:02           ` Jan Kratochvil
2007-06-03 18:07             ` Jan Kratochvil
2007-06-15  4:15             ` Dmitry Torokhov
2007-06-15  5:06               ` Dmitry Torokhov
2007-05-31 14:07 ` Pavel Machek [this message]
2007-05-31 15:53   ` Jan Kratochvil
2007-05-31 16:09     ` Richard Purdie

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=20070531140715.GA5943@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=dtor@mail.ru \
    --cc=honza@jikos.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.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