From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Romano Giannetti" <romanol@upcomillas.es>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
linux-kernel@vger.kernel.org,
linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: ALPS stop worked between 2.6.13 and 2.6.16
Date: Thu, 30 Mar 2006 08:40:58 -0500 [thread overview]
Message-ID: <d120d5000603300540jb27eca6s56e9debddee0fc94@mail.gmail.com> (raw)
In-Reply-To: <20060330080551.GA19056@pern.dea.icai.upcomillas.es>
On 3/30/06, Romano Giannetti <romanol@upcomillas.es> wrote:
>
> On Wed, Mar 29, 2006 at 11:55:03AM -0500, Dmitry Torokhov wrote:
> > On 3/29/06, Romano Giannetti <romanol@upcomillas.es> wrote:
> > >
> > > but then nothing happened, no devices etc. So evidently the new udev is
> > > unable to cope with the old and maybe buggy Mandriva 2005 configuration[1].
> > > I unfortunately have no time to desentangle the dependency mess, so it's
> > > time to stop testing new kernels... unless anyone can point me to a "howto".
> > >
> >
> > I am sorry to hear that. You might want to check on the hotplug list,
> > maybe someone there could offer you some guidance. To tell you the
> > truth I am still running with static /dev...
> >
>
> Well, if you can hint a "mknod" I can add to my rc scripts to have the ALPS
> touchpad working with the old udev, I wouldn't mind sticking it in my
> system. I have /dev/psaux created ok, but then it seems that the synapctics
> drivers seraches for a /dev/input/event? which do not exists. It is possible
> to have a static entry "working everytime" (I mean, booting with/without
> external mouse, with/withour external keypad etc.)? If so I paint myself
> happy.
Yes, you need to create /dev/input/event0 to /dev/input/event31:
mknod /dev/input/event0 c 13 64
mknod /dev/input/event1 c 13 65
mknod /dev/input/event2 c 13 66
mknod /dev/input/event3 c 13 67
...
mknod /dev/input/event31 c 13 95
>
> Romano
>
> PD: totally unrelated. I was toying with the idea of trasforming a IR remote
> control in a "keyboard". I think there is a way to create a userspace input
> device and then feeding back the "keypresses" to the kernel... can you point
> me to more info on this? Thanks!
>
You need uinput driver (drivers/input/misc/uinput.c). Alternatively
you might want to change your IR driver to be able to change keycodes
it emits (you need to properly set up dev->keytable and
dev->keytablesize) abnd then you can use EVIOCSKEYCODE ioctl on
corresponding even device to change mapping.
--
Dmitry
next prev parent reply other threads:[~2006-03-30 13:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-27 15:36 Romano Giannetti
2006-03-27 16:05 ` Dmitry Torokhov
2006-03-27 19:08 ` Romano Giannetti
2006-03-27 19:12 ` Dmitry Torokhov
2006-03-29 16:43 ` Romano Giannetti
2006-03-29 16:55 ` Dmitry Torokhov
2006-03-30 8:05 ` Romano Giannetti
2006-03-30 13:40 ` Dmitry Torokhov [this message]
2006-03-29 17:01 ` Tomasz Torcz
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=d120d5000603300540jb27eca6s56e9debddee0fc94@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=dtor_core@ameritech.net \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=romanol@upcomillas.es \
/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
all inboxes | Powered by JetHome®