All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: dtor_core@ameritech.net
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFT] Sonypi: convert to the new platform device interface
Date: Tue, 27 Dec 2005 23:53:36 +0100	[thread overview]
Message-ID: <1135724016.23182.5.camel@deep-space-9.dsnet> (raw)
In-Reply-To: <d120d5000512271418m26d3da41s18a3f97470eda912@mail.gmail.com>

Le mardi 27 décembre 2005 à 17:18 -0500, Dmitry Torokhov a écrit :

> > However, there are some things that remain unresolved:
> > - the "mousewheel" reports only once every 2 seconds when constantly
> >  wheeling (in mev)

could be because scrolling the wheel generates several kinds of events
(up, down but also fast up, fast down etc), and only some of them get
interpreted. Verify the events by using the verbose=1 parameter.

> > - pressing the jogdial button produces a keyboard event (keycode 158)
> >  rather than a mousebutton 3 event
> >
> 158 is KEY_BACK and is generated on type2 models.. If you load the
> driver with verbose=1 what does it say when you press jog dial?

If you don't have a Back button then you can adjust the 'mask' module
parameter in order to detect only the events you are interested in. And
before you ask yes, Sony reused the same codes for several types of
events...

> > BTW, how can I use the Fn keys on console (keycodes 466-477) for arbitrary
> > shell commands?
> > Such a feature, among which special combinations like Ctrl+Alt+Del also
> > belong, are handled by the kernel which leaves almost no room for
> > user-defined userspace action. Any idea?
> >
> There are daemons that read corersponding /dev/input/eventX and act on
> it. The in-kernel keyboard driver ignores keycodes above 255.

And also daemons more sonypi specific which read /dev/sonypi instead,
like sonypid, sonypidd, jogdiald, kde etc.

Stelian.
-- 
Stelian Pop <stelian@popies.net>


  reply	other threads:[~2005-12-27 22:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13  7:19 [RFT] Sonypi: convert to the new platform device interface Dmitry Torokhov
2005-12-13 18:32 ` Mattia Dongili
2005-12-13 19:04   ` Dmitry Torokhov
2005-12-13 20:30     ` sonypi searching new maintainer (Was: Re: [RFT] Sonypi: convert to the new platform device interface) Stelian Pop
2005-12-13 20:48       ` Dmitry Torokhov
2005-12-13 21:55         ` Stelian Pop
2005-12-13 22:06           ` Dmitry Torokhov
2005-12-14  6:46             ` Stelian Pop
2005-12-25 21:09     ` [RFT] Sonypi: convert to the new platform device interface Jan Engelhardt
2005-12-25 21:17       ` Dmitry Torokhov
2005-12-27 18:02         ` Jan Engelhardt
2005-12-27 22:18           ` Dmitry Torokhov
2005-12-27 22:53             ` Stelian Pop [this message]
2006-01-15 20:48               ` Jan Engelhardt
2006-01-16  4:48                 ` Dmitry Torokhov

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=1135724016.23182.5.camel@deep-space-9.dsnet \
    --to=stelian@popies.net \
    --cc=dtor_core@ameritech.net \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.