On Mon, Sep 11, 2017 at 11:16 AM, prabhu kalyan <kalyanxprabhu@xxxxxxxxx> wrote: > Dear Fabio, > > My main objective is to switch between HID, VCP, Mass storage mode. > But as the g_hid.ko crashes i am not able to switch mode. > > I am using nxp kernel Linux cpu49-ub 4.4.0-31-generic > #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016 i686 i686 i686 > GNU/Linux This seems to be the kernel version running on your PC. > > Can you please check if it happens to you on your architecture and > also check that the g_hid.c file i have attached is there anything > wrong. Just try it with a mainline kernel instead and see if the problem persists. Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html