cezanne / usbip-win

USB/IP for Windows
GNU General Public License v3.0
1.99k stars 350 forks source link

USB SPDIF card doesn't work properly #143

Closed hathlife closed 3 years ago

hathlife commented 4 years ago

Local:latest pre-release binary on Win10 1909 Remote:OpenWrt 19.07.2 mips (4.14.171) with server version 2.0-11 Connect:OK Windows detecting & configuring the device : reporting OK Problem:

  1. Lag when adjusting volume
  2. Can't play anything
hathlife commented 4 years ago

The commandline spam:

usbip: error: unknown command in pdu header: 0
cezanne commented 4 years ago

@hathlife : Can you share windows kernel log or USB capture? Please refer to https://github.com/cezanne/usbip-win/issues/144#issuecomment-619335255

hathlife commented 4 years ago

@cezanne

windows kernel log

image Should I use this to capture the kernal log? I've reset machine & router once before, So I need to re-install the driver on both of them again.

cezanne commented 4 years ago

Should I use this to capture the kernal log?

Your DebugView has no vhci log. If a debug print is enabled correctly, DebugView shows logs similar to following logs.

00000001        0.00000000      usbip_vhci: DriverEntry: Enter
00000002        0.00000228      usbip_vhci: RegistryPath FFFFD304EE01C000
00000003        0.00000313      usbip_vhci: DriverEntry: Leave
00000004        0.00006997      usbip_vhci: adding root: pdo: 0xFFFFD304F1F38E40
00000005        0.00007936      usbip_vhci: creating child cpdo
00000006        0.00015360      usbip_vhci: root added: vdev: FFFFD304ED81BC60
00000007        0.00019257      usbip_vhci: vhci_pnp(root): Enter: minor:IRP_MN_QUERY_LEGACY_BUS_INFORMATION, irp: FFFFD304EFBC2CF0
00000008        0.00019513      usbip_vhci: vhci_pnp(root): Leave: irp:FFFFD304EFBC2CF0, status:STATUS_NOT_SUPPORTED
00000009        0.00022727      usbip_vhci: vhci_pnp(root): Enter: minor:IRP_MN_FILTER_RESOURCE_REQUIREMENTS, irp: FFFFD304EFBC2CF0
00000010        0.00022869      usbip_vhci: vhci_pnp(root): Leave: irp:FFFFD304EFBC2CF0, status:STATUS_NOT_SUPPORTED
00000011        0.00025315      usbip_vhci: vhci_pnp(root): Enter: minor:IRP_MN_START_DEVICE, irp: FFFFD304EFBC2CF0
00000012        0.00025457      usbip_vhci: device(root) started

All log entries related to vhci driver have "usbip_vhci:" Did you set a IHVDRIVER registry entry as in README.md ?

cezanne commented 3 years ago

@hathlife: Too old issue. I'll close. Please reopen if you need.