Re: [PATCH] psmouse: fix mouse hotplugging

From: Tomasz Torcz
Date: Thu Apr 22 2004 - 10:59:55 EST


On Thu, Apr 22, 2004 at 10:44:56AM +0300, Kim Holviala wrote:
> Note to myself: make small patches not big confusing ones.
>
> This patch fixes hotplugging of PS/2 devices on hardware which don't
> support hotplugging of PS/2 devices. In other words, most desktop machines.

Is this needed? I frequently "hotplug" my trackball when 2.6 is forgeting
about it. Replugin make it work again, spitting in logs:

Apr 18 20:04:35 mother input.agent[30260]: ... no modules for INPUT product
Apr 18 20:04:35 mother input.agent[30241]: ... no modules for INPUT product
Apr 18 20:04:35 mother input.agent[30266]: ... no modules for INPUT product 11/2/5/0
Apr 18 20:04:35 mother kernel: input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
Apr 18 20:04:37 mother udev[30307]: removing device node '/udev/input/mouse0'
Apr 18 20:04:37 mother udev[30309]: removing device node '/udev/input/event0'
Apr 18 20:04:38 mother udev[30312]: configured rule in '/etc/udev/udev.rules' at line 76 applied, 'mouse0' becomes 'input/%k'
Apr 18 20:04:38 mother udev[30312]: creating device node '/udev/input/mouse0'
Apr 18 20:04:38 mother udev[30313]: configured rule in '/etc/udev/udev.rules' at line 77 applied, 'event0' becomes 'input/%k'
Apr 18 20:04:38 mother udev[30313]: creating device node '/udev/input/event0'

--
Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.''
zdzichu@xxxxxxxxxxxxxxxxx -- Mitchell Blank on LKML

-
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/