From: Charles D. <cd...@mv...> - 2001-08-03 19:29:25
|
On Fri, Aug 03, 2001 at 12:10:55PM -0700, James Simmons wrote: > > > Since this is such a issue and I also have written code to deal with = this > > > hot plug issue I will write a library to hides all the "nasty" from t= he > > > apps. > >=20 > > I'm not sure if you can do that for apps that pass the fd from the > > driver to the core to a central select() call which waits for events. If > > they're braindamaged enough, they can't be helped. >=20 > No doubt they have to reworked to use such a library but the benifeits > outway the cost. If the api is simple and exist on many platforms you will > see people migrate really fast. I can see this API getting widespread use as soon as Ruby makes it in to the official kernel (if it only provides an interface to the input core) or sooner (if it additionally provides an interface to /dev/psaux, /dev/ts [Compaq], /dev/touchpanel [Transmeta], /dev/tpanel [VR41xx/Embedded Planet/HIOX] and all the other individual proprietary interfaces out there). Of course, those interfaces won't last long (as they'll hopefully all make it into the input core), but they'd be great for encouraging early adoption. Something providing all these capabilities would certainly make reworking a few APIs quite worthwhile. |