Hello,
I am running a Linux kernel version 2.4.20 with sl811 host controller.
I am trying to use a higher level usb driver which calls usb_submit_urb(urb) ; and it crashes.
This method is defined in usb.c ; it is delegated to the usb_submit_urb of the usb_operations struct of the bus of the specified bus;
It is in this case sl811_submit_urb();
Now I see in the kernel log that I have there an error; the error is Packet size is big for SL811, should < 240
I had traced the error in sl811.c ; it is originated from:
if (usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)) > SL811_DATA_LIMIT) {
printk(KERN_ERR "Packet size is big for SL811, should < %d!\n", SL811_DATA_LIMIT);
return -EINVAL;
}
now SL811_DATA_LIMIT is 240; (as defined in sl811.h).
Any idea why this error appears? can I prevent it ?
I am quite a newbie in this matters.
I must add that I see also in the kernel log, at boot, "Initializing USB Mass Storage driver..."
Can using a USB mass Storage device cause this problem ?
regards, sting
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel