Levent Erenler

  • Content Count

    22
  • Joined

  • Last visited

About Levent Erenler

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for your support, I prefer 640*480 cause opencv face or tag recognition consume lots of cpu power, 640*480@30 is acceptable. I try a few more resolution and its getting worst [fmt:JPEG_1X8/1280x720] %100 cpu usage limited 15 FPS, could not reach more fps, cpu usage at single core that means not multithreaded [fmt:UYVY8_2X8/1280x720] // %190 cpu usage @30 fps ,multi threaded [fmt:UYVY8_2X8/1980x1080] // could not handle 30fps ,%200 cpu usage at 15FPS UPDATE: my best scenario is fmt:UYVY8_2X8 and opencv CV_CAP_PROP_FOURCC property is CV_FOURCC('Y', '
  2. yes, u are right that means there is no conversion. The app is very simple; open camera with opencv videocapturer and grap image with opencv(v3.4.10) and calculate fps (no display). Setup Pine64+ 1GB A64 Kernel 5.9.3 with HBV1318 ov5640 usb camera cpu usage is %6-8 at each core and total cpu usage %25 -31 ( 640*480*30FPS) device listed as doccamera: doccamera (usb-1c1a000.usb-1): /dev/video4 /dev/video5
  3. Thank you @@lex i got my new OV5640 camera and working with 5.9.x Cpu usage around %70 with opencv V4l2 capture fmt:UYVY8_2X8/640x480@30FPS and %60 with JPEG_1X8/640x480@30FPS. It is higher than i expect. i thought csi camera uses GPU to grab image. Usb ov5640 cpu usage around %25 with similar settings. is it normal? Do you have any idea. Thank you.
  4. Update: Analog sound + mic working I attached overlay for microphone and headphone. Tested with Pine64+ A64 Kernel 5.9.5 and working. You have to add overlay and set alsa configuration. Settings are just for template, you could modify to find best. Thank you. amixer cset name='Headphone Playback Switch' on amixer cset name='Headphone Source Playback Route' DAC amixer cset name='Line In Playback Switch' off amixer cset name='Line Out Playback Switch' off amixer cset name='Line Out Source Playback Route' Mono Differential amixer cset name='Mic1 Playback Switch' off amixer cset n
  5. Platform : Kernel 5.9.5 Pine64+ A64 buster server Analog sound working ! After a few days, i figure out the analog sound problem. There is a widget property in sound definition at sun50i-a64-pine64.dts file. This mainly specifies audio off-codec DAPM widgets (Dynamic Audio Power Management for Portable Devices according to devicetree/bindings/sound/widgets.txt) In my case this widgets disable analog sound and i couldnt find a way to enable it I remove widget line and linked routing properties from dts file and rebuild it and it works. If you dont want to rebuild armbian alternate way is
  6. yes exactly, now it works with custom dts. I write a test dts depending your dts file and it worked. Now i am trying to find why it is now working with original dts than i will create a patch to share with others. Thanks for your effort.
  7. yes u are right, i forget unmute while taking photo, unfortunatelly it did not fix, i try every possibility in alsamixer Thank you for pointing that.
  8. Thanks @guidol I am testing with pine64+ A64 kernel 5.9.5 i have same warnings in original dtb. I try many things but i could not figure whats wrong! I try to compare my dts file with yours.Do you have source, i mean dts files before compiled(easy to read) or is that https://github.com/megous/linux/tree/orange-pi-5.9 Thank you i try to gave more information UPDATE: I found a solution
  9. Kernel = 5.9.5 Pine64+ A64 HDMI sound is working, unfortunately Analog sound out not .I try to check dts and try to change mixer settings but no luck. I could not find what am i missing? I need help to fix analog sound issue Thank you. I attached dtb info and alsa info current_dtb.txt alsa-info.txt
  10. Hi, do you have a chance to test it? I could not get sound from audio jack. Could you share your dts if the analog audio working? Thank you
  11. Hi, I try to enable sound on headphone jack with pine64+ but i could not Alsa says "no sound found" at dmesg Could anyone help me? Thank you root@pine64:~# dmesg|grep -i sound [ 2.686397] No soundcards found. [ 6.323086] input: sun50i-a64-audio Headset Jack as /devices/platform/sound/sound/card0/input5 root@pine64:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0] Subdevices: 1/1 Subdevice #
  12. yes sensor is ov5640 and not reversed maybe there was a hardware issue, i dont know, i ordered a new one. Btw i have a reversed one (BP camera). I double check everything but no luck. May i ask is ov5640 works without any issue with a64 (pine64) or could you advise any camera ? i need 30 fps 640x480 to process with opencv. Thank you
  13. Thanks for fast reply,First I changed them according to schematic and i checked, gpios are correct, if there was an issue on my camera or not connectted, could i see device wiith "v4l2-ctl --list-devices" ? Maybe there is a problem on camera hardware. Thank you
  14. Hi, I am working more than 4 days but no luck, could you share your dts and config file. I dont understand whats wrong. i get "ov5640 1-004c: ov5640_init_slave_id: failed with -6" error Thank you root@pine64:~# dmesg |grep ov5640 [ 5.692745] sun6i-csi 1cb0000.csi: creating ov5640 1-004c:0 -> sun6i-csi:0 link [ 5.966763] ov5640 1-004c: ov5640_init_slave_id: failed with -6 [ 595.120402] ov5640 1-004c: ov5640_init_slave_id: failed with -6 root@pine64:~# v4l2-ctl --list-devices cedrus (platform:cedrus): /dev/video0 root@pine64:~# l
  15. Actually i am working on pine64 a64+ , i try to enable ov5640. i thought, i could fix with pinetab csi settings as you mention at above.