Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect to V1 goggles while using USB mode. #6

Open
EduarteXD opened this issue Mar 31, 2023 · 20 comments
Open

Unable to connect to V1 goggles while using USB mode. #6

EduarteXD opened this issue Mar 31, 2023 · 20 comments

Comments

@EduarteXD
Copy link

EduarteXD commented Mar 31, 2023

goggles firmware version: v01.00.0606

dji-moonlight-shim version: v1.0.3

Here's the situation:

I successfully tried streaming with my v2 goggles, but when I asked my friend to try it with their v1 goggles, it didn't work (at least in USB mode).

I used the command moonlight stream -app Desktop -platform dji_usb -bitrate 50000 to stream using a USB cable and received the following output:

No host address specified. Using 127.0.0.1
Connecting to 127.0.0.1...
RTSP port: 48010
Initializing platform...done
Resolving host name...done
Packet size capped at 1KB for remote streaming
Initializing audio stream...done
Starting RTSP handshake...Reference frame invalidation is not supported by this host
Audio port: 48000
Video port: 47998
Control port: 47999
done
Initializing control stream...done
Initializing video stream...done
Initializing input stream...done
Starting control stream...done
Starting video stream...dji_usb: 1440 x 810 @ 120 FPS
dji_usb: context = 0x0
dji_usb: drFlags = 0x1
init usb
open device
unable to open device, or device not found
try running as root (with sudo)

I also tried starting dji-moonlight-shim in wtfos configurator's CLI and received the following output:

root@pigeon_wm150_gls:/ # dji-moonlight-shim
USB mode has been enabled via package-config.
WARNING: linker: ./dji-moonlight-shim: unsupported flags DT_FLAGS_1=0x8000001
Using USB mode
Waiting for alignment...

I'm not sure if I did anything wrong with the v1 goggles or if USB mode simply isn't supported on them.

@j005u
Copy link
Collaborator

j005u commented Mar 31, 2023

You may need to re-assign the bulk usb winsub driver using Zadiq for the V1 Goggles if you didn't already do so.

It should work on V1s, usually this is due to drivers.

@EduarteXD
Copy link
Author

My friend seems to have already gone to sleep, and I can't reach him for now. I will have him try it tomorrow. Thx for your reply :-)

@EduarteXD
Copy link
Author

We attempted to reinstall the bulk USB driver, but it did not resolve the issue. Based on feedback from others, this problem appears to be unrelated to the version of the goggles, as a small number of individuals have experienced it with both v1 and v2 goggles.

@j005u
Copy link
Collaborator

j005u commented Apr 3, 2023

I'm not at all sure this will solve the issue for you, but I just published a new version of the driver installer that handles cases where the device is already plugged in during install a bit better: https://github.com/fpv-wtf/driver-installer/releases/tag/v1.1.0

It might be worth a shot.

@AgentService
Copy link

Hi having the same issue, any recommendations?

@j005u
Copy link
Collaborator

j005u commented Apr 5, 2023

@AgentService have you tried the updated driver installer like I posted above?

@janjazda
Copy link

janjazda commented Apr 5, 2023

Same here. I have V1 goggles. Latest WTFOS and Moonlight + updated driver. Streaming via usb not working, only by net.

@j005u
Copy link
Collaborator

j005u commented Apr 5, 2023

Just to make sure everyone is on the same page, here are all the troubleshooting steps I'm aware of so far:

If anyone that was having trouble is able to solve things with these steps please do let me know.

@EduarteXD
Copy link
Author

My friend and I have tried all the solutions listed above, but the issue persists.

We have also tried reinstalling the wtfos but it didn't help either. However, when we decided to switch over to his laptop after exhausting all other options, it worked.

Therefore, it is highly likely that this predicament stems from the computer's environment rather than the goggles. Furthermore, there seems to be no indication of a driver problem.

@j005u
Copy link
Collaborator

j005u commented Apr 9, 2023

Can someone still experiencing the issue with USB mode (now called BULK mode in the latest release):

See screenshot for example:
image

Might help us get to the bottom of the BULK issues.

@EduarteXD
Copy link
Author

EduarteXD commented Apr 12, 2023

We have resolved our issue after upgrading to v1.1.0. Not sure if this will work for everyone. Thank you again for your support :)

@AgentService
Copy link

Works for me. Thanks

@NikooFPV
Copy link

Can someone still experiencing the issue with USB mode (now called BULK mode in the latest release):

See screenshot for example: image

Might help us get to the bottom of the BULK issues.

0006.0000.0004.002.000.000.000.000.000 RNDIS (Interface 0) Remote NDIS Yes No No No 18.07.2023 19:50:20 18.07.2023 19:27:45 2ca3 001f 4.09 e0 01 03 NIKOOPC WinUSB WinUSB - Kernel Driver 06/02/2012 6.1.7600.16385 WinUsb.sys DJI Technology Co., Ltd. RNDIS RNDIS (Interface 0) 6.1.7600.16385 USB_Install oem62.inf USB\VID_2CA3&PID_001F&MI_00\9&c130755&0&0000
0006.0000.0004.002.000.000.000.000.000 USB Mass Storage Device Mass Storage Yes Yes No No F:, G: 18.07.2023 19:59:49 18.07.2023 19:59:49 2ca3 001f 4.09 08 06 50 NIKOOPC a&147b69ac&0 USBSTOR @usbstor.inf,%USBSTOR.SvcDesc%;USB Mass Storage Driver USBSTOR.SYS Compatible USB storage device USB Mass Storage Device 10.0.22621.1 USBSTOR_BULK.NT usbstor.inf USB\VID_2CA3&PID_001F&MI_02\9&c130755&0&0002 SurpriseRemovalOK
0006.0000.0004.002.000.000.000.000.000 DJI RMVT Bulk Vendor Specific Yes No No No 18.07.2023 19:50:20 18.07.2023 18:24:38 2ca3 001f 4.09 ff 43 01 NIKOOPC WinUSB WinUSB - Kernel Driver 06/02/2012 6.1.7600.16385 WinUsb.sys DJI BULK Interface DJI RMVT Bulk 6.1.7600.16385 USB_Install oem51.inf USB\VID_2CA3&PID_001F&MI_03\9&c130755&0&0003
0006.0000.0004.002.000.000.000.000.000 Urządzenie szeregowe USB Communication Yes Yes No No COM3 18.07.2023 19:59:49 18.07.2023 17:52:28 2ca3 001f 4.09 02 02 01 NIKOOPC usbser @usbser.inf,%UsbSerial.DriverDesc%;Sterownik szeregowy USB firmy Microsoft usbser.sys Microsoft Urządzenie szeregowe USB (COM3) Urządzenie szeregowe USB 10.0.22621.1778 UsbSerial_Install usbser.inf USB\VID_2CA3&PID_001F&MI_04\9&c130755&0&0004 SurpriseRemovalOK
0006.0000.0004.002.000.000.000.000.000 ADB Device Vendor Specific Yes No No No 18.07.2023 19:50:20 18.07.2023 17:52:36 2ca3 001f 4.09 ff 42 01 NIKOOPC WINUSB WinUSB - Kernel Driver 06/02/2012 6.1.7600.16385 WinUsb.sys WinUsb Device ADB Interface ADB Device 10.0.22621.608 ADB.NT winusb.inf USB\VID_2CA3&PID_001F&MI_06\9&c130755&0&0006

@j005u
Copy link
Collaborator

j005u commented Jul 18, 2023

@NikooFPV thanks, that confirms that the driver has been installed successfully and the problem must be elsewhere.

I'm afraid we don't have any immediate fixes, but this is good info.

@NikooFPV
Copy link

NikooFPV commented Jul 20, 2023

@NikooFPV thanks, that confirms that the driver has been installed successfully and the problem must be elsewhere.

I'm afraid we don't have any immediate fixes, but this is good info.

This what im seein in moonlight gui

Initializing control stream...done
Initializing video stream...done
Initializing input stream...done
Starting control stream...done
Starting video stream...dji_net: 1440 x 810 @ 120 FPS
dji_net: context = 0x0
dji_net: drFlags = 0x1
dji_net: Connecting to 192.168.42.5:42069,,,
connect failed: 11: Connection timed out
connect failed: 11: Connection timed out
connect failed: 11: Connection timed out

@Playedswag
Copy link

Can someone still experiencing the issue with USB mode (now called BULK mode in the latest release):

See screenshot for example: image

Might help us get to the bottom of the BULK issues.

0001.0000.0000.014.000.000.000.000.000 Remote NDIS based Internet Sharing Device Remote NDIS Yes Yes No No 21.08.2023 21:43:39 21.08.2023 21:04:26 2ca3 001f 4.09 e0 01 03 DESKTOP-D0UA3BN usbrndis6 @netrndis.inf,%usbrndis6.Service.DispName%;USB-RNDIS6-Adapter usb80236.sys Microsoft Remote NDIS based Internet Sharing Device Remote NDIS based Internet Sharing Device 10.0.19041.1 RNDIS.NT.5.1 wceisvista.inf USB\VID_2CA3&PID_001F&MI_00\7&c130755&2&0000 SurpriseRemovalOK
0001.0000.0000.014.000.000.000.000.000 USB-Massenspeichergerät Mass Storage Yes Yes No No E:, F: 21.08.2023 21:43:39 21.08.2023 21:43:39 2ca3 001f 4.09 08 06 50 DESKTOP-D0UA3BN 8&18e2ec64&0 USBSTOR @usbstor.inf,%USBSTOR.SvcDesc%;USB-Massenspeichertreiber USBSTOR.SYS Kompatibles USB-Speichergerät USB-Massenspeichergerät 10.0.19041.1949 USBSTOR_BULK usbstor.inf USB\VID_2CA3&PID_001F&MI_02\7&c130755&2&0002 SurpriseRemovalOK
0001.0000.0000.014.000.000.000.000.000 BULK Interface (Interface 3) Vendor Specific Yes No No No 21.08.2023 21:36:19 21.08.2023 21:04:25 2ca3 001f 4.09 ff 43 01 DESKTOP-D0UA3BN WinUSB WinUSB - Kernel Driver 06/02/2012 6.1.7600.16385 WinUSB.SYS DJI Technology Co., Ltd. BULK Interface BULK Interface (Interface 3) 6.1.7600.16385 USB_Install oem132.inf USB\VID_2CA3&PID_001F&MI_03\7&c130755&2&0003
0001.0000.0000.014.000.000.000.000.000 Serielles USB-Gerät Communication Yes Yes No No COM7 21.08.2023 21:43:39 21.08.2023 21:04:26 2ca3 001f 4.09 02 02 01 DESKTOP-D0UA3BN usbser @usbser.inf,%UsbSerial.DriverDesc%;Microsoft-Treiber für serielle USB-Geräte usbser.sys Microsoft Serielles USB-Gerät (COM7) Serielles USB-Gerät 10.0.19041.2130 UsbSerial_Install usbser.inf USB\VID_2CA3&PID_001F&MI_04\7&c130755&2&0004 SurpriseRemovalOK
0001.0000.0000.014.000.000.000.000.000 ADB Device Vendor Specific Yes No No No 21.08.2023 21:36:19 21.08.2023 21:04:25 2ca3 001f 4.09 ff 42 01 DESKTOP-D0UA3BN WINUSB WinUSB - Kernel Driver 06/02/2012 6.1.7600.16385 WinUSB.SYS WinUsb Device ADB Interface ADB Device 10.0.19041.1 ADB.NT winusb.inf USB\VID_2CA3&PID_001F&MI_06\7&c130755&2&0006
DJI FPV GOGGLES USB-Verbundgerät Unknown Yes Yes No No E:, F: 987654321ABCDEF 21.08.2023 21:43:39 21.08.2023 21:04:25 2ca3 001f 4.09 00 00 00 DESKTOP-D0UA3BN 7&c130755&2 usbccgp @usb.inf,%GenericParent.SvcDesc%;Microsoft Standard-USB-Haupttreiber usbccgp.sys (Standard-USB-Hostcontroller) 2 mA 2.10 USB-Verbundgerät 10.0.19041.2546 Composite.Dev usb.inf USB\VID_2CA3&PID_001F\987654321ABCDEF Removable, UniqueID, SurpriseRemovalOK.

@buslov
Copy link

buslov commented Sep 12, 2023

Solved same problem on V1 goggles for me:

  1. Uninstall all devices with VendorID:ProductID 2ca3:001f via USBDeview
  2. Install drivers via driver_installer.exe

@alexberdnik
Copy link

Same for me with goggles v2, fixed by replacing driver for BULK device by winusb using zadig

@samlefox
Copy link

Sheat happens when you install DJI assistant drones series. It overwrites the Bulk Driver.
I uninstalled the Dji Assitant and Replaced driver for BULK device by winusb using zadig worked for me.
Thank you guys for the tips :)

@Marcos-Santos80
Copy link

Marcos-Santos80 commented Apr 29, 2024

Hello brothers;
After countless attempts and procedures carried out according to previous topics, I still cannot receive the image from the computer on my Goggles V2 via USB (BULK MODE). I identified that Moonlight always runs via the network.
I've already tried the link https://fpv.wtf/package/fpv-wtf/dji-moonlight-shim and also the CLI command exec dji-moonlight-shim --usb to start the stream via USB.
I've already uninstalled DJI Assistant, I've uninstalled the drivers with USBDView, installed the new driver and nothing has happened.
The glasses are perfectly recognized by the FPV.WTF website but it still doesn't work.
Does anyone have another solution??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants