>>> Submitting a urb (note, with a call to usb_submit_urb()) should not
cause a problem here, as long as you pass the proper flags to the call,
which you are doing, right?
Sorry, I was not getting the point here... I'm now trying to submit a
urb (for the first time for myself)
usb_fill_bulk_urb(usbtouch->irq, usbdev, usb_sndbulkpipe(usbdev,
(int)0x02), &requestPacket, 8, usbtouch_irq, usbtouch);
retval = usb_submit_urb(usbtouch->irq, GFP_ATOMIC);
if (retval)
{
printk(KERN_INFO "usb_submit_urb failed with result");
}
This was I have done. No kernel panic but in syslog I had the following:
[ 3532.059998] dpx: usbtouch_irq - usb_submit_urb failed with result: -22
Should I create another urb from the scratch or can I use the one that
is already included in the device context structure initialized at the
beggining?
Thanks,
Nuno
--
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