|
From: Svetoslav S. <ga...@st...> - 2003-09-12 13:16:22
|
Hi Aivils,
could you also post it as attachment,
as some of the lines are broken
best,
svetljo
and a question
you add this line commented out ( but under 2.4 bruby it's not commented out)
what's its purpose
> @@ -1145,11 +1145,24 @@ static struct input_handle *kbd_connect(
> * beeper is independent we can share it with all VTs that don't
> * have one.
> */
> + //if(strncmp(dev->phys,"isa0061",7))
> if (i != BTN_MISC) {
> - if (!vt->keyboard) {
> - vt->keyboard = handle;
> - handle->private = vt;
> - }
> + while (vt) {
> + if (vt->next && !vt->next->keyboard) {
> + vt = vt->next;
> + continue;
> + }
> + if (!vt->keyboard) {
> + vt->keyboard = handle;
> + handle->private = vt;
> + printk(KERN_INFO "keyboard.c: %s
> vc:%d-%d\n",
> + dev->name,
> + vt->first_vc,
> + vt->first_vc + vt->vc_count - 1);
> + break;
> + }
> + vt = vt->next;
> + }
> kbd_refresh_leds(handle);
> }
> if (test_bit(EV_SND, dev->evbit)) {
|