VirtualBox

Ticket #14843 (closed defect: obsolete)

Opened 7 years ago

Last modified 5 years ago

Windows 7 Pro 64 bit host USB printer can't be attached to host error: E_INVALIDARG

Reported by: orbik Owned by:
Component: USB Version: VirtualBox 5.0.10
Keywords: printer Cc:
Guest type: Windows Host type: Windows

Description

Can't seem to attach a printer to Virtualbox running on Windows 7 Pro 64 bit.

The computer is a brand new HP Deskpro 600 G1 SFF, the printer is a HP P2014 Laserjet.

The setup: One computer has a USB printer attached to it (the HP P2014) which is connected to the virtual machine (XP Pro SP3) this is then shared by the virtual machine to other virtual machines in the same room on an enclosed network. All the host computers print directly to a Dell Laserjet via TCP/IP and is also connected to the internet via TCP/IP.

This setup has worked for nearly 3 years UNTIL we upgraded the host computers from XP Pro SP3 to Windows 7 Pro 64 bit.

Procedure Followed: I installed the printer on the host computer using HP's latest 64bit drivers, in the virtual machines (XP Pro SP3) settings added the printer as a USB filter using USB 2.0.

Now I started the virtual machine and everything seemed ok a message appeared saying "VirtualBox USB" and it installed something while the virtual machine was starting. Then I waited for the virtual machine to finish loading, right clicked the status bar and selected the USB printer then the virtual machine froze.

It did not recover, and could not be shutdown by Virtualbox so I was forced to use the Task Manager :(

On restarting the host computer I unplugged the printer before starting the virtual machine, then plugged it in clicked on the status bar again and selected the printer. No freezing, but in the guest it says the printer is "offline" when I put it "online" nothing prints only "failed to print" messages comes out of the guest. Checking the status bar shows the printer has been UNCHECKED by Virtualbox if I re-check it this error appears:

Failed to attach the USB device Hewlett-Packard HP LaserJet P2014 [0100] to the virtual machine Windows XP - MRP.

USB device 'Hewlett-Packard HP LaserJet P2014' with UUID {53747ce0-f955-4459-8e6c-e2b60dfcbe51} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057) Component: HostUSBDeviceWrap Interface: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89} Callee: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Attempted Solutions:

Have tried removing the USB filter and just attaching it via the status bar - same message. Have tried uninstalling the printer from the host, re-booting it re-installing the printer and re-creating the USB filter, guest freezes as before Have tried uninstalling the printer from the host, removing the USB filter from the virtual machine, re-booting the host re-installing the printer using the status bar to connect the USB printer to the guest and the "printer offline" issues occurs and the printer is UNCHECKED in the status bar USB device list, re-checking it produces same error Have attaching the printer to a different machine running Windows 7 pro 64 which has Virtualbox 4.3 and the same errors occur! Have attached a different printer to a different machine running Windows 7 pro 64 which has Virtualbox 4.3 and the same error occurs!

My question (apart from how to fix it) is:

Is it Windows 7 Pro 64 in some way applying security which stops Virtualbox from giving the USB device to the XP virtual machine??

Have attached the hardening log, the log after the printer was "successfully" attached and the log when the guest froze on first USB device connect plus the actual text of the error message :)

Attachments

Virtualbox_Win7Pro64_usbprinterissue.zip Download (62.2 KB) - added by orbik 7 years ago.
Logs and text of the error message

Change History

Changed 7 years ago by orbik

Logs and text of the error message

comment:1 Changed 5 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if still relevant with a recent version of VirtualBox.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use