Polish

 View Only

 VMware i czytnik KIR mini

Adrian G a ewski's profile image
Adrian G a ewski posted Apr 16, 2026 04:05 AM

Dzień dobry wszystkim,
czy możemy Was poprosić o pomoc?
Podpięliśmy pod Dell PowerEdge R730xd z zainstalowanym VMware ESXi-6.7.0-20191204001-standard czytnik kart RR612-268769.
Jednakże nie możemy przydzielić urządzenia usb do maszyny wirtualnej.
Dotychczas udało mi się ustalić tylko tyle:

  • Przy próbie podłączenia czytnika kart do uruchomionej maszyny wirtualnej, otrzymujemy błędy:
  • Na vSphere: "Cannot connect 'path:0/2/0/1' to this virtual machine. The device was not found."
  • Na VMware ESXi poprzez GUI: "Cannot connect 'vid:072f pid:b501 path:0/2/0/1' to this virtual machine. The device was not found. "
  • Dodatkowo przy podłączeniu czytnika USB do działającej maszyny dochodzi do wystąpienia problemów z dostępem do sieci LAN i WAN. 
  • Można podłączyć pod maszynę wirtualną w sytuacji, gdy maszyna wirtualna jest wyłączona, jednakże po jej uruchomieniu czytnik kart zostaje usunięty z konfiguracji maszyny wirtualnej (jest odpinany). Z czego w samej konfiguracji przy "podpiętym" urządzeniu wyświetla się dopiska (disconnected).
  • Sam czytnik jest widoczny dla systemu ESXi i ma satus, że można go podpiąć pod maszynę wirtualną.
  • Restart usług takich jak usbarbitrator, hostd oraz vpxa nie pomógł.

Poniżej przesyłam logi i inne informacje wyciągnięte z VMware ESXi:

[user@host:~] lsusb
Bus 002 Device 003: ID 072f:b501 Advanced Card Systems, Ltd
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120

[user@host:~] esxcli hardware usb passthrough device list
Bus  Dev  VendorId  ProductId  Enabled  Can Connect to VM  Name
---  ---  --------  ---------  -------  -----------------  -----------------------------
2    3    72f       b501          true  yes                Advanced Card Systems, Ltd

[user@hst:~] /etc/init.d/usbarbitrator status
usbarbitrator is running
[user@host:~] cat /vmfs/volumes/datastore1-ip/linux/vmware.log  | grep -i usb
2026-04-15T06:19:00.491Z| vmx| I125: DICT               usb.present = "TRUE"
2026-04-15T06:19:00.492Z| vmx| I125: DICT          usb_xhci.present = "TRUE"
2026-04-15T06:19:00.492Z| vmx| I125: DICT         usb.pciSlotNumber = "32"
2026-04-15T06:19:00.492Z| vmx| I125: DICT               usb:1.speed = "2"
2026-04-15T06:19:00.492Z| vmx| I125: DICT             usb:1.present = "TRUE"
2026-04-15T06:19:00.492Z| vmx| I125: DICT          usb:1.deviceType = "hub"
2026-04-15T06:19:00.492Z| vmx| I125: DICT                usb:1.port = "1"
2026-04-15T06:19:00.492Z| vmx| I125: DICT              usb:1.parent = "-1"
2026-04-15T06:19:00.492Z| vmx| I125: DICT    usb_xhci.pciSlotNumber = "224"
2026-04-15T06:19:00.492Z| vmx| I125: DICT        usb_xhci:4.present = "TRUE"
2026-04-15T06:19:00.492Z| vmx| I125: DICT     usb_xhci:4.deviceType = "hid"
2026-04-15T06:19:00.492Z| vmx| I125: DICT           usb_xhci:4.port = "4"
2026-04-15T06:19:00.492Z| vmx| I125: DICT         usb_xhci:4.parent = "-1"
2026-04-15T06:19:02.328Z| vmx| I125: SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Virtual Hub' backend
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Generic' backend
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Virtual HID' backend
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Remote Device' backend
2026-04-15T06:19:02.328Z| vmx| I125: RemoteUSBVMX: Retrieved hostId [4c 4c 45 44 00 37 47 10-80 35 b2 c0 4f 43 48 32]
2026-04-15T06:19:02.328Z| vmx| I125: RemoteUSBVMX: Protocol version min:15 current:17
2026-04-15T06:19:02.328Z| vmx| I125: RemoteUSBVMX: no delay setting is TRUE.
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Virtual Mass Storage' backend
2026-04-15T06:19:02.328Z| vmx| I125: USB: Initializing 'Virtual RNG' backend
2026-04-15T06:19:02.354Z| vmx| I125: USB: Initializing 'UHCI' host controller
2026-04-15T06:19:02.354Z| vmx| A100: ConfigDB: Setting usb:1.speed = "2"
2026-04-15T06:19:02.355Z| vmx| I125: USB: Initializing 'EHCI' host controller
2026-04-15T06:19:02.355Z| vmx| I125: USB: Initializing 'xHCI' host controller
2026-04-15T06:19:02.355Z| vmx| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T06:19:02.355Z| vmx| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T06:19:02.355Z| vmx| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T06:19:02.355Z| vmx| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T06:19:02.414Z| vcpu-0| A100: ConfigDB: Unsetting all entries with prefix "usb_xhci:4."
2026-04-15T06:19:02.416Z| vcpu-0| I125: USB: Disconnecting device 0x2000000400000000
2026-04-15T06:19:02.416Z| vcpu-0| I125: USB: Connecting device desc:name:VMware\ Virtual\ USB\ Mouse vid:0e0f pid:0003 speed:full family:hid deviceType:virtual-hid info:0000005 version:3 id:0x200000050e0f0003
2026-04-15T06:19:02.416Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T06:19:02.416Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T06:19:02.416Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T06:19:02.416Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T06:19:02.419Z| vmx| I125: VUsbUpdateVigorFieldsAndAutoconnect: New set of 0 USB devices
2026-04-15T06:19:20.068Z| vmx| I125: VigorTransportProcessClientPayload: opID=esxui-7ff5-8e4e seq=7600: Receiving VUsb.AddDevice request.
2026-04-15T06:19:20.068Z| vmx| I125: USB: Connecting pattern [vid:072f pid:b501 path:0/2/0/1] controller [usb_xhci]
2026-04-15T06:19:20.068Z| vmx| I125: VigorTransport_ServerSendResponse opID=esxui-7ff5-8e4e seq=7600: Completed VUsb request with messages.
2026-04-15T08:00:49.358Z| vmx| I125: VigorTransportProcessClientPayload: opID=mizte76t-545938-auto-bp8z-h5:70228593-2-02-51-43a4 seq=12684: Receiving VUsb.AddDevice request.
2026-04-15T08:00:49.358Z| vmx| I125: USB: Connecting pattern [path:0/2/0/1] controller [usb_xhci]
2026-04-15T08:00:49.358Z| vmx| I125: VigorTransport_ServerSendResponse opID=mizte76t-545938-auto-bp8z-h5:70228593-2-02-51-43a4 seq=12684: Completed VUsb request with messages.
2026-04-15T08:04:37.174Z| vmx| I125: VigorTransportProcessClientPayload: opID=esxui-1c80-4a3b seq=13022: Receiving VUsb.AddDevice request.
2026-04-15T08:04:37.174Z| vmx| I125: USB: Connecting pattern [vid:072f pid:b501 path:0/2/0/1] controller [usb_xhci]
2026-04-15T08:04:37.175Z| vmx| I125: VigorTransport_ServerSendResponse opID=esxui-1c80-4a3b seq=13022: Completed VUsb request with messages.


[user@host:~] cat /vmfs/volumes/datastore1-ip/windows/vmware.log  | grep -i usb
2026-04-15T06:03:24.909Z| vmx| I125: DICT          usb_xhci.present = "TRUE"
2026-04-15T06:03:24.909Z| vmx| I125: DICT    usb_xhci.pciSlotNumber = "224"
2026-04-15T06:03:24.909Z| vmx| I125: DICT         usb.pciSlotNumber = "-1"
2026-04-15T06:03:24.909Z| vmx| I125: DICT               usb.present = "FALSE"
2026-04-15T06:03:24.909Z| vmx| I125: DICT        usb_xhci:4.present = "TRUE"
2026-04-15T06:03:24.909Z| vmx| I125: DICT     usb_xhci:4.deviceType = "hid"
2026-04-15T06:03:24.909Z| vmx| I125: DICT           usb_xhci:4.port = "4"
2026-04-15T06:03:24.909Z| vmx| I125: DICT         usb_xhci:4.parent = "-1"
2026-04-15T06:03:24.909Z| vmx| I125: DICT usb_xhci.autoConnect.device0 = "path:0/2/0/1 autoclean:1"
2026-04-15T06:03:25.052Z| vmx| I125: USB: Search for USB devices to connect [path:0/2/0/1 autoclean:1]
2026-04-15T06:03:25.053Z| vmx| I125: SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket
2026-04-15T06:03:25.053Z| vmx| I125: USB: Initializing 'Virtual Hub' backend
2026-04-15T06:03:25.053Z| vmx| I125: USB: Initializing 'Generic' backend
2026-04-15T06:03:25.053Z| vmx| I125: USB: Initializing 'Virtual HID' backend
2026-04-15T06:03:25.054Z| vmx| I125: USB: Initializing 'Remote Device' backend
2026-04-15T06:03:25.054Z| vmx| I125: RemoteUSBVMX: Retrieved hostId [4c 4c 45 44 00 37 47 10-80 35 b2 c0 4f 43 48 32]
2026-04-15T06:03:25.054Z| vmx| I125: RemoteUSBVMX: Protocol version min:15 current:17
2026-04-15T06:03:25.054Z| vmx| I125: RemoteUSBVMX: no delay setting is TRUE.
2026-04-15T06:03:25.054Z| vmx| I125: USB: Initializing 'Virtual Mass Storage' backend
2026-04-15T06:03:25.054Z| vmx| I125: USB: Initializing 'Virtual RNG' backend
2026-04-15T06:03:25.107Z| vmx| I125: USB: Initializing 'xHCI' host controller
2026-04-15T06:03:25.108Z| vmx| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T06:03:25.108Z| vmx| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T06:03:25.108Z| vmx| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T06:03:25.108Z| vmx| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T06:03:25.222Z| vcpu-0| A100: ConfigDB: Unsetting all entries with prefix "usb_xhci:4."
2026-04-15T06:03:25.224Z| vcpu-0| I125: USB: Disconnecting device 0x2000000400000000
2026-04-15T06:03:25.224Z| vcpu-0| I125: USB: Connecting device desc:name:VMware\ Virtual\ USB\ Mouse vid:0e0f pid:0003 speed:full family:hid deviceType:virtual-hid info:0000005 version:3 id:0x200000050e0f0003
2026-04-15T06:03:25.224Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T06:03:25.224Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T06:03:25.224Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T06:03:25.224Z| vcpu-0| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T06:03:25.228Z| vmx| I125: VUsbUpdateVigorFieldsAndAutoconnect: New set of 0 USB devices
2026-04-15T06:03:35.230Z| vmx| I125: USB: Removing stale autoconnect pattern [path:0/2/0/1 autoclean:1]
2026-04-15T06:03:35.230Z| vmx| I125: USB: Removing autoconnect pattern for usb_xhci.autoConnect.device0
2026-04-15T06:03:35.230Z| vmx| A100: ConfigDB: Setting usb_xhci.autoConnect.device0 = ""
2026-04-15T06:03:35.260Z| vmx| I125: MsgHint: msg.usb.autoConnectFailed
2026-04-15T06:03:35.260Z| vmx| I125+ A USB device that was previously attached to this VM could not be automatically reconnected. If the device is still available but resides on a different USB port, reconnect it manually.
2026-04-15T06:03:35.339Z| vmx| I125: VUsbUpdateVigorFieldsAndAutoconnect: New set of 0 USB devices
2026-04-15T06:19:51.533Z| vmx| I125: VigorTransportProcessClientPayload: opID=esxui-dca7-8fb0 seq=71440: Receiving VUsb.AddDevice request.
2026-04-15T06:19:51.533Z| vmx| I125: USB: Connecting pattern [vid:072f pid:b501 path:0/2/0/1] controller [usb_xhci]
2026-04-15T06:19:51.533Z| vmx| I125: VigorTransport_ServerSendResponse opID=esxui-dca7-8fb0 seq=71440: Completed VUsb request with messages.
2026-04-15T07:04:05.895Z| vmx| A100: ConfigDB: Setting usb_xhci.pciSlotNumber = "224"
2026-04-15T07:04:05.944Z| vmx| A100: ConfigDB: Setting usb.pciSlotNumber = "-1"
2026-04-15T07:04:05.947Z| vmx| A100: ConfigDB: Unsetting "usb_xhci.autoConnect.device0"
2026-04-15T07:04:05.950Z| vmx| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T07:04:05.952Z| vmx| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T07:04:05.954Z| vmx| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T07:04:05.955Z| vmx| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T07:04:13.051Z| vmx| A100: ConfigDB: Setting usb_xhci.pciSlotNumber = "224"
2026-04-15T07:04:13.088Z| vmx| A100: ConfigDB: Setting usb.pciSlotNumber = "-1"
2026-04-15T07:04:13.092Z| vmx| A100: ConfigDB: Setting usb_xhci:4.present = "TRUE"
2026-04-15T07:04:13.094Z| vmx| A100: ConfigDB: Setting usb_xhci:4.deviceType = "hid"
2026-04-15T07:04:13.096Z| vmx| A100: ConfigDB: Setting usb_xhci:4.port = "4"
2026-04-15T07:04:13.099Z| vmx| A100: ConfigDB: Setting usb_xhci:4.parent = "-1"
2026-04-15T08:20:28.735Z| vcpu-0| I125: USB: Per-Device Resetting device 0x200000050e0f0003
2026-04-15T08:25:53.419Z| vcpu-0| I125: USB: Per-Device Resetting device 0x200000050e0f0003

[user@host:~] tail /var/log/usb.log
2026-04-15T06:03:25Z usbarb[2739653]: USBArb: Client 2753874 connected (version: 7)
2026-04-15T06:18:00Z usbarb[2739653]: USBArb: new socket connection estibalished: socket 13
2026-04-15T06:18:00Z usbarb[2739653]: USBArb: new client 86CEDC3280 created, socket 13 added to poll queue
2026-04-15T06:18:00Z usbarb[2739653]: USBArb: Client 2754123 connected (version: 7)
2026-04-15T06:18:40Z usbarb[2739653]: USBArb: pipe 13 closed by client 870FFD3AC0
2026-04-15T06:18:40Z usbarb[2739653]: USBArb: removing client 86CEDC3280: pid=2754123, pipe=13
2026-04-15T06:18:40Z usbarb[2739653]: USBArb: Client 2754123 disconnected
2026-04-15T06:19:02Z usbarb[2739653]: USBArb: new socket connection estibalished: socket 13
2026-04-15T06:19:02Z usbarb[2739653]: USBArb: new client 86CEDC3280 created, socket 13 added to poll queue
2026-04-15T06:19:02Z usbarb[2739653]: USBArb: Client 2754420 connected (version: 7)

[user@host:~] grep -i -E "usb|072f|b501" /var/log/hostd.log
2026-04-15T06:03:35.339Z info hostd[2739797] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 103 : Message on windows on host.domain in ha-datacenter: A USB device that was previously attached to this VM could not be automatically reconnected. If the device is still available but resides on a different USB port, reconnect it manually.
-->          device = (vim.vm.device.VirtualUSB) {
-->             backing = (vim.vm.device.VirtualUSB.USBBackingInfo) {
-->                deviceName = "vid:72f pid:b501 path:0/2/0/1",
-->          key = "usb.pciSlotNumber",
-->          key = "usb:1.speed",
-->          key = "usb:1.present",
-->          key = "usb:1.deviceType",
-->          key = "usb:1.port",
-->          key = "usb:1.parent",
-->          key = "usb_xhci.pciSlotNumber",
-->          key = "usb_xhci:4.present",
-->          key = "usb_xhci:4.deviceType",
-->          key = "usb_xhci:4.port",
-->          key = "usb_xhci:4.parent",
-->          device = (vim.vm.device.VirtualUSB) {
-->             backing = (vim.vm.device.VirtualUSB.USBBackingInfo) {
-->                deviceName = "vid:72f pid:b501 path:0/2/0/1",
-->          key = "usb_xhci.pciSlotNumber",
-->          key = "usb.pciSlotNumber",
-->          key = "usb_xhci.autoConnect.device0",
-->          key = "usb_xhci:4.present",
-->          key = "usb_xhci:4.deviceType",
-->          key = "usb_xhci:4.port",
-->          key = "usb_xhci:4.parent",
-->          device = (vim.vm.device.VirtualUSB) {
-->                label = "New Host USB device",
-->                summary = "New Host USB device"
-->             backing = (vim.vm.device.VirtualUSB.USBBackingInfo) {
-->          device = (vim.vm.device.VirtualUSB) {
-->             backing = (vim.vm.device.VirtualUSB.USBBackingInfo) {
-->                deviceName = "vid:72f pid:b501 path:0/2/0/1",
-->          key = "usb.pciSlotNumber",
-->          key = "usb:1.speed",
-->          key = "usb:1.present",
-->          key = "usb:1.deviceType",
-->          key = "usb:1.port",
-->          key = "usb:1.parent",
-->          key = "usb_xhci.pciSlotNumber",
-->          key = "usb_xhci:4.present",
-->          key = "usb_xhci:4.deviceType",
-->          key = "usb_xhci:4.port",
-->          key = "usb_xhci:4.parent",