sderrick
May 22nd, 2008, 04:32 PM
I am using a usb acquisition device with its own usb driver.
Compiled and run on 8.04 Desktop it works fine.
Run on 8.04 server I am getting an error when calling usb_submit_urb
init_completion (&dev->write_finished);
atomic_set (&dev->write_busy, 1);
retval = usb_submit_urb(dev->write_urb[ep], GFP_KERNEL);
if (retval) {
atomic_set (&dev->write_busy, 0);
err("%s - failed submitting write urb, error %d",
__FUNCTION__, retval);
}
usb_submit_urb is returning EINVAL?? (error code 22)
The driver loads fine, it does complain about tainted kernel because its compiled with the desktop headers.
When I plug in the device it is recognized
But when I call into the driver to write to the device, its a bad thing!
any ideas?
thanks,
Scott
Compiled and run on 8.04 Desktop it works fine.
Run on 8.04 server I am getting an error when calling usb_submit_urb
init_completion (&dev->write_finished);
atomic_set (&dev->write_busy, 1);
retval = usb_submit_urb(dev->write_urb[ep], GFP_KERNEL);
if (retval) {
atomic_set (&dev->write_busy, 0);
err("%s - failed submitting write urb, error %d",
__FUNCTION__, retval);
}
usb_submit_urb is returning EINVAL?? (error code 22)
The driver loads fine, it does complain about tainted kernel because its compiled with the desktop headers.
When I plug in the device it is recognized
But when I call into the driver to write to the device, its a bad thing!
any ideas?
thanks,
Scott