cezanne / usbip-win

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

lost two webcams #282

Open tadam98 opened 2 years ago

tadam98 commented 2 years ago

Hi, I installed a windows host on widnows 10 Version 21H1 (Build 19043.1288), followed the use instructions and bind my builtint webcam. I attached to it from WSL2, I got a few messages in the windows side that showed that fireall and everything (including rebuild of the renel) are ok. But it failed. I tried again with a USB webcam.

Still the PC cannot detect both wencams. ebem when I unplug and insert the USB webcam, it is not detected.

I tried SFc and DISM and Hardware Troubleshooting. Still nothing,

Any idea where/what grabs these devices?

tadam98 commented 2 years ago

I have done a Restore checkpoint with the reboot into troubleshooing/recovery mode and the devices are back. Scary.

Is there a procedure to do it in a simpler way?

Sok00 commented 2 years ago

hey :) clear driver in 'Hardware-manager' or select it/force manualy.

tadam98 commented 2 years ago

I have uninstalled the drivers and it did not help. I had to go back to restore point

Same happened also once with virtualhere that uses usbip layer. I which case the pc did not detect the usb3 hardware and/or driver.


From: Sok00 @.> Sent: Tuesday, November 9, 2021 5:38:05 PM To: cezanne/usbip-win @.> Cc: tadam98 @.>; Author @.> Subject: Re: [cezanne/usbip-win] lost two webcams (Issue #282)

hey :) clear driver in 'Hardware-manager' or select it/force manualy.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cezanne/usbip-win/issues/282#issuecomment-964268344, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBMCT5YFXXTGKRVSMGSIKDULE553ANCNFSM5GYTEMOQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sok00 commented 2 years ago

open cmd type devmgr_show_nonpresent_devices=1 ENTER open devmgmt.msc click the view menu click show hidden devices

if you install/update driver select device Update Driver Software… klick on Browse my computer for driver software klick on Let me pick from a list of device drivers on my computer. klick on Have Disk… or deselect Show compatible Hardware klick on Browse…

tadam98 commented 2 years ago

Yep. Nada. Had to use restore points


From: Sok00 @.> Sent: Tuesday, November 9, 2021 6:37:39 PM To: cezanne/usbip-win @.> Cc: tadam98 @.>; Author @.> Subject: Re: [cezanne/usbip-win] lost two webcams (Issue #282)

open cmd type devmgr_show_nonpresent_devices=1 ENTER open devmgmt.msc click the view menu click show hidden devices

if you install/update driver select device Update Driver Software… klick on Browse my computer for driver software klick on Let me pick from a list of device drivers on my computer. klick on Have Disk… or deselect Show compatible Hardware klick on Browse…

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cezanne/usbip-win/issues/282#issuecomment-964325936, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBMCTYUXLTW3EOKVKLLHMLULFE5HANCNFSM5GYTEMOQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sok00 commented 2 years ago

Win-sdk in Debugg Tools is an GUI for usb: usbview.exe can you Screenshot ?

tadam98 commented 2 years ago

Will do next time it happens.


From: Sok00 @.> Sent: Tuesday, November 9, 2021 6:50:19 PM To: cezanne/usbip-win @.> Cc: tadam98 @.>; Author @.> Subject: Re: [cezanne/usbip-win] lost two webcams (Issue #282)

Win-sdkhttps://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ in Debugg Tools is an GUI for usb: usbview.exe can you Screenshot ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cezanne/usbip-win/issues/282#issuecomment-964337907, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBMCT2DD56PYQOA77SYYUDULFGMXANCNFSM5GYTEMOQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sok00 commented 2 years ago

Windows can select the wrong driver then as a result, the device disappears or has a wrong name.

tadam98 commented 2 years ago

Why would this happen as a result of running a usbip server on the windows side?

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Friday, November 12, 2021 10:22 AM To: @.> Cc: @.>; @.> Subject: Re: [cezanne/usbip-win] lost two webcams (Issue #282)

Windows can select the wrong driver then as a result, the device disappears or has a wrong name.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cezanne/usbip-win/issues/282#issuecomment-966911881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFBMCTZ636KXXCTEDJRYXDLULTFCTANCNFSM5GYTEMOQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Sok00 commented 2 years ago

all installed drivers in win 10 are registered in the registry if something went wrong during installation or Something else can happen that the wrong driver is loaded. HKEY_LOCAL_MACHINE\SYSTEM\DriverDatabase\DriverPackages