[Solved] HP Scanjet: Busy with a previous request

This is for discussing general topics about how to use VirtualBox.
Post Reply
diminiko
Posts: 3
Joined: 25. Dec 2018, 17:56

[Solved] HP Scanjet: Busy with a previous request

Post by diminiko »

Hello!

I am trying to attach two old USB devices (HP Scanjet 4070 Photosmart Scanner and HP Photosmart 7960 Photo Printer) from a Windows 10 host to a Windows XP guest in order to use the software of these devices.

I have managed to do that before with no problems in a host with Windows 10 1803, VirtualBox 5.2.22 without adding the Extension Pack.
After upgrading my host to Windows 10 1809 i tried VirtualBox 5.2.22, 6.0.0 with and without the Extension Pack with no success.

As you can see from the screenshot I am facing the same problem: E_INVALIDARG. Following your suggestion, the CD-ROM was attached with no problem from the host.
I have already read the USB basics and troubleshooting but I couldn't identify the problem.

The host is Windows 10 Pro (1809 17763.195)
The guest is Windows XP Professional SP3 (5.1 2600.xpsp.080413-2111 : Service Pack 3)
VirtualBox 6.0.0-127566 with Extension Pack 6.0.0

I send the result of the following commands:

Code: Select all

C:\Users\sOnIc>cd "C:\Program Files\Oracle\VirtualBox"

C:\Program Files\Oracle\VirtualBox>id
'id' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Oracle\VirtualBox>VBoxManage -version
6.0.0r127566

C:\Program Files\Oracle\VirtualBox>VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      6.0.0
Revision:     127566
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage list usbhost
Host USB Devices:

UUID:               c838b81f-4554-4abe-be82-7529538a2c89
VendorId:           0x051d (051D)
ProductId:          0x0003 (0003)
Revision:           1.6 (0106)
Port:               2
USB version/speed:  2/Full
Manufacturer:       American Power Conversion
Product:            Smart-UPS 1500 FW:UPS 09.4 / ID=18
SerialNumber:       AS1425224176
Address:            {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0014
Current State:      Busy

UUID:               1c207bb3-03b8-4203-b93a-f2aa947c34b8
VendorId:           0x046d (046D)
ProductId:          0xc333 (C333)
Revision:           4.3 (0403)
Port:               9
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            Gaming Keyboard G610
SerialNumber:       147935463735
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0008
Current State:      Busy

UUID:               8bf65958-b54c-4107-b28b-b9883cd02cb7
VendorId:           0x046d (046D)
ProductId:          0xc080 (C080)
Revision:           149.2 (14902)
Port:               10
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            Gaming Mouse G303
SerialNumber:       098334763031
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0009
Current State:      Busy

UUID:               cffd6533-1103-448d-9057-a1be15ae0988
VendorId:           0x046d (046D)
ProductId:          0x0a18 (0A18)
Revision:           1.0 (0100)
Port:               5
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            Logitech H360 Headset
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0007
Current State:      Busy

UUID:               19434ad8-47c3-4a92-97da-07fe4b924414
VendorId:           0x03f0 (03F0)
ProductId:          0x2405 (2405)
Revision:           1.0 (0100)
Port:               1
USB version/speed:  2/High
Manufacturer:       hewlett packard
Product:            hp scanjet
SerialNumber:       CN47BAL36TRW
Address:            {6bdd1fc6-810f-11d0-bec7-08002be2092f}\0000
Current State:      Busy

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage list usbfilters
Global USB Device Filters:

<none>

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo "XP HP"
Name:                        XP HP
Groups:                      /New group
Guest OS:                    Windows XP (32-bit)
UUID:                        ccfbcf6a-0cc1-40c7-8579-d68a0a4dd041
Config file:                 U:\VirtualBox VMs\XP HP\XP HP.vbox
Snapshot folder:             U:\VirtualBox VMs\XP HP\Snapshots
Log folder:                  U:\VirtualBox VMs\XP HP\Logs
Hardware UUID:               ccfbcf6a-0cc1-40c7-8579-d68a0a4dd041
Memory size                  512MB
Page Fusion:                 disabled
VRAM size:                   18MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              1
PAE:                         disabled
Long Mode:                   disabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      disabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         local time
Hardw. virt.ext:             enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x unr. exec.:             enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   None
State:                       powered off (since 2018-12-25T14:49:52.000000000)
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:
Teleporter Password:
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE (0, 0): U:\VirtualBox VMs\XP HP\XP HP.vdi (UUID: 4a4a8bf4-6dd8-4fe1-a10e-958c15ebf685)
IDE (1, 0): C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (UUID: f41fb2dc-0610-437b-8397-1b6872ffcf04)
NIC 1:                       MAC: 080027BA24CD, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: DSOUND, Controller: AC97, Codec: STAC9700)
Audio playback:              disabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    enabled
EHCI USB:                    enabled
xHCI USB:                    disabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        hewlett packard hp scanjet [0100]
VendorId:                    03f0
ProductId:                   2405
Revision:
Manufacturer:
Product:
Remote:
Serial Number:

Index:                       1
Active:                      yes
Name:                        hp photosmart 7900 series [0100]
VendorId:                    03f0
ProductId:                   b602
Revision:
Manufacturer:
Product:
Remote:
Serial Number:

Bandwidth groups:  <none>

Shared folders:

Name: 'sHaReD_fOlDeR', Host path: 'C:\Users\sOnIc\sHaReD fOlDeR' (machine mapping), writable, auto-mount

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                U:\VirtualBox VMs\XP HP\XP HP.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             ac_enabled=false

Guest:

Configured memory balloon size: 0MB
I also send two logs.
XP HP-2018-12-25-17-32-17.log
The host is started without connecting the two devices.
The guest is started.
I connect the two devices but they are not attached.
The guest is shuted down.

[ModEdit; Log removed]
XP HP-2018-12-25-17-38-48.log
The host is started with the two devices connected.
The guest is started.
The two devices are not attached.
The guest is shuted down.


Any help will be appreciated!
Thank you,
Nikos
Attachments
XP HP.jpg
XP HP.jpg (119.42 KiB) Viewed 6920 times
XP HP-2018-12-25-17-32-17.log
(127.33 KiB) Downloaded 28 times
Last edited by socratis on 26. Dec 2018, 18:08, edited 3 times in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: HP Scanjet: Busy with a previous request

Post by socratis »

Niko,
I split your post from viewtopic.php?f=1&t=90928, there's no need to hijack someone else's thread when it's just as easy to create your own, specific one.
diminiko wrote:I have already read the USB basics and troubleshooting but I couldn't identify the problem.
diminiko wrote:XP HP-2018-12-25-17-38-48.log. The host is started with the two devices connected.
Then you'd know that this is not going to work, not needed, and that's why I'm going to remove it, be less confusing and more "green". Plus you didn't ZIP the log as per the instructions... You need to attach the USB devices after the VM is up and running and you've logged in.
diminiko wrote:After upgrading my host to Windows 10 1809 i tried VirtualBox 5.2.22, 6.0.0 with and without the Extension Pack with no success.
Without the ExtPack, you will have only USB1, not USB2, so that's not going to work either.
diminiko wrote:The host is started without connecting the two devices. The guest is started. I connect the two devices but they are not attached.
And I don't see any evidence of the devices being attached in the VBox.log either. Which leaves us with one conclusion; something has a grab on your USB devices, and most probably is grabbing them before VirtualBox has a chance to.

I'd start looking for all HP related services/programs that are running on your host. Or, taking a look at the USB basics and troubleshooting » #5: Common problems, I have the following list of known culprits:
socratis wrote:antivirus programs, AMD USB Filter, Microsoft's RemoteFX USB Redirection, No Machine, Dell DPE, or Wireshark and its USBPcap component. Or any other application with a USB filtering mechanism.
I can't tell from here what you have installed on your computer. You'll have to wear your "Hercules Poirot" hat and do some investigative work...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
diminiko
Posts: 3
Joined: 25. Dec 2018, 17:56

Re: HP Scanjet: Busy with a previous request

Post by diminiko »

I split your post from viewtopic.php?f=1&t=90928, there's no need to hijack someone else's thread when it's just as easy to create your own, specific one.
Thank you for splitting the post to a new thread. I though that I should post it in the same thread because it was concerning the same problem and therefore it could help solving it and helping other users too. Anyway!
Then you'd know that this is not going to work, not needed, and that's why I'm going to remove it, be less confusing and more "green". Plus you didn't ZIP the log as per the instructions... You need to attach the USB devices after the VM is up and running and you've logged in.
I forgot to zip the logs.
The fact that I have to connect the usb devices when the guest OS is logged in is something new? It used to work with the devices always connected to the host. I never had to use filters, I used to connect the devices on the fly and I had no problems.
Without the ExtPack, you will have only USB1, not USB2, so that's not going to work either.
It used to work without ExtPack, maybe the connection was slower but I had no problems attaching on the fly these two usb devices with USB 1.1 controller.
I'd start looking for all HP related services/programs that are running on your host.
These are too old devices without any utilities for Windows 10, so there isn't anything installed except the drivers.
I tried to disable antivirus, firewall, hwinfo and pulseway with no success. I also tried to give more permissions but this didn't work either.
The weird is that I could attach other devices like keyboard, mouse and headset.
diminiko
Posts: 3
Joined: 25. Dec 2018, 17:56

Re: HP Scanjet: Busy with a previous request

Post by diminiko »

Problem is solved!
It seems that VIA driver was causing the problem.
I am using Delock 89297 4x USB 3.0 PCI Express Card and its CD has Renesas-uPD72020x and VLI-VL80X (440D and 470C) drivers. I saw from reviews that VLI drivers work better and faster with this card so I installed the newest one (470C). It seems that both VLI drivers cause this problem. I had no problems with Renesas driver or with the Windows 10 driver. I had better speed also (around 5MB/s faster).
So I uninstalled them all and the devices work flawlessly. The devices can be attached on the fly and using filters from Virtual Box with no problems. Also I don't have to reconnect them to the host when the guest is logged in. They are always connected to the USB 3.0 PCI Express Card.
Thank you socratis for your help. I hope this help anyone else with the same problem.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: HP Scanjet: Busy with a previous request

Post by socratis »

Glad you got it going. Marking as [Solved].
And I added a note to the FAQ...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply