summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/USB/VUSBUrb.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *: doxygen corrections (mostly about removing @returns from functions ↵vboxsync2023-05-111-2/+0
| | | | | | returning void). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99739 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2023-01-171-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98103 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm copyright and license note updatevboxsync2022-08-221-8/+18
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96407 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: Fix crash introduced with r150219 when a USB device is detached ↵vboxsync2022-02-281-0/+1
| | | | | | while the roothub tries to queue an URB but can't find the device. Also cancel all in flight URBs after the device was removed from the lookup tables in order to prevent the roothub from queueing URBs simultaneously, bugref:10196 [release build fix] git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93994 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: Fix crash introduced with r150219 when a USB device is detached ↵vboxsync2022-02-281-8/+5
| | | | | | while the roothub tries to queue an URB but can't find the device. Also cancel all in flight URBs after the device was removed from the lookup tables in order to prevent the roothub from queueing URBs simultaneously, bugref:10196 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93993 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm --update-copyright-yearvboxsync2022-01-011-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93115 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: GCC 11 build fix.vboxsync2021-12-141-2/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92901 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: If a descriptor read can't be satisfied from cache, pass it through to ↵vboxsync2021-07-061-13/+1
| | | | | | device rather than returning an error (stall). Fixes a problem with buggy drivers for Logitech C930e from Windows Update (see bugref:10059). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@90049 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Removed redundant casts, fixed forgotten code (see bugref:9928)/vboxsync2021-02-041-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@87609 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSBUrb.cpp: Try clean up some old old hack (r25945, ++). bugref:9899vboxsync2021-01-081-14/+32
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@87207 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Restored non-minimal initial control URB extra allocation (see ↵vboxsync2020-05-191-5/+5
| | | | | | bugref:9716). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84360 cfe28804-0f27-0410-a406-dd0f0b0b656f
* CamelCasing.vboxsync2020-05-191-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84359 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Simplified control message extra data layout (WIP).vboxsync2020-04-281-16/+12
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84042 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Avoid too large URBs (see bugref:9697).vboxsync2020-04-081-0/+11
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83617 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSBUrb.cpp: Fix reaping-next-urb regression from r105601.vboxsync2020-04-061-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83592 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2020-02-041-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/VUSB: Missed pointer update on rellocationvboxsync2019-07-101-0/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79678 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm --update-copyright-yearvboxsync2019-01-011-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@76553 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *: Made RT_UOFFSETOF, RT_OFFSETOF, RT_UOFFSETOF_ADD and RT_OFFSETOF_ADD work ↵vboxsync2018-07-121-7/+7
| | | | | | like __builtin_offsetof() and require compile time resolvable requests, adding RT_UOFFSETOF_DYN for the dynamic questions that can only be answered at runtime. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@73097 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *: scm --update-copyright-yearvboxsync2017-10-281-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@69500 cfe28804-0f27-0410-a406-dd0f0b0b656f
* backed out r118835 as it incorrectly updated the 'This file is based on' ↵vboxsync2017-10-281-1/+1
| | | | | | file headers. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@69498 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *: scm --update-copyright-yearvboxsync2017-10-281-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@69496 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Global: replace fall-through comments with RT_FALL_THRU().vboxsync2017-10-111-1/+1
| | | | | | bugref:8192: gcc warnings git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@69046 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Removed unused 'buffered pipe' code.vboxsync2017-03-071-15/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@65976 cfe28804-0f27-0410-a406-dd0f0b0b656f
* gcc 7: fall thruvboxsync2017-03-011-0/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@65919 cfe28804-0f27-0410-a406-dd0f0b0b656f
* doxygen fixesvboxsync2017-01-051-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@65169 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Doxygen fixesvboxsync2016-10-171-0/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@64294 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices: warningsvboxsync2016-08-041-8/+8
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@62960 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Allow bulk/interrupt transfer mixing (most USB stack do not ↵vboxsync2016-04-151-4/+20
| | | | | | distinguish them. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@60515 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Move the thread for periodic frame procession down to the roothub. ↵vboxsync2016-02-291-0/+2
| | | | | | There we don't need to replicate the code to EHCI later and it has much better overview of the amount of active URBs to schedule when to process new frames git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59875 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Update pointer pointers to pVUsb and pVUsb->pUrb when reallocating ↵vboxsync2016-02-241-2/+7
| | | | | | message URB structures git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59796 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Remove unused read ahead buffering code and replace with new ↵vboxsync2016-02-221-4/+5
| | | | | | implementation which in the end will work in both directions (only out implemented so far) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59775 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Some structural cleanup (#7 Move the debug log trace related bits into ↵vboxsync2016-02-191-775/+1
| | | | | | a separate file) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59738 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Some structural cleanup (#6 Use RTLIST* where appropriate)vboxsync2016-02-191-15/+13
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59737 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Some structural cleanup (#3 Make the VUSB URB specific data private to ↵vboxsync2016-02-161-56/+57
| | | | | | the VUSB stack, some interface changes required for XHCI because it previously required access to some VUsb members) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59704 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSB: Some structural cleanup (#2 Remove the HCI specific bits from the ↵vboxsync2016-02-161-11/+7
| | | | | | VUSBURB structure and let each controller manage it by itself just telling the root hub how much space it needs for each URB) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@59700 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *: scm cleanup run.vboxsync2015-08-141-9/+10
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@57358 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Commit r100743 and r100913 to trunk which should improve pass through of USB ↵vboxsync2015-06-161-4/+20
| | | | | | sound devices git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@56454 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices: Updated (C) year.vboxsync2015-06-091-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@56292 cfe28804-0f27-0410-a406-dd0f0b0b656f
* VUSBUrb: Leave the critical section when the assertion fails before returningvboxsync2015-01-231-2/+6
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53949 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB: fix debug assertionvboxsync2015-01-021-2/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53633 cfe28804-0f27-0410-a406-dd0f0b0b656f
* build fixvboxsync2014-10-291-4/+0
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53162 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB: Sniffer fixesvboxsync2014-10-291-4/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53161 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Add possibility to configure a single USB traffic sniffer for a complete ↵vboxsync2014-10-151-0/+12
| | | | | | roothub (must be configured through extra data) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53067 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB: Integrate USB sniffer. Make it possible to specify a file to dump the ↵vboxsync2014-10-151-0/+16
| | | | | | traffic to when attaching a USB device with VBoxManage git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@53062 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: Fix race when resetting USB devices causing a crash latervboxsync2014-09-291-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@52881 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB: Serialize access to the extra state data for control pipes, fixes ↵vboxsync2014-08-281-4/+19
| | | | | | several assertions in debug builds git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@52513 cfe28804-0f27-0410-a406-dd0f0b0b656f
* USB: Move the URB cancellation work to the per device I/O thread, fix a deadlockvboxsync2014-08-061-9/+19
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@52301 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: Several fixes and misc cleanups, the VM crash when detaching a ↵vboxsync2014-08-021-23/+13
| | | | | | USB device while transfering data should be fixed, likewise several assertions in debug builds should be fixed now. Removed a bit dead code in the linux backend (timeout handling which wasn't active) git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@52254 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Devices/USB: ancel URBs on the I/O thread if available, fixes a race causing ↵vboxsync2014-07-231-23/+46
| | | | | | an assertion git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@52148 cfe28804-0f27-0410-a406-dd0f0b0b656f