USB Todo

From ReactOS Wiki
Revision as of 16:16, 4 March 2012 by Igorko (talk | contribs)
Jump to: navigation, search

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

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