this is probably related to badly working host controller (xHCI or eHCI) and/or cable. I will hence firswt suggest you to use officially supported USB cables e.g. by Basler and in addition try out decreasing the bandwidth of your camera, especially if it is run on USB2.0 (eHCI).
In addition you may find this information also useful:
If you run an USB3.0 camera on Linux and increased the transport layer parameter Maximum Transfer Size to a value bigger than 65536 Bytes, you may repeatedly get the following error message in the console:
Failed to submit transfer status=0xe2100001.
FYI: increasing the transport layer Maximum Transfer Size would usually reduce the CPU load as it reduces the data overhead and causes less CPU interrupts.
On Linux, the maximum size of the Maximum Transfer Size is around 3MB.
The reason for this error message is that the kernel module "usbcore" does not have enough memory for the requested URBs (USB Request Block) size.
By default, the "usbcore" has about 16MB of memory available.
The requested URBs size is calculated as follows:
„Maximum Transfer Size“ x „Num Max Queued Urbs“
„Num Max Queued Urbs“ is by default set to 64.
In order to avoid the following error message one can do the following:
1) considering the above mentioned formula reduce the „Num Max Queued Urbs“ value in pylon viewer or in your application until the error message disappeared.
2) allocate more memory for the kernel module "usbcore":
In order to find out what the currently allocated memory is (in MBytes), execute the following command in the console:
In order to increase the memory (e.g. to 32MB) for the current session only, log in as a root and execute:
echo -n 32 > /sys/module/usbcore/parameters/usbfs_memory_mb
How to permanently increase the allocated memory depends on the given Linux distribution.
For Ubuntu with "grub2" one can do the following:
- edit the file:
- change the variable:
- now execute the following command as a root and reboot:
2017-01-13 13:11:15 UTC mbinev - 149 points