Open robertgalo opened 11 months ago
Sorry, this is way outside of my area, so I will have to file an internal ticket. I was asked if this happens with or without the camera's internal battery?
Hi, thanks for replying. It happens in both cases. You can, after it happened, also take the battery out and put it in again (it doesn't matter how long it stays out) and there will be no change. The ncm/virtual nic is not available when the error occurred once before.
The big problem with this issue is, that it is a real show stopper for us. Maybe someone can pm me (I'm available during Mo-Fr UTC 09:00 up to 16:00 for other means of communication as well, in case and if wished so ...)
I think the question the team wants to know, does it only occur (the initial failure) when the battery is out? Or can this happen with stock firmware, with a stock battery installed?
I think the question the team wants to know, does it only occur (the initial failure) when the battery is out? Or can this happen with stock firmware, with a stock battery installed?
I think, it's a little bit more weird. I tested right now several further combinations.
Conclusion:
If there is an "wake up USB POWER ON" option, I could be happy again :)
There is a wake on USB power option within Labs. Try !MWAKE=2 see if that helps. The camera will boot automatically when applying external power. Do this without a battery (which I think you want) required a patched Labs (HERO11 Labs 2.12.71: https://www.dropbox.com/t/A5mfO3DANNqTBrHn ) to be included with the next official Labs build.
Thanx David,
so finally tested: It seems to work, if you keep the battery out and, in case of the ncm error the cam for > 5 seconds without power, that, when you power on the cam again ncm registers every time. The !WAKE=2 works as well. Now we design an own PCB for switching the USB PD power by the GPIO.
We are also looking into the bug, but it is good there seems to be a workaround.
Dear GoPro Labs Team,
I don't know how important this issue might be, but in my opinion it could block remote operations of GoPro Hero 11 (just tested with this ones). In case we can't fix this somehow, also due to the missing of other options, we, so our team, will be forced to climb up to a roof every second or third day and do some manual fixes - we would like not to do so so maybe you can help us ;-).
Here is the issue and what we figured out:
When disconnecting and/or power loss and or camera reboot, and the camera is connected through an USB cable to the computer (UBUNTU 20.04), the USB driver of the cam registers every time (checks made per lusb, dmesg, infconfig -a) but the ncm device (virtual network card) is not registering and thus showing up anymore. The following tests have been made to reproduce the issue:
So it should look like (dmesg | tail - [somelines]) when everything is fine:
Disconnecting/Rebooting the camera by just unplugging the USB cable and/or turning it on/off produces this issue with a probability of ~ 33% of all tries when a USB connection is up and running and ncm has registered a virtual NIC usb01, etc.
So it looks like, in case ncm is not available any more (dmesg | tail -[somelines]) like the following:
Trying eg. something like http://172.2[X].1[Y][Z].51:8080/gopro/camera/control/wired_usb?p=1 or 0 can't help in this case anymore, the web server on cam is not present and the spinner keeps turning ...
The issue has been identified to be related to the firmware/software on the camera, because:
The only thing which helps, without changing or doing anything else (as well as nothing on the computer side) is to set the camera to factory defaults (an interesting detail: when using the labs version only the video settings have been reset then (speed, lens, mode .. - on the main screen) all other things stayed untouched?).
Finally, after doing this, ncm is available and a NIC (usb01) has been registered again.
I would like to request a fix, but I'm not sure how this should look like. For sure, on the "other side" the ncm / NIC should be always available, and the webserver of the camera accessible, and the cam software should somehow take care about it ;-). But maybe, you have some ideas and could help, we would appreciate this very much, thank you.