reactos.git
12 years ago[USBEHCI]
Johannes Anderwald [Sun, 29 Jan 2012 17:30:31 +0000 (17:30 +0000)]
[USBEHCI]
- Update async address everytime a new queue head is added as specified in EHCI spec section 3.2
- Add more checks
- Vmware EHCI not yet working

svn path=/branches/usb-bringup-trunk/; revision=55293

12 years ago[EHCI]
Johannes Anderwald [Sun, 29 Jan 2012 17:25:34 +0000 (17:25 +0000)]
[EHCI]
- EHCI controllers support 15 ports as specified

svn path=/branches/usb-bringup-trunk/; revision=55292

12 years ago[USBEHCI]
Johannes Anderwald [Sun, 29 Jan 2012 17:24:41 +0000 (17:24 +0000)]
[USBEHCI]
- Rewrite the init routine of EHCI controller
- Implement PORT_POWER

svn path=/branches/usb-bringup-trunk/; revision=55291

12 years ago[USBCCGP]
Johannes Anderwald [Sat, 28 Jan 2012 19:49:53 +0000 (19:49 +0000)]
[USBCCGP]
- Start implementing select configuration request

svn path=/branches/usb-bringup-trunk/; revision=55278

12 years ago[MOUNTMGR]
Amine Khaldi [Fri, 27 Jan 2012 23:11:19 +0000 (23:11 +0000)]
[MOUNTMGR]
* Silence some gcc warnings.

svn path=/branches/usb-bringup-trunk/; revision=55269

12 years ago[TXTSETUP.SIF]
Cameron Gutman [Fri, 27 Jan 2012 22:00:48 +0000 (22:00 +0000)]
[TXTSETUP.SIF]
- Start the USB composite generic parent driver during 1st stage

svn path=/branches/usb-bringup-trunk/; revision=55265

12 years ago[USBCCGP]
Johannes Anderwald [Fri, 27 Jan 2012 20:58:58 +0000 (20:58 +0000)]
[USBCCGP]
- Implement counting of all interface descriptors
- Store device descriptor and configuration descriptor in pdo device extension
- Store all interface descriptors for an composite audio device
- Implement parsing and constructing a special configuration descriptor for each individual device function
- Implement URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE for device descriptor and configuration descriptor
- USBGCCGP now receives select configuration request
- Tested in XP + Ros USB Stack + USB Audio Device

svn path=/branches/usb-bringup-trunk/; revision=55261

12 years ago[MOUNTMGR]
Amine Khaldi [Fri, 27 Jan 2012 18:45:54 +0000 (18:45 +0000)]
[MOUNTMGR]
* Fix build.

svn path=/branches/usb-bringup-trunk/; revision=55256

12 years ago[USBCCGP]
Johannes Anderwald [Fri, 27 Jan 2012 18:33:41 +0000 (18:33 +0000)]
[USBCCGP]
- Use Function index than interface number. Fixes invalid hardware ids
- Fix construction of compatible id
- USB Audio device now installs on XP when usbccgp is used
- Now asserts in sb-bringup-trunk\drivers\usb\usbccgp\pdo.c:343) PDO_Dispatch Function f not implemented, which is implemented next

svn path=/branches/usb-bringup-trunk/; revision=55255

12 years ago[USBCCGP]
Johannes Anderwald [Fri, 27 Jan 2012 18:04:39 +0000 (18:04 +0000)]
[USBCCGP]
- Implement counting interface descriptors
- Fix allocating interface list
- Fix multiple bugs when copying interface information
- Implement support function to dump function descriptor
- Fix multiple bugs when creating compatible / hardware id string
- Implement legacy enumerator, which will be used for HID composite devices
- Implement special enumerator for audio devices
- Display static GenericCompositeUSBDeviceString, needs to be read from registry in order to be MUI aware
- Device initializes and device wizard pops up
- Tested in XP with Ros USB stack + USB Audio Microphone

svn path=/branches/usb-bringup-trunk/; revision=55253

12 years ago[HIDCLASS]
Johannes Anderwald [Fri, 27 Jan 2012 14:08:40 +0000 (14:08 +0000)]
[HIDCLASS]
- IOCTL are only supported for PDOs

svn path=/branches/usb-bringup-trunk/; revision=55244

12 years ago[USBHUB_NEW]
Johannes Anderwald [Fri, 27 Jan 2012 12:29:18 +0000 (12:29 +0000)]
[USBHUB_NEW]
- Rewrite GetDeviceIds function
- Don't rely on hardcoded constants when building the device id strings
- Don't corrupt the device id string when building the instance id string
- Fix bug in GetUsbStringDescriptor which read beyond the allocated string when copying the result.

svn path=/branches/usb-bringup-trunk/; revision=55238

12 years ago[USBEHCI]
Cameron Gutman [Fri, 27 Jan 2012 06:27:12 +0000 (06:27 +0000)]
[USBEHCI]
- Fix initialization bugs for EHCI controllers
- Try again to release ownership of low-speed devices after reset
- Wait for the port reset to complete

svn path=/branches/usb-bringup-trunk/; revision=55232

12 years ago[USBOHCI]
Cameron Gutman [Fri, 27 Jan 2012 05:20:37 +0000 (05:20 +0000)]
[USBOHCI]
- Attempt to fix reset race conditions

svn path=/branches/usb-bringup-trunk/; revision=55231

12 years ago[USBOHCI]
Johannes Anderwald [Fri, 27 Jan 2012 02:12:32 +0000 (02:12 +0000)]
[USBOHCI]
- Revert previous revision

svn path=/branches/usb-bringup-trunk/; revision=55230

12 years ago[USBOHCI]
Johannes Anderwald [Fri, 27 Jan 2012 02:09:18 +0000 (02:09 +0000)]
[USBOHCI]
- Fix setting device address

svn path=/branches/usb-bringup-trunk/; revision=55229

12 years ago[USBHUB_NEW]
Cameron Gutman [Fri, 27 Jan 2012 02:02:11 +0000 (02:02 +0000)]
[USBHUB_NEW]
- Fix buffer overflow for composite devices

svn path=/branches/usb-bringup-trunk/; revision=55228

12 years ago[USBEHCI_NEW]
Cameron Gutman [Thu, 26 Jan 2012 20:25:12 +0000 (20:25 +0000)]
[USBEHCI_NEW]
- Disable debug spam

svn path=/branches/usb-bringup-trunk/; revision=55225

12 years ago[USBSTOR]
Cameron Gutman [Thu, 26 Jan 2012 20:02:42 +0000 (20:02 +0000)]
[USBSTOR]
- Set the correct transfer direction value in the CBW
- Fixes the infamous system hang that occurred when writing to a USB drive

svn path=/branches/usb-bringup-trunk/; revision=55223

12 years ago[USBSTOR]
Cameron Gutman [Thu, 26 Jan 2012 19:30:46 +0000 (19:30 +0000)]
[USBSTOR]
- USBD_SHORT_TRANSFER_OK is only a valid flag if USBD_TRANSFER_DIRECTION_IN is also set

svn path=/branches/usb-bringup-trunk/; revision=55222

12 years ago[USBCCGP]
Johannes Anderwald [Thu, 26 Jan 2012 19:11:44 +0000 (19:11 +0000)]
[USBCCGP]
- Implement querying device relations for FDO
- Implement creating device objects for each discovered function
- Invalidate device relations after the child pdo have been created
- Implement PDO device relations, most of query id, query device capabilities, start device
- USBCCGP should now initialize and create the child pdos
- Next is device control handling
- WIP, untested

svn path=/branches/usb-bringup-trunk/; revision=55219

12 years ago[USETUP]
Cameron Gutman [Thu, 26 Jan 2012 18:49:50 +0000 (18:49 +0000)]
[USETUP]
- Merge r55212 and 55215
- Add a temporary hack to allow testing installation on a device not bootable by the BIOS (like USB drives in VirtualBox)
- USB devices now show up as installation targets during setup but attempting to install onto them results in setup hanging due to bugs in the USB code

svn path=/branches/usb-bringup-trunk/; revision=55217

12 years ago[DISK_NEW]
Johannes Anderwald [Thu, 26 Jan 2012 17:26:49 +0000 (17:26 +0000)]
[DISK_NEW]
- Revert NTAPI changes

svn path=/branches/usb-bringup-trunk/; revision=55214

12 years ago- Use WIN32_WINNT >=0x600
Johannes Anderwald [Thu, 26 Jan 2012 17:24:52 +0000 (17:24 +0000)]
- Use WIN32_WINNT >=0x600

svn path=/branches/usb-bringup-trunk/; revision=55213

12 years ago- Import disk.sys from Windows XP DDK
Johannes Anderwald [Thu, 26 Jan 2012 16:55:19 +0000 (16:55 +0000)]
- Import disk.sys from Windows XP DDK
- Does not yet build

svn path=/branches/usb-bringup-trunk/; revision=55211

12 years ago[USBCCGP]
Johannes Anderwald [Thu, 26 Jan 2012 13:45:59 +0000 (13:45 +0000)]
[USBCCGP]
- Query bus interface and check if USBC_DEVICE_CONFIGURATION_INTERFACE_V1 is supported. This interface is implemented by attached usb filter drivers and is used to enumerate functions of the composite usb device
- Implement enumeration of function by using usb interface association descriptors and by the USBC_DEVICE_CONFIGURATION_INTERFACE_V1
- Needs audio legacy method and union function descriptors to be fully functional
- WIP, not yet tested
- Fix build with mingw by declaring _DISK_GEOMETRY_EX outside the function

svn path=/branches/usb-bringup-trunk/; revision=55197

12 years ago[USBOHCI]
Cameron Gutman [Thu, 26 Jan 2012 04:35:04 +0000 (04:35 +0000)]
[USBOHCI]
- Wait the required time for the port to be ready after powering it up

svn path=/branches/usb-bringup-trunk/; revision=55196

12 years ago[USBCCGP]
Johannes Anderwald [Thu, 26 Jan 2012 03:42:56 +0000 (03:42 +0000)]
[USBCCGP]
- Start implement USB Composite generic parent driver which is used for USB composite devices
- Start implement FDO initialization, needs to implement parsing of usb interface assocaition descriptor to complete FDO initialization

svn path=/branches/usb-bringup-trunk/; revision=55195

12 years ago[HIDCLASS]
Cameron Gutman [Thu, 26 Jan 2012 03:27:22 +0000 (03:27 +0000)]
[HIDCLASS]
- Implement IRP_MN_REMOVE_DEVICE for FDOs and PDOs
- USB mice will now work after being disconnected then reconnected

svn path=/branches/usb-bringup-trunk/; revision=55194

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 26 Jan 2012 03:24:47 +0000 (03:24 +0000)]
[NTOSKRNL]
- Add a hack so that registering an interface after a remove and reconnect works

svn path=/branches/usb-bringup-trunk/; revision=55193

12 years ago[MOUCLASS]
Cameron Gutman [Thu, 26 Jan 2012 02:59:58 +0000 (02:59 +0000)]
[MOUCLASS]
- Pass down unsupported IRPs instead of completing them

svn path=/branches/usb-bringup-trunk/; revision=55192

12 years ago[MOUHID]
Cameron Gutman [Thu, 26 Jan 2012 02:50:15 +0000 (02:50 +0000)]
[MOUHID]
- Multiple the scroll value by WHEEL_DELTA (120) like i8042prt does
- Scrolling with USB mice works now
- Disable debugging

svn path=/branches/usb-bringup-trunk/; revision=55191

12 years ago[MOUHID]
Cameron Gutman [Thu, 26 Jan 2012 02:20:11 +0000 (02:20 +0000)]
[MOUHID]
- Only set the MOUSE_WHEEL flag if the wheel data is non-zero

svn path=/branches/usb-bringup-trunk/; revision=55190

12 years ago[USBOHCI]
Cameron Gutman [Thu, 26 Jan 2012 01:46:06 +0000 (01:46 +0000)]
[USBOHCI]
- Properly dismiss the enable status changed interrupt to avoid an interrupt storm after a device is disconnected

svn path=/branches/usb-bringup-trunk/; revision=55189

12 years ago[USBEHCI]
Cameron Gutman [Thu, 26 Jan 2012 00:29:25 +0000 (00:29 +0000)]
[USBEHCI]
- Fix GetPortStatus() and remove the cached status stuff (except for reset that we have to cache because the EHCI spec has no port reset complete bit)

svn path=/branches/usb-bringup-trunk/; revision=55188

12 years ago[USBHUB_NEW]
Cameron Gutman [Thu, 26 Jan 2012 00:11:15 +0000 (00:11 +0000)]
[USBHUB_NEW]
- Revert r55167 now that OHCI is fixed
- USB drives attached to an OHCI controller before boot are now enumerated without a reconnect needed

svn path=/branches/usb-bringup-trunk/; revision=55187

12 years ago[USBHUB_NEW]
Cameron Gutman [Thu, 26 Jan 2012 00:02:03 +0000 (00:02 +0000)]
[USBHUB_NEW]
- Remove the hacky way of determining if a device connect occurred (prone to all sorts of race conditions) and just always create a device since the only reason we reset right now is for a device connect

svn path=/branches/usb-bringup-trunk/; revision=55186

12 years ago[USBOHCI]
Cameron Gutman [Wed, 25 Jan 2012 23:56:29 +0000 (23:56 +0000)]
[USBOHCI]
- Fix and enable the proper GetPortStatus implementation
- Remove the old hacked cached port status mess

svn path=/branches/usb-bringup-trunk/; revision=55185

12 years ago[USBOHCI]
Johannes Anderwald [Wed, 25 Jan 2012 19:56:35 +0000 (19:56 +0000)]
[USBOHCI]
- Disable GetPortStatus implementation
- Fix build

svn path=/branches/usb-bringup-trunk/; revision=55182

12 years ago[USBOHCI]
Cameron Gutman [Wed, 25 Jan 2012 19:46:44 +0000 (19:46 +0000)]
[USBOHCI]
- Fix StartController() to perform initialization according to OHCI spec
- Fixes the infamous OHCI initialization hang on real hardware

svn path=/branches/usb-bringup-trunk/; revision=55181

12 years ago[USBOHCI]
Johannes Anderwald [Wed, 25 Jan 2012 18:56:56 +0000 (18:56 +0000)]
[USBOHCI]
- Add alignment check

svn path=/branches/usb-bringup-trunk/; revision=55176

12 years ago[MOUNTMGR]
Amine Khaldi [Wed, 25 Jan 2012 17:02:47 +0000 (17:02 +0000)]
[MOUNTMGR]
* Fix the CMake config.

svn path=/branches/usb-bringup-trunk/; revision=55175

12 years ago[USBOHCI]
Johannes Anderwald [Wed, 25 Jan 2012 09:50:04 +0000 (09:50 +0000)]
[USBOHCI]
- No need to turn off interrupts
- Check if bios is active
- Check for timeouts when resetting host controller

svn path=/branches/usb-bringup-trunk/; revision=55171

12 years ago[USBOHCI]
Cameron Gutman [Wed, 25 Jan 2012 06:35:00 +0000 (06:35 +0000)]
[USBOHCI]
- Don't turn off interrupts before setting the OHCI_OWNERSHIP_CHANGE_REQUEST bit because it prevents the SMM driver from receiving the interrupt that tells it to give up ownership of the host controller
- This fix should be merged to Haiku also which has the same bug

svn path=/branches/usb-bringup-trunk/; revision=55170

12 years ago[USBSTOR]
Cameron Gutman [Wed, 25 Jan 2012 06:09:24 +0000 (06:09 +0000)]
[USBSTOR]
- Use the correct USBD_TRANSFER_DIRECTION value for write operations

svn path=/branches/usb-bringup-trunk/; revision=55169

12 years ago[USBHUB]
Johannes Anderwald [Wed, 25 Jan 2012 04:00:33 +0000 (04:00 +0000)]
[USBHUB]
- Partly revert 55167, it conflicts with hotplugging

svn path=/branches/usb-bringup-trunk/; revision=55168

12 years ago[USBSTOR]
Johannes Anderwald [Wed, 25 Jan 2012 03:39:57 +0000 (03:39 +0000)]
[USBSTOR]
- Add debug trace
[USBOHCI]
- Implement proper GetPortStatus
[USBHUB]
- Reset all connected ports before sending first SCE
- USB Devices present before booting are now detected with OHCI controller. EHCI code is present but not yet activated

svn path=/branches/usb-bringup-trunk/; revision=55167

12 years ago[USBSTOR]
Cameron Gutman [Wed, 25 Jan 2012 01:46:35 +0000 (01:46 +0000)]
[USBSTOR]
- Fix a bug in SRB queuing

svn path=/branches/usb-bringup-trunk/; revision=55166

12 years ago[USBSTOR]
Cameron Gutman [Wed, 25 Jan 2012 01:09:59 +0000 (01:09 +0000)]
[USBSTOR]
- Get the actual value for the removable media bit instead of hardcoding it to true

svn path=/branches/usb-bringup-trunk/; revision=55165

12 years ago[CDROM.INF]
Cameron Gutman [Wed, 25 Jan 2012 00:16:40 +0000 (00:16 +0000)]
[CDROM.INF]
- Fix various issues

svn path=/branches/usb-bringup-trunk/; revision=55164

12 years ago[USBSTOR]
Cameron Gutman [Wed, 25 Jan 2012 00:03:18 +0000 (00:03 +0000)]
[USBSTOR]
- Don't lie about removable media support for anything except hard drives

svn path=/branches/usb-bringup-trunk/; revision=55160

12 years ago[INF]
Johannes Anderwald [Tue, 24 Jan 2012 23:19:43 +0000 (23:19 +0000)]
[INF]
- Try add support for USB CD/DVD Drives

svn path=/branches/usb-bringup-trunk/; revision=55159

12 years ago[USBSTOR]
Cameron Gutman [Tue, 24 Jan 2012 23:04:31 +0000 (23:04 +0000)]
[USBSTOR]
- Rewrite pending SRB handling and change some behavior of the IRP queue
- The caller is no longer responsible for checking whether it can call USBSTOR_QueueNextRequest; frozen IRP queue and pending SRB are both handled for them
- It's no longer required for the caller of USBSTOR_QueueTerminateRequest to know whether the SRB was active (which was impossible before when handling a cancellation)
- Many potential race issues with IRP cancellation are eliminated
- Debugging hung SRBs is much easier now that pointer to the active one is stored in the FDO

svn path=/branches/usb-bringup-trunk/; revision=55157

12 years ago[MOUNTMGR]
Pierre Schweitzer [Tue, 24 Jan 2012 22:54:14 +0000 (22:54 +0000)]
[MOUNTMGR]
Finally add the long awaited Mount Point Manager (aka mountmgr).
It's not complete yet, but will do most of the job it's been designed for.
What's missing is some dos volumes handlers, complete database support (local - registry - is complete, remote - files - is not).
It handles NTFS properties like reparse points.
It also handles devices with drive letters and those without drive letters (by using their unique ID).
Devices removal/arrival is detected through notifications (might be an issue).
Some work will have to be done in storage stack to fully support it.
Most of its IOCTL have been implemented (it's possible, for example, to notify a volume arrival through them, in case notifications don't work).

There's still some work to do on it to have it complete and fully implemented.
Enjoy!

svn path=/branches/usb-bringup-trunk/; revision=55156

12 years ago[USBSTOR]
Cameron Gutman [Tue, 24 Jan 2012 22:28:44 +0000 (22:28 +0000)]
[USBSTOR]
- Fix broken IRP error handling and leaking memory

svn path=/branches/usb-bringup-trunk/; revision=55155

12 years ago[USBEHCI/USBOHCI]
Cameron Gutman [Tue, 24 Jan 2012 22:21:30 +0000 (22:21 +0000)]
[USBEHCI/USBOHCI]
- Handle invalid device handles gracefully instead of crashing

svn path=/branches/usb-bringup-trunk/; revision=55154

12 years ago[USBSTOR]
Cameron Gutman [Tue, 24 Jan 2012 21:33:51 +0000 (21:33 +0000)]
[USBSTOR]
- Release the spinlock before returning (accidentally removed)

svn path=/branches/usb-bringup-trunk/; revision=55152

12 years ago[USBEHCI]
Johannes Anderwald [Tue, 24 Jan 2012 20:49:01 +0000 (20:49 +0000)]
[USBEHCI]
- Display error status when host controller reports failure

svn path=/branches/usb-bringup-trunk/; revision=55149

12 years ago[USBHUB]
Johannes Anderwald [Tue, 24 Jan 2012 17:00:30 +0000 (17:00 +0000)]
[USBHUB]
- Fix bugs introduced in 55134, 55135
- USB Mass Storage devices should now automatically install again

svn path=/branches/usb-bringup-trunk/; revision=55147

12 years ago[USBSTOR]
Cameron Gutman [Tue, 24 Jan 2012 04:39:09 +0000 (04:39 +0000)]
[USBSTOR]
- Fix cancellation for IRPs that have already been dispatched for processing by IoStartNextPacket
- Don't complete IRPs with the IRP list lock held
- Clear the cancel routine before completing the IRP

svn path=/branches/usb-bringup-trunk/; revision=55138

12 years ago[CLASS2]
Cameron Gutman [Tue, 24 Jan 2012 03:33:45 +0000 (03:33 +0000)]
[CLASS2]
- Add back an accidentally removed line

svn path=/branches/usb-bringup-trunk/; revision=55137

12 years ago[CLASS2]
Cameron Gutman [Tue, 24 Jan 2012 03:25:52 +0000 (03:25 +0000)]
[CLASS2]
- Add more black magic to remove symbolic links when a drive is removed

svn path=/branches/usb-bringup-trunk/; revision=55136

12 years ago[USBHUB]
Johannes Anderwald [Mon, 23 Jan 2012 23:41:40 +0000 (23:41 +0000)]
[USBHUB]
- Add more checks for detecting composite device

svn path=/branches/usb-bringup-trunk/; revision=55135

12 years ago[USBHUB]
Johannes Anderwald [Mon, 23 Jan 2012 23:29:54 +0000 (23:29 +0000)]
[USBHUB]
- Check if the device is a composite device
- Report USB\COMPOSITE as compatible id when a usb compsite device is detected

svn path=/branches/usb-bringup-trunk/; revision=55134

12 years ago[USBOHCI]
Johannes Anderwald [Mon, 23 Jan 2012 16:47:19 +0000 (16:47 +0000)]
[USBOHCI]
- Fix warning
- Remove assert
[USBEHCI]
- Remove assert

svn path=/branches/usb-bringup-trunk/; revision=55122

12 years ago[USBEHCI]
Cameron Gutman [Mon, 23 Jan 2012 16:29:43 +0000 (16:29 +0000)]
[USBEHCI]
- Remove unused variable

svn path=/branches/usb-bringup-trunk/; revision=55121

12 years ago[USBHUB]
Johannes Anderwald [Mon, 23 Jan 2012 16:25:43 +0000 (16:25 +0000)]
[USBHUB]
- Silent traces

svn path=/branches/usb-bringup-trunk/; revision=55120

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 16:22:43 +0000 (16:22 +0000)]
[USB-BRINGUP-TRUNK]
- Allow surprise removal of HID devices
- Don't assemble useless empty resource lists

svn path=/branches/usb-bringup-trunk/; revision=55119

12 years ago[USBSTOR]
Johannes Anderwald [Mon, 23 Jan 2012 16:22:33 +0000 (16:22 +0000)]
[USBSTOR]
- Silent traces

svn path=/branches/usb-bringup-trunk/; revision=55118

12 years ago[USBEHCI]
Johannes Anderwald [Mon, 23 Jan 2012 16:17:21 +0000 (16:17 +0000)]
[USBEHCI]
- Remove traces

svn path=/branches/usb-bringup-trunk/; revision=55117

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 16:06:32 +0000 (16:06 +0000)]
[USB-BRINGUP-TRUNK]
- Store correct device power state for PowerSystemWorking

svn path=/branches/usb-bringup-trunk/; revision=55115

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 15:53:25 +0000 (15:53 +0000)]
[USB-BRINGUP-TRUNK]
- Restore the frame interval register after a reset as per OHCI spec

svn path=/branches/usb-bringup-trunk/; revision=55112

12 years ago[USBEHCI]
Johannes Anderwald [Mon, 23 Jan 2012 15:49:43 +0000 (15:49 +0000)]
[USBEHCI]
- Use the same lock in the IUSBQueue as in the IDMAMemoryManager
- add debug traces (default off)

svn path=/branches/usb-bringup-trunk/; revision=55110

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 10:10:51 +0000 (10:10 +0000)]
[USB-BRINGUP-TRUNK]
- Compute the frame interval correctly
- Fixes a deadlock on real hardware after enabling interrupts

svn path=/branches/usb-bringup-trunk/; revision=55094

12 years ago[USBEHCI]
Johannes Anderwald [Mon, 23 Jan 2012 04:22:11 +0000 (04:22 +0000)]
[USBEHCI]
- Don't complete irps with lock held

svn path=/branches/usb-bringup-trunk/; revision=55091

12 years ago[USBEHCI]
Johannes Anderwald [Mon, 23 Jan 2012 03:50:11 +0000 (03:50 +0000)]
[USBEHCI]
- Don't acquire spinlock twice

svn path=/branches/usb-bringup-trunk/; revision=55090

12 years ago[USBSTOR]
Johannes Anderwald [Mon, 23 Jan 2012 02:58:52 +0000 (02:58 +0000)]
[USBSTOR]
- Fix attempt #2  the offset bug
- fix identation

svn path=/branches/usb-bringup-trunk/; revision=55089

12 years ago[USBSTOR]
Johannes Anderwald [Mon, 23 Jan 2012 02:49:40 +0000 (02:49 +0000)]
[USBSTOR]
- Fix bug in usbstor, which did not take the offset into account

svn path=/branches/usb-bringup-trunk/; revision=55088

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 00:50:25 +0000 (00:50 +0000)]
[USB-BRINGUP-TRUNK]
- Don't send removal IRPs to device nodes already pending removal
- USB device removal and reinsertion works now

svn path=/branches/usb-bringup-trunk/; revision=55087

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Mon, 23 Jan 2012 00:39:28 +0000 (00:39 +0000)]
[USB-BRINGUP-TRUNK]
- Fix a broken check that resulted in freeing the same device object twice
- Enable the IoDetachDevice call in usbstor now that the kernel bug is fixed

svn path=/branches/usb-bringup-trunk/; revision=55086

12 years ago[USBOHCI]
Johannes Anderwald [Mon, 23 Jan 2012 00:36:00 +0000 (00:36 +0000)]
[USBOHCI]
- Implement interrupt routing

svn path=/branches/usb-bringup-trunk/; revision=55085

12 years ago[USBHUB_NEW]
Thomas Faber [Mon, 23 Jan 2012 00:27:30 +0000 (00:27 +0000)]
[USBHUB_NEW]
- Fix another calling convention issue

svn path=/branches/usb-bringup-trunk/; revision=55084

12 years ago[USBHUB_NEW]
Johannes Anderwald [Sun, 22 Jan 2012 23:56:03 +0000 (23:56 +0000)]
[USBHUB_NEW]
- Fix calling convention of completion routine

svn path=/branches/usb-bringup-trunk/; revision=55083

12 years ago[USBHUB_NEW]
Johannes Anderwald [Sun, 22 Jan 2012 23:25:33 +0000 (23:25 +0000)]
[USBHUB_NEW]
- Fix calling convention of completion routine

svn path=/branches/usb-bringup-trunk/; revision=55082

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sun, 22 Jan 2012 21:58:06 +0000 (21:58 +0000)]
[USB-BRINGUP-TRUNK]
- Implement device disconnect indication for usbehci and usbohci
- Implement device removal for FDOs and PDOs in usbstor and usbhub

svn path=/branches/usb-bringup-trunk/; revision=55080

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sun, 22 Jan 2012 21:50:29 +0000 (21:50 +0000)]
[USB-BRINGUP-TRUNK]
- Send removal IRPs to children and removal relations before sending to the device itself

svn path=/branches/usb-bringup-trunk/; revision=55079

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sun, 22 Jan 2012 16:55:16 +0000 (16:55 +0000)]
[USB-BRINGUP-TRUNK]
- Load the disk class for USB drives in 1st stage
- They don't show up on the partition page due to some usetup stuff that needs to be changed

svn path=/branches/usb-bringup-trunk/; revision=55076

12 years ago[USBSTOR]
Johannes Anderwald [Sun, 22 Jan 2012 16:39:53 +0000 (16:39 +0000)]
[USBSTOR]
- Implement legacy IOCTL IOCTL_SCSI_GET_CAPABILITIES,  IOCTL_SCSI_GET_INQUIRY_DATA, IOCTL_SCSI_GET_ADDRESS
- Patch by Cameron Gutman and minor modifications

svn path=/branches/usb-bringup-trunk/; revision=55075

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sun, 22 Jan 2012 16:07:58 +0000 (16:07 +0000)]
[USB-BRINGUP-TRUNK]
- Remove the legacy usbdrv

svn path=/branches/usb-bringup-trunk/; revision=55074

12 years ago[INF]
Johannes Anderwald [Sun, 22 Jan 2012 15:25:43 +0000 (15:25 +0000)]
[INF]
- Add keyboard installation inf

svn path=/branches/usb-bringup-trunk/; revision=55073

12 years ago[USBHUB]
Johannes Anderwald [Sun, 22 Jan 2012 14:58:19 +0000 (14:58 +0000)]
[USBHUB]
- Fix build

svn path=/branches/usb-bringup-trunk/; revision=55071

12 years ago[USBHUB]
Johannes Anderwald [Sun, 22 Jan 2012 14:51:32 +0000 (14:51 +0000)]
[USBHUB]
- Check if there is device description buffer, as some usb devices don't provide one

svn path=/branches/usb-bringup-trunk/; revision=55070

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sat, 21 Jan 2012 22:08:33 +0000 (22:08 +0000)]
[USB-BRINGUP-TRUNK]
- Add a class2 hack to recognize and assign drive letters to storage devices added while the system is running

svn path=/branches/usb-bringup-trunk/; revision=55056

12 years ago[INF]
Johannes Anderwald [Sat, 21 Jan 2012 18:18:25 +0000 (18:18 +0000)]
[INF]
- Add Microsoft Mice Device Description
- fixes hid device entries where instead of device description the device id is displayed

svn path=/branches/usb-bringup-trunk/; revision=55054

12 years ago[HIDCLASS]
Johannes Anderwald [Sat, 21 Jan 2012 17:32:59 +0000 (17:32 +0000)]
[HIDCLASS]
- Remove asserts which are hit during shutdown

svn path=/branches/usb-bringup-trunk/; revision=55049

12 years ago[USBHUB]
Johannes Anderwald [Sat, 21 Jan 2012 17:07:01 +0000 (17:07 +0000)]
[USBHUB]
- Silence traces

svn path=/branches/usb-bringup-trunk/; revision=55045

12 years ago[HIDCLASS]
Johannes Anderwald [Sat, 21 Jan 2012 17:02:16 +0000 (17:02 +0000)]
[HIDCLASS]
- Fix typo

svn path=/branches/usb-bringup-trunk/; revision=55044

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sat, 21 Jan 2012 04:17:22 +0000 (04:17 +0000)]
[USB-BRINGUP-TRUNK]
- Don't do any special checks for AddDevice; a failure check is enough

svn path=/branches/usb-bringup-trunk/; revision=55042

12 years ago[USB-BRINGUP-TRUNK]
Cameron Gutman [Sat, 21 Jan 2012 02:59:46 +0000 (02:59 +0000)]
[USB-BRINGUP-TRUNK]
- Open a file handle to the port driver like Windows does
- USB mice are working now

svn path=/branches/usb-bringup-trunk/; revision=55041

12 years ago[HIDCLASS]
Johannes Anderwald [Sat, 21 Jan 2012 01:56:02 +0000 (01:56 +0000)]
[HIDCLASS]
- Remove superflous asserts

svn path=/branches/usb-bringup-trunk/; revision=55040