Seems your module was not compiled against your running kernel. Are you using the right tree and config? On Tue, 9 Jun 2009 13:02:45 +0800 Dmitriy Geels <dmitriy.geels@xxxxxxxxx> wrote: > Now it built ok, but for some reason kernel doen't like new module: > dmig@dmig-laptop:~/workspace/linux-source-2.6.29$ sudo insmod > drivers/hid/usbhid/usbhid.ko > insmod: error inserting 'drivers/hid/usbhid/usbhid.ko': -1 Invalid module format > > Have any idea why? > > 2009/6/6 Anssi Hannula <anssi.hannula@xxxxxxxxx>: > >>>> Try the attached (untested) patch. It adds a simple timeout to the hid > >>>> ctrl and out urbs, discarding the faulty urb instead of getting stuck. > >>> And of course there was an error, attached is a fixed patch :) > >> Just tried to build module with your patch. It doesn't build. > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html