VirtualBox

Opened 10 years ago

Closed 8 years ago

#13309 closed defect (obsolete)

Unplug USB and Guest immediately aborts

Reported by: Lyall Pearce Owned by:
Component: USB Version: VirtualBox 4.3.14
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

Unplugging a USB device from a USB hub, attached to the Host.

The USB device (in this case, an ActivIdentity USB SIM) has a filter which causes it to automatically attatch to the Windows 7 64 Bit Guest.

If I use the USB icon on the bottom of the Guest window to 'disconnect' the USB device from the Guest, no problems.

If, however, I simply unplug the USB device whilst still 'connected' to the Guest, the Guest immediately fails with no error popups or diagnostics.

USB Before Plugging in the ActivIdentity SIM

pearcely@pearcely2:~
$ lsusb -vt
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
        |__ Port 6: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/3p, 12M
                |__ Port 1: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 1: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 8, If 0, Class=Hub, Driver=hub/7p, 480M
pearcely@pearcely2:~
$ 

USB AFTER plugging in the ActivIdentity SIM

pearcely@pearcely2:~
$ lsusb -vt
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 3: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/2p, 480M
        |__ Port 6: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/3p, 12M
                |__ Port 1: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 1: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 8, If 0, Class=Hub, Driver=hub/7p, 480M
             '''   |__ Port 7: Dev 22, If 0, Class=Chip/SmartCard, Driver=usbfs, 12M'''
pearcely@pearcely2:~
$ 

Host: Gentoo Linux, 64 bit.

# uname -a
Linux pearcely2 3.14.14-gentoo #1 SMP Wed Aug 6 15:46:32 CST 2014 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux

Virtualbox OSE 4.3.14_gentoo_r95030

$ VBoxManage  list --long hostinfo
Host Information:

Host time: 2014-08-22T05:19:39.623000000Z
Processor online count: 4
Processor count: 4
Processor online core count: 2
Processor core count: 2
Processor#0 speed: 2667 MHz
Processor#0 description: Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
Processor#1 speed: 2667 MHz
Processor#1 description: Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
Processor#2 speed: 2667 MHz
Processor#2 description: Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
Processor#3 speed: 2667 MHz
Processor#3 description: Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
Memory size: 7840 MByte
Memory available: 3298 MByte
Operating system: Linux
Operating system version: 3.14.14-gentoo

$ VBoxManage  list --long vms
Name:            HP COE Win7 x64
Groups:          /
Guest OS:        Windows 7 (64 bit)
UUID:            3cdbc5d3-c526-493f-9671-4d6d98b866ee
Config file:     /home/pearcely/vms/VM_Settings/Machines/HP COE Win7 x64/HP COE Win7 x64.vbox
Snapshot folder: /home/pearcely/vms/VM_Settings/Machines/HP COE Win7 x64/Snapshots
Log folder:      /home/pearcely/vms/VM_Settings/Machines/HP COE Win7 x64/Logs
Hardware UUID:   3cdbc5d3-c526-493f-9671-4d6d98b866ee
Memory size:     3500MB
Page Fusion:     off
VRAM size:       64MB
CPU exec cap:    90%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  2
PAE:             on
Long Mode:       on
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
State:           running (since 2014-08-22T04:51:05.584000000)
Monitor count:   2
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Default Frontend: 
Storage Controller Name (0):            IDE Controller
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
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE Controller (0, 0): /home/pearcely/vms/VM_Settings/Machines/HP COE Win7 x64/HP COE Win7 x64.vdi (UUID: 968bf382-03bd-49e3-b593-e13a837ad4d6)
IDE Controller (0, 1): Empty
NIC 1:           MAC: 0800276F7F74, Attachment: Bridged Interface 'enp0s25', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: ALSA, Controller: HDA)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: disabled
Session type:    GUI/Qt
VRDE:            enabled (Address 0.0.0.0, Ports 5003, MultiConn: on, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
VRDE property: TCP/Ports  = "5003"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
VRDE property: Audio/LogPath = <not set>
USB:             enabled
EHCI:            enabled

USB Device Filters:

Index:            0
Active:           no
Name:             Nokia E90 [0100]
VendorId:         0421
ProductId:        04ce
Revision:         0100
Manufacturer:     Nokia
Product:          Nokia E90
Remote:           0
Serial Number:    

Index:            1
Active:           yes
Name:             ActivIdentity Activkey_Sim [010B]
VendorId:         09c3
ProductId:        0014
Revision:         010b
Manufacturer:     ActivIdentity
Product:          Activkey_Sim
Remote:           0
Serial Number:    

Index:            2
Active:           no
Name:             Apple Inc. iPhone [0001]
VendorId:         05ac
ProductId:        12a0
Revision:         0001
Manufacturer:     Apple Inc.
Product:          iPhone
Remote:           0
Serial Number:    e1ee09492b65b60528a67c10513f1a4b4fcd6cc9

Index:            3
Active:           yes
Name:             USB camera [0101]
VendorId:         0c45
ProductId:        60c0
Revision:         0101
Manufacturer:     
Product:          USB camera
Remote:           0
Serial Number:    

Index:            4
Active:           yes
Name:             Jabra UC VOICE 550 MS USB [0112]
VendorId:         0b0e
ProductId:        0032
Revision:         0112
Manufacturer:     JABRA
Product:          Jabra UC VOICE 550 MS USB
Remote:           0
Serial Number:    

Bandwidth groups:  <none>

Shared folders:  

Name: 'pearcely', Host path: '/home/pearcely' (machine mapping), writable

Video capturing:    not active
Capture screens:    0,1
Capture file:       /home/pearcely/vms/VM_Settings/Machines/HP COE Win7 x64/HP COE Win7 x64.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Attachments (1)

VBox.log.1.gz (14.1 KB ) - added by Lyall Pearce 10 years ago.
Guest log of VM - no obvious problems

Download all attachments as: .zip

Change History (5)

by Lyall Pearce, 10 years ago

Attachment: VBox.log.1.gz added

Guest log of VM - no obvious problems

comment:1 by Lyall Pearce, 10 years ago

I suspect this ticket should be merged with https://www.virtualbox.org/ticket/13239

comment:3 by lavacano, 10 years ago

Confirming 4.3.12 works. nothing changed in virtualmachine only host software and kernel modules.

comment:4 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use