On Tue, May 20, 2008 at 01:02:34PM +0200, Pau Oliva Fora wrote:
You need to close the device. Making evdev a module and unloading it
should do the trick (you don't use tsdev, do you?).
If you can't find the way to disable device then you need to revert to
the old way, with enabling it in _probe() and freein irq in _remove(),
you just need to make sure that you free_irq() first and then call
input_unregister_device().
Also, like Andrey said, we might consider using DMI table so we dont
poke IO ports on random boxes. Oh, and one more thing, you need to
reserve the IO ports your driver is using with request_region.
--
Dmitry
--