This chapter describes ways to fix problems you may encounter when you work with
the reference image for the ASRock Beebox.
You should also see the release notes for this reference image to check for known issues or limitations.
In general, you can look for errors in the slogs. For example, you run the following command to check for errors
with the Sensor service:
slog2info -b sensor
Sensor and camera issues
- The sensor service doesn't start:
Symptoms: When you restart your board, the sensor service doesn't start. If you run the pidin command, you don't see the sensor service running.
Suggested Resolutions: It 's possible that the configuration for the camera connected to your system is incorrect. Here are some ways you can resolve the problem:
- Check that the type parameter matches the type of camera you are using.
- If you are using a GigE camera, ensure that networking is working and that your cables are properly inserted.
- If you are configuring a file camera, ensure that the video file exists and that the camera service has the proper permissions to read the file.
- USB Camera isn't recognized:
Symptoms: You have a camera connected to the ports on your Beebox and run your application using the Camera library, the camera doesn't seem to be recognized. This problem can occur when you call camera_get_supported_cameras() and the numSupported returns a zero, which indicates that no cameras are supported.
Suggested solutions:
- The USB camera might not be properly configured or not
supported and therefore, not recognized. Ensure that your
camera is configured properly in the sensor configuration file;
otherwise, ensure that the USB camera is supported.
For information about how to supported cameras, see Supported hardware configurations.
For information about the sensor configuration file, see Sensor configuration file section in the
Sensor chapter of the System Services guide.
For information about the supported cameras, see
Supported hardware configurations
.