On 4/3/07, Aristeu Rozanski <[EMAIL PROTECTED]> wrote:
Hi Dmitry,
> Do you know if there is a way (like a magic knock) that would allow to
> identify Cortron's devices? I don't like the module option too much,
> given the fact that it will affect all devices. Maybe we should define
> Cortron protocol instead and activate it manually via sysfs?
there's no way to detect this Cortron device, it was my first try.
That's unfortunate. BTW, is this your observation or did you ask
Cortron and this was their response?
Hm, the
new protocol/sysfs idea seems to be much better, I didn't know that was
possible. I'll rework the patch and resubmit.
You'd need to add something like this to psmouse_protocols[]:
{
.type = PSMOUSE_CORTRON,
.name = "CortronPS/2",
.alias = "cortps",
.detect = cortron_detect,
},
and then model cortron_detect after ps2bare_detect (where you don't
actually detect anything, just force protocol).
--
Dmitry