Re: serio chaining in 2.6.x?

From: Vojtech Pavlik
Date: Mon Nov 17 2003 - 02:49:45 EST


On Sun, Nov 16, 2003 at 09:06:52PM -0600, Zinx Verituse wrote:
> I have a device (the device in question is the infamous cuecat) which
> connects between the computer and a PS/2 device, and I'm trying to
> figure out a good way to chain serio devices, such as:
> atkbd <-> cuecat <-> lowlevel driver
>
> The serio driver, however, is very clearly not designed for such
> chaining. So, the question is:
>
> What do you folks think the best method for chaining the
> serio drivers is?

You grab the port. Then you create a new one and register it. And you
forward all data that's not destined for you through to the new serio
port.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/