Problem with ZED2 Camera connection after reboot

A while ago i connected Stereolab’s ZED2 camera to the port shown in the image, It works fine until i reboot the device. After rebooting, AGX doesn’t detect the camera for some reason until i re-plug the camera. I need the camera to work without re-plugging it.
Kindly provide me with a solution.

You can try to enable/disable the regulator to re-enumerate the usb devices.

$ echo disabled >  /sys/class/regulator/regulator.X/state
$ echo enabled >  /sys/class/regulator/regulator.X/state

The X here need to change to the regulator of the usb port you are using.

there are 29 regulators found in the /sys/class/regulator/ directory. regulators 0, 1, 2, 4, 7, 8, 9, 10 and 14 don’t have state. I tried to disable and enable the rest of the regulators but i was only allowed to change the state of regulators 3, 5, 11 and 13 (i was using root) and those regulators don’t seem to affect the connection in any way.

i don’t know why i can’t change the state of the other regulators. the zed2 camera is connected to type-C port

this is an example for regulator 19

We can do a hardware reset using reboot provided by Camera class.
Camera | C++ API Reference | Stereolabs

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.