Hi,
When I start ML2 without connected to PC with USB cable, I cannot activate USB connection anymore even when cable is connected to PC, until I restart ML2 meanwhile connected to USB while starting. Otherwise PC connection for file transfer button does not get activated until restart.
Do you mind sharing more information ? What "file transfer" button? Do you have any additional reprosteps?
From settings, I go
Connected Devices > USB > Use USB for (File Transfer/ML Hub Connectivity) but Although USB is connected and this menu is accessible, the options inside the menu are all disabled and cannot be clicked. Cannot make it enabled until I restart ML2 meanwhile USB to PC cable is connected during the restart.
Also I would like to enable "File Transfer/ML Hub Connectivity" all the time without asking me every time I connect it to PC, but I could not do it.
It sounds like there might be multiple ADB instances running which could conflict with the connection. Please make sure that the ML Hub is either using the same instance of adb as Unity or Android Studio or that these are not active.
Although I dont use ML Hub, both ML Hub and ML Hub 3 is installed. Can this be the reason?
Ahhh I might misunderstood, are you referring to the popup that appears on the Magic Leap when you connect the device to the computer?
Is the issue that the option does not stay selected? Or does it remain selected but it doesn't connect to your pc when the device is rebooted while connected to the computer?
Hi,
There are 2 different issues here:
- The option does not stay selected as you say. I always want it to be selected for file transfer. But each time I connected the cable, it is turned off again and I have to put on the glasses to switch it to file transfer from settings.
- If glasses is turned off and USB to PC cable is not connected to PC. Then I turn on the glasses in this condition. Glasses turn on. I realize that I forget to connect USB cable, and I connect USB cable to PC after startup. The USB cable mode cannot be switched to File Transfer Mode anymore. When I go to settings, I see that USB menu is activated, but when I enter USB menu, all options are disabled. They are not clickable. Connecting/disconnecting the cable does not solve the issue. So I have to restart the glasses while cable is connected to be able to switch to file transfer mode. So each time I forget to attach the cable at startup, I have to restart glasses and loose 1.5 minutes to wait for restart again.
Are you using a Mac or Windows device?
Does your host device prompt you for permissions to connect to the device when booting or reconnecting the cable?
Are there any security measures taken by your device perhaps by your organization that may prevent these kinds of connections?
Would you mind trying to reconnect the cable after closing out all instances of the ML Hub or any other programs such as Android Studio?
I am using Windows 10 Pro. ML Hub or Android Studio is closed, I rarely use. Usually Unity is open. There is no limits on USB connections, since I am the CTO of the company.
Are you using the latest version of the ML2 OS?
Unfortunately, I was unable to reproduce this issue on my end.
My Steps:
- Power off device
- Plug in device
- Power on device
- Go to Settings
- Check for data transfer/usb debugging
- Unplug device and plug back in
- Check for data transfer/usb debugging
In both cases, my device was connected successfully. I would double check any connection points on the device, there may be an issue with the cable or the device itself if you are using the latest version of the OS.
In first step, I power on device connected to power source, not PC. Image is as follow.
When device is on, in second step, I plugged USB-PC cable as show in the following image. No ML hub or Unity are running on PC.
Now I put on the glasses, go to connections > usb, I cannot click anything. So I started ML Hub 3 to take a snapshot as follows.
Then I restarted glasses while it is connected to PC with USB. I put on the glasses, go to connections > usb, I can now click file transfer as follows.
Make sure when connecting to the PC that you use the cable that came with the ML2. Other cables will not be compatible.