SEARCH  

NEWS

2010.10.06:11:36:28
Przez komiks i animację do wiedzy ekonomicznej
Komiksy, animacje i scenariusze lekcji, przygotowane przez metodyków z Ośrodka Rozwoju Edukacji we współpracy z ekonomistami Fundacji FOR, będą dystrybuowane bezpłatnie wśród nauczycieli szkół gimnazjalnych i ponadgimnazjalnych, prowadzących lekcje z podstaw przedsiębiorczości i wiedzy o społeczeństwie. Wspomniane materiały będą dostępne dla nauczycieli na stronie internetowej FOR.

 

messageID:532060007071
author:Prafulla WADASKAR
title:Re Problem in input device module creation
On Fri, 07 Jul 2006 17:50:10 +0100, Russell King - ARM Linux wrote: On Fri, Jul 07, 2006 at 09:27:23AM +0530, Prafulla WADASKAR wrote: input_unregister_device(kp- inp_dev); /* if this enabled then re-insmod does not work, gives kernel page fault input_free_device(kp- inp_dev); */ Whats the page fault you get here? This could be related to your problem. (please show full oops dump.) input_unregister_device() already calls kfree(). input_free_device() is only meant for freeing the data before input_register_device() is succesfully called. I ran into this same issue while writing ati_remote2 input driver. See here: rel="nofollow" article.gmane.org/gmane.linux.usb.devel/39260 article.gmane.org/gmane.linux.usb.devel/39260 -- Ville Syrjälä syrjala@xxxxxx rel="nofollow" www.sci.fi/~syrjala/ www.sci.fi/~syrjala/ ------------------------------------------------------------------- List admin: rel="nofollow" lists.arm.linux.org.uk/mailman/listinfo/linux-arm lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: rel="nofollow" www.arm.linux.org.uk/mailinglists/faq.php www.arm.linux.org.uk/mailinglists/faq.php Etiquette: rel="nofollow" www.arm.linux.org.uk/mailinglists/etiquette.php www.arm.linux.org.uk/mailinglists/etiquette.php
Index