From: Aivils S. <ai...@un...> - 2006-01-11 10:04:51
|
On Tre=F0diena, 11. Janv=E2ris 2006 11:22, Zephaniah E. Hull wrote: > On Wed, Jan 11, 2006 at 10:43:03AM +0200, Aivils Stoss wrote: > > On Pirmdiena, 9. Janv=E2ris 2006 16:33, Jean-Daniel Pauget wrote: > > > > so do we have a complete working patch for 2.6.15 now somewhere? > > > > where? > > > > - fix 2.6.15 compile issues > > - module and service have separate install commands > > > > http://www.ltn.lv/~aivils/files/faketty-0.05.tar.bz2 > > > > Unfortunately LED switch patch does not go into Linus tree > > because of silly objection. May be X guys will request that > > feature and then Andrew Morton applay it. If you use evdev > > of X, then you have same trouble of LEDs. > > I generally only skim this list, could you please provide more details > on the problem, and a link to the patch in question? Patch fix case , when 1st X uses old tty layer and 2nd (3rd...) X uses evdev driver. Without patch 1st X via tty switch LED's of all connected keyboards. http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15/2.6.15-mm= 2/broken-out/input-keyboard_tasklet-dont-touch-leds-of-already-grabed-devic= e.patch Discusion: > Dmitry Torokhov <dmi...@gm...> wrote: > > > > On 1/6/06, Vojtech Pavlik <vo...@su...> wrote: > > > On Thu, Jan 05, 2006 at 10:36:41PM -0800, ak...@os... wrote: > > > > > > Fine with me. > > > > > > > From: Aivils Stoss <ai...@un...> > > > > > > > > Recent kernels allow exclusive usage of input device when input dev= ice=20 is > > > > grabbed. =A0keyboard_tasklet does not check device state and switch= =20 LED's of > > > > all keyboards. =A0However grabbed device may be use another LED ste= ering > > > > code. > > > > > > > > This patch forbid keyboard_tasklet switch LED's of grabbed devices. > > > > > >=20 > > The same objection as before - LED state is not synched back after > > device is released. We probably need "ungrab" hook somewhere... > >=20 >=20 > Ho hum. =A0I'll keep the patch queued and will doubtless resend it in a f= ew > weeks time. =A0One day someone will get sick of this and will fix it for= =20 real ;) We cannot sync back keyboard mapping, rate, LED state after "ungrab". I cannot understand view point of Dmitry Torokhov. Someone realy get sick if ungrabing became "hooked". Aivils |