Difference between revisions of "USB Todo"

From ReactOS Wiki
Jump to: navigation, search
m
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The TODO list before we will have working USB:
+
The TODO list before we will have somehow working [[USB]]. It should help to track USB issues status.
* after disconnecting USB mouse from VM ReactOS starts terrible flood of mouse packets, which can be stopped only by OS reboot
+
* <del>after disconnecting USB mouse from VM ReactOS starts terrible flood of mouse packets, which can be stopped only by OS reboot</del>
* USB keyboards don't work yet
+
* <del>mouse crashes OS after reconnect (I don't have this bug but I know there are some races in the reset code which may cause this and other bugs --Cameron)</del>
* some USB sticks don't appear in Explorer while Disk Drive is present in Device Manager
+
* <del>seems USB devices are installed each time OS start so you can't use USB mouse before you close all "New Device" Wizards even if you used it before reboot</del> (The serial number makes a difference here. If the device has a serial number, the OS will re-recognize it without a driver install needed. If not it will install drivers each boot (standard behavior for Windows too). This is why Windows reinstalls drivers for some devices if you move them to a different port. --Cameron)
* reset usb devices during boot so they can be connected before OS boot, not just using hotplugging
+
* <del>USB keyboards don't work yet (Pool corruption with composite devices fixed --Cameron)</del>
* ...
+
* <del>reset usb devices during boot so they can be connected before OS boot, not just using hotplugging</del>
 +
* OHCI mass storage devices fail in VBOX due to data toggle issues
 +
* OHCI mass storage device fail when formated in real hardware during 1st stage setup
 +
* Mice / Keyboard hang during 2nd stage setup when attached
 +
* …
 +
 
 +
NOTE: if you are trying USB-stick in VirtualBox, avoid direct hotplug(plugging usb-stick into host when device is activated in vbox panel). This causes errors.(but not in all cases). Plug it in host's usb first and than activate it in VBox panel. Don't forget to deactivate it using the same VBox panel.
  
 
Stuff, needed to provide liveUSB support:
 
Stuff, needed to provide liveUSB support:
* USB stick don't appear in 1st stage of setup like storage device
+
* Commonly this already [http://www.reactos.org/wiki/LiveUSB works]. If you are getting issues than it's caused by missing support for your USB controller or mass storage device. Please report those issues.
* make ReactOS be able to  boot from USB stick
 
* ...
 
  
 
Stuff not related to USB but highly recommended to have
 
Stuff not related to USB but highly recommended to have
* update device list in Device manager after some device is disconnected to see real situation about which (not only USB)devices are present in the system atm(remove absent devices from list)
+
* update device list in Device manager after some device is disconnected to see real situation about which (not only USB)devices are present in the system atm(remove absent devices from list). Bug is not directly related to USB but missing PnP, DeviceManager features
 +
 
 +
* <del>Avoid VBox absolute mice pointer feature. It emulates an USB tablet, which causes problem with the mouse pointer integration</del>
 +
 
 +
== VmWare 8 USB Debugging ==
 +
Add these 2 lines to your .vmx configuration file:
 +
 
 +
usb.analyzer.enable = TRUE
 +
 
 +
usb.analyzer.maxLine = 8192
 +
 
 +
In the GUI settings, goto Options -> Advanced
 +
 
 +
* Gather debugging information: 'Full'
 +
* Log virtual machine options periodically
 +
 
 +
== VBox USB ==
 +
EHCI is enabled by installing the VBox Extension Pack from https://www.virtualbox.org/wiki/Downloads
 +
 
 +
== USB Booting ==
 +
* Check your hardware supports USB Booting
 +
* If your USB stick reports disk error before the boot selection menu, preformat the disk with HP USB Disk Storage Format Tool and install ReactOS w/o formatting the disk
 +
[[Category:Development]]
 +
[[Category:ReactOS Components]]
 +
[[Category:Hardware]]

Latest revision as of 08:01, 21 October 2014

The TODO list before we will have somehow working USB. It should help to track USB issues status.

  • after disconnecting USB mouse from VM ReactOS starts terrible flood of mouse packets, which can be stopped only by OS reboot
  • mouse crashes OS after reconnect (I don't have this bug but I know there are some races in the reset code which may cause this and other bugs --Cameron)
  • seems USB devices are installed each time OS start so you can't use USB mouse before you close all "New Device" Wizards even if you used it before reboot (The serial number makes a difference here. If the device has a serial number, the OS will re-recognize it without a driver install needed. If not it will install drivers each boot (standard behavior for Windows too). This is why Windows reinstalls drivers for some devices if you move them to a different port. --Cameron)
  • USB keyboards don't work yet (Pool corruption with composite devices fixed --Cameron)
  • reset usb devices during boot so they can be connected before OS boot, not just using hotplugging
  • OHCI mass storage devices fail in VBOX due to data toggle issues
  • OHCI mass storage device fail when formated in real hardware during 1st stage setup
  • Mice / Keyboard hang during 2nd stage setup when attached

NOTE: if you are trying USB-stick in VirtualBox, avoid direct hotplug(plugging usb-stick into host when device is activated in vbox panel). This causes errors.(but not in all cases). Plug it in host's usb first and than activate it in VBox panel. Don't forget to deactivate it using the same VBox panel.

Stuff, needed to provide liveUSB support:

  • Commonly this already works. If you are getting issues than it's caused by missing support for your USB controller or mass storage device. Please report those issues.

Stuff not related to USB but highly recommended to have

  • update device list in Device manager after some device is disconnected to see real situation about which (not only USB)devices are present in the system atm(remove absent devices from list). Bug is not directly related to USB but missing PnP, DeviceManager features
  • Avoid VBox absolute mice pointer feature. It emulates an USB tablet, which causes problem with the mouse pointer integration

VmWare 8 USB Debugging

Add these 2 lines to your .vmx configuration file:

usb.analyzer.enable = TRUE

usb.analyzer.maxLine = 8192

In the GUI settings, goto Options -> Advanced

  • Gather debugging information: 'Full'
  • Log virtual machine options periodically

VBox USB

EHCI is enabled by installing the VBox Extension Pack from https://www.virtualbox.org/wiki/Downloads

USB Booting

  • Check your hardware supports USB Booting
  • If your USB stick reports disk error before the boot selection menu, preformat the disk with HP USB Disk Storage Format Tool and install ReactOS w/o formatting the disk