On Tue, Jan 03, 2012 at 04:10:15PM +0000, Nuno Santos wrote: > Hi, > > I'm calling usb_bulk_msg inside usbtouch_process_pkt and this is > causing the kernel to panic. What is the kernel panic message? Perhaps that will tell you why you can't do this :) > Maybe someone could explain me why this happens and how can I > proceed in order to make what I need to make without having this > problem. You can't call a sleeping function from within irq context, which is probably what you are doing, right? What are you trying to solve by calling this function at this point in time? thanks, greg k-h -- 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