Try to get to work Arducam IMX519 on Raspberry Pi - raspberry-pi

I have followed every step from the Arducam Gudie Arducam Guide IMX519. But I am getting the following message when I try to run libcamera-hello or libcamera-still -t 0:
libEGL warning: DRI2: failed to authenticate
Made X/EGL preview window
[0:05:54.878605558] [1851] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3897-c3c878a9
[0:05:54.879023852] [1866] ERROR MediaDevice media_device.cpp:479 /dev/media0[]: Failed to open media device at /dev/media0: Permission denied
[0:05:54.879141481] [1866] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media0 (Permission denied), skipping
[0:05:54.879220573] [1866] ERROR MediaDevice media_device.cpp:479 /dev/media3[]: Failed to open media device at /dev/media3: Permission denied
[0:05:54.879271443] [1866] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media3 (Permission denied), skipping
[0:05:54.879336850] [1866] ERROR MediaDevice media_device.cpp:479 /dev/media1[]: Failed to open media device at /dev/media1: Permission denied
[0:05:54.879385479] [1866] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media1 (Permission denied), skipping
[0:05:54.879447312] [1866] ERROR MediaDevice media_device.cpp:479 /dev/media2[]: Failed to open media device at /dev/media2: Permission denied
[0:05:54.879495515] [1866] INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media2 (Permission denied), skipping
ERROR: *** no cameras available ***
I flashed multiple times and reinstalled everything. Checked the cable several times. But I always get the same error.
Hope someone can help me out here.
Thanks in advance.

I tried that guide too but have run into the same issue recently. Have you tried following this instruction from arducam forum to install the driver?
Install_pivariety_pkgs.sh update and FAQ
This resolved the no cameras available error and allowed me to run libcamera-still test successfully. I still cannot get libcamera-hello to work unfortunately.

Related

ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov5640.json' not found for IPA module 'raspberrypi'?

I'm trying to interface ov5640 with raspberry Pi 4 model B, kernel version 5.15.61, till now I had loaded driver successfully and Bound driver with ov5640 successfully, and video nodes were created successfully.
I tried to stream video using gstreamer
command:
gst-launch-1.0 libcamerasrc ! video/x-raw, width=640, height=480, framerate=30/1 ! videoconvert ! videoscale ! clockoverlay time-format="%D %H:%M:%S" ! autovideosink
and it thrown error
error:
Setting pipeline to PAUSED ...
[0:02:06.704696651] [1320] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3866-0c55e522
[0:02:06.726785010] [1324] WARN CameraSensor camera_sensor.cpp:212 'ov5640 10-003c': Recommended V4L2 control 0x009a0922 not supported
[0:02:06.726879464] [1324] WARN CameraSensor camera_sensor.cpp:264 'ov5640 10-003c': The sensor kernel driver needs to be fixed
[0:02:06.726907245] [1324] WARN CameraSensor camera_sensor.cpp:266 'ov5640 10-003c': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[0:02:06.728038265] [1324] WARN CameraSensor camera_sensor.cpp:411 'ov5640 10-003c': Failed to retrieve the camera location
[0:02:06.746434072] [1324] ERROR IPAProxy ipa_proxy.cpp:149 Configuration file 'ov5640.json' not found for IPA module 'raspberrypi'
[0:02:06.746582013] [1324] ERROR IPARPI raspberrypi.cpp:213 Could not create camera helper for ov5640
[0:02:06.746635055] [1324] ERROR RPI raspberrypi.cpp:1253 Failed to load a suitable IPA library
[0:02:06.746922788] [1324] ERROR RPI raspberrypi.cpp:1184 Failed to register camera ov5640 10-003c: -22
ERROR: from element /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: Could not find any supported camera on this system.
Additional debug info:
../src/gstreamer/gstlibcamerasrc.cpp(354): gst_libcamera_src_open (): /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
libcamera::CameraMananger::cameras() is empty
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
can anyone give me a direction how to solve this?

Unity WebGL on GitHub Page: [libil2cpp] ERROR: Could not open Il2CppData/Metadata/global-metadata.dat

I exported WebGL in Unity.
It's works on Itch.io, but it cannot run on Github Page and repit is the same probelm.
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
PopTeacherComplete.loader.js:1 [UnityCache] 'https://rogewood.github.io/PopTeacher/Build/PopTeacherComplete.data' successfully downloaded and stored in the indexedDB cache
PopTeacherComplete.framework.js:2
no boot config - using default values
[libil2cpp] ERROR: Could not open Il2CppData/Metadata/global-metadata.dat
PopTeacherComplete.framework.js:2 RuntimeInitializeOnLoadManagerInitializer: Failed reading 'RuntimeInitializeOnLoads.json'
PopTeacherComplete.framework.js:2 RuntimeInitializeOnLoadManagerInitializer: Failed reading 'ScriptingAssemblies.json'
PopTeacherComplete.framework.js:2 No GlobalGameManagers file was found at , quitting player!
PopTeacherComplete.framework.js:2 Failed to initialize player
I think the problem is i use git lfs or not support libil2cpp, but I don't know how to solve it.

Not able to launch the app via using katalon studio, gets error like:

java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\Happyselling.in\\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s 04a793890405 shell settings delete global hidden_api_policy_pre_p_apps' exited with code 4294967295'; Stderr: 'Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:1819)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1027)
at com.android.providers.settings.SettingsProvider.deleteGlobalSetting(SettingsProvider.java:1010)
at com.android.providers.settings.SettingsProvider.delete(SettingsProvider.java:592)
at android.content.ContentProvider$Transport.delete(ContentProvider.java:343)
at com.android.providers.settings.SettingsService$MyShellCommand.deleteForUser(SettingsService.java:406)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:289)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.os.Binder.execTransact(Binder.java:731)'; Code: '4294967295'
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'HAPPYSELLINGIN', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_181'
Driver info: driver.version: SwipeableAndroidDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\\Users\\Happyselling.in\\.katalon\\tools\\android_sdk\\platform-tools\\adb.exe -P 5037 -s 04a793890405 shell settings delete global hidden_api_policy_pre_p_apps' exited with code 4294967295'; Stderr: 'Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
Can anyone help?
If you are using Mi device then this can be an issue with MIUI. Try the following steps:
USB debugging -Debug mode when USB is connected
Install via USB -Allow installing apps via USB
USB debugging (Security Settings) - Allow granting permissions and simulating input via USB debugging
To resolve java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session, you have to follow below steps:
Upgrade Appium server version
Remove io.appium.uiautomator2.server.test and appium.uiautomator2.server from your devices.
adb uninstall io.appium.uiautomator2.server.test
adb uninstall appium.uiautomator2.server
Delete folder C:Users//<user_folder>/.katalon/tools/android_sdk and let Katalon download again
Watch the below video for detail explanation:
https://youtu.be/Y8QuOL7EKng

AEM 6.2 create backup issue

While creating new online backup of my Author instance it is showing error showing below:
In the log it is showing error:
30.11.2017 12:11:59.105 *ERROR* [112.196.146.254 [1512043919094] GET /libs/granite/backup/content/createBackup/content/items/backupform.check.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.lang.RuntimeException: java.io.FileNotFoundException: /home/ubuntu/AEM/Dev/author/crx-quickstart/launchpad/felix/bundle305/data/classes/org/apache/jsp/libs/granite/backup/components/backupform/check_html_jsp.java (Permission denied)
at org.apache.sling.commons.fsclassloader.impl.FSClassLoaderProvider.getOutputStream(FSClassLoaderProvider.java:225)
at org.apache.sling.scripting.jsp.SlingIOProvider.getOutputStream(SlingIOProvider.java:145)
at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.getOutputStream(JspCompilationContext.java:146)
at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.generateJava(Compiler.java:150)
I have checked the bundle 305 is active. Can anyone suggest why it is unable to create a backup and showing this error.
You seem to be dealing with filesystem-level permissions problem.
java.io.FileNotFoundException:
/home/ubuntu/AEM/Dev/(...)/check_html_jsp.java (Permission denied)
This error tells you that the AEM process was denied permission to access or save a file at the path provided.
Check which user started AEM and if the user has the permissions necessary to access the directory that you're trying to use (/home/ubuntu/AEM/Dev). Change the path or the permissions.

Streaming video with VLC from webcam - errormain access out error: socket bind error (Permission denied)

I would like to use the webcam of my old laptop (my laptop is a Packard Bell EasyNote MX37) in order to do streaming video.
I try to do this streaming video through VLC by following this tutorial from Ubuntu 14.04 LTS.
Unfortunately I'm stuck when I apply this command line :
cvlc v4l2:///dev/video0 :v4l2-standard= :input-slave=alsa://hw:0,0
:live-caching=300
:sout="#transcode{vcodec=WMV2,vb=800,acodec=wma2,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.wmv}"
Indeed, I get this error message:
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x19....] dummy interface: using the dummy interface module...
[0x7f1................] main access out error: socket bind error (Permission denied)
[0x7f1................] main access out error: socket bind error (Permission denied)
[0x7f1................] main access out error: cannot create socket(s) for HTTP host
[0x7f1................] access_output_http access out error: cannot start HTTP server
[0x7f1................] stream_out_standard stream out error: no suitable sout access module for `http/asf://:8080/stream.wmv'
[0x7f1................] main stream output error: stream chain failed for `transcode{vcodec=WMV2,vb=800,acodec=wma2,ab=128,channels=2,samplerate=44100}:http{dst=:8080/stream.wmv}'
[0x7f1................] main input error: cannot start stream output instance, aborting
Thanks a lot for your help!
PS: The goal is to keep an eye on my parking space.
Just like the error message says, VLC is not allowed to open the port you specified. This might be because it is already in use by another app on your OS or because your user account simply does not have the rights needed to open a port. Consider using a different port like 32000, etc.