Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: SERIO_USERDEV patch for 2.6 | Date | Sun, 30 May 2004 11:16:31 -0500 |
| |
On Sunday 30 May 2004 10:58 am, Vojtech Pavlik wrote: > On Sun, May 30, 2004 at 10:09:18AM -0500, Dmitry Torokhov wrote: > > > On Sunday 30 May 2004 08:42 am, Vojtech Pavlik wrote: > > > > > > Anyway, looking at the patch, it's not bad, and it's quite close to what > > > I was considering to write. I'd like to keep it separate from the > > > serio.c file, although it's obvious it'll require to be linked to it > > > statically, because it needs hooks there - it cannot be a regular serio > > > driver. > > > > > > > Do we really have to have this stuff directly in serio? How about being able > > to mark some serio ports as working in raw mode (i8042.raw=0,1,1,0) and have > > separate (serio_raw?) module bind to such ports > > We don't have to. But it'd be rather convenient to have it. It would > work for all serio ports, not just i8042, etc, etc. > > And if kept in a separate file (serio-dev.c), it wouldn't mess up things > too much. >
Well, my argument is that we only have immediate need for raw access to PC-style AUX ports because of wide variety of connected devices. Serial ports have other historical means of accessing them, busmice ports have well known devices attached.
Once we have sysfs integration in place I imagine we will be able to implement dynamic binding of serio drivers and ports, atkbd and psmouse being default ones and user will be able to rebind a specific port to let's say serio-raw or some other driver that does not have automatic hardware detection yet.
But in the meantime marking several ports raw will allow most of the users use old means of communicating with their pointing devices without too much effort.
-- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |