Re: [Linux-usb-users] USB: Non zero status
Martin Bachem <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I followed the thread regarding the -EXDEV error, which leads me to the same point. I'm running an ISDN USB device, which is running ISO 6 endpoints. Each Endpoint (3 tx + 3 rx) is handled by two ISO URBs, each ISO URB is contain 8 ISO packets, each ISO packet is containing 1 up to 8 bytes payload. I use two ISO URBs for each endpoints to have a seamless ISO traffic, which is essential for my flow-control. >From time to time I get the -EXDEV error in the ISO completion. rx_iso_complete with -EXDEV urb->status -18, fifonum 5 rx_iso_complete ISO packet 1, status: -18 rx_iso_complete ISO packet 2, status: -18 rx_iso_complete ISO packet 3, status: -18 rx_iso_complete with -EXDEV urb->status -18, fifonum 1 rx_iso_complete ISO packet 1, status: -18 rx_iso_complete ISO packet 2, status: -18 rx_iso_complete ISO packet 3, status: -18 rx_iso_complete with -EXDEV urb->status -18, fifonum 3 rx_iso_complete ISO packet 1, status: -18 rx_iso_complete ISO packet 2, status: -18 rx_iso_complete ISO packet 3, status: -18 tx_iso_complete with -EXDEV, urb->status -18, fifonum 4 tx_iso_complete with -EXDEV, ISO packet 1, status: -18 tx_iso_complete with -EXDEV, ISO packet 2, status: -18 tx_iso_complete with -EXDEV, ISO packet 3, status: -18 tx_iso_complete with -EXDEV, urb->status -18, fifonum 0 tx_iso_complete with -EXDEV, ISO packet 1, status: -18 tx_iso_complete with -EXDEV, ISO packet 2, status: -18 tx_iso_complete with -EXDEV, ISO packet 3, status: -18 tx_iso_complete with -EXDEV, urb->status -18, fifonum 2 tx_iso_complete with -EXDEV, ISO packet 1, status: -18 tx_iso_complete with -EXDEV, ISO packet 2, status: -18 tx_iso_complete with -EXDEV, ISO packet 3, status: -18 That means 6 ISO URBs get a callback with the 'partially completed' error, each one with packet 1 to 3. Is the recommended handling of -EXDEV not to handle it at all, but go on re submitting URBs? Should I assume the data contained in the first 3 of 8 ISO packets within that URBs was lost? my patch to care about -EXDEV: http://git.misdn.org/?p=mISDN.git;a=commit;h=87c9cfb7e302738eb026010fa8deed67fa3c1a17 greetings from Cologne Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel