<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/179" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2019-07-28T16:42:18+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/179</id>

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-07-28T16:42:18+00:00</updated>

		<published>2019-07-28T16:42:18+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=511#p511</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=511#p511"/>
		<title type="html"><![CDATA[Re: Not working cameras]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=511#p511"><![CDATA[
Your config files are correct.<br><br>While first boot S.L.P. image formats all free space on your micro SD to FAT 32. If you are using a very big micro SD card, it might take some time. But, as a rule, it is not a 5 minutes like in your case.<br><br>"detected=2" means cameras answers to the system requests by I2C. But actually I2C uses only 2 lines from 15 lines available in the camera ribbon. It means that some data line possibly has bad connection on camera side or StereoPi side. Usually "disconnect-connect" solves this issue.<br><br>WillfordRockwell, try to do cameras reconnection, and also plan "b" in my comment (reverse connection).<br><br>Before doing this please check, that tiny brown connectors on both camera boards are sitting firmly. I mean connectors at the end of a flexible cable, which is running from black optics boxes to green PCB of your camera (correct for V1 cameras).<br><br>If this will not help, it is better to use desktop-edition of Raspbian for future debug. You can use our OpenCV image as is, or any stock-new Raspbian with <a href="https://wiki.stereopi.com/index.php?title=The_Basics#How_to_prepare_Raspbian_image" class="postlink"> dt-blob.bin added to /BOOT partition</a>. <br>After this you can test cameras one-by one, and find one with a bad behavior. <br>Connect one camera and test it alone. Then disconnect it, connect second camera and test it again. <br>May be this is a ribbon issue. If you own Starter or Deluxe kit, you have additional short camera ribbons. You can try to replace current ribbon with a new one to localize your issue.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Sun Jul 28, 2019 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WillfordRockwell]]></name></author>
		<updated>2019-07-28T14:38:23+00:00</updated>

		<published>2019-07-28T14:38:23+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=509#p509</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=509#p509"/>
		<title type="html"><![CDATA[Re: Not working cameras]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=509#p509"><![CDATA[
<blockquote class="uncited"><div>1. Try to run<div class="codebox"><p>Code: </p><pre><code>vcgencmd get_camera</code></pre></div>If everything is Ok you will see this answer:<div class="codebox"><p>Code: </p><pre><code>supported=2, detected=2</code></pre></div></div></blockquote>I see: <div class="codebox"><p>Code: </p><pre><code>suported=2, detected=2</code></pre></div>When I start StereoPi with pluggeg HDMI, I can see start logo vir2real and default StereoPi image:<br><br><img src="https://thumb.cloud.mail.ru/weblink/thumb/xw1/45CD/wqieBA2i3/IMG_20190728_211933.jpg?x-email=ermacprodac%40mail.ru" class="postimage" alt="Image"><br><br>And no image from cameras after 5 min.<br><br>config.conf is:<div class="codebox"><p>Code: </p><pre><code>photo_resolution=defaultvideo_width=1280video_mode=3Dvideo_height=720video_fps=30video_bitrate=3000000video_profile=baselinertmp_url=rtmp_enabled=0mpegts_clients=192.168.1.10:3001mpegts_enabled=0rtsp_enabled=0usb_enabled=1audio_enabled=0video_wb=autoexposure=autocontrast=-15sharpness=0digitalgain=0.0wifi_iface=wlan0wifi_ssid=RT-GPON-2692wifi_psk=DELETEDrecord_enabled=1record_time=300dec_enabled=0up_down=0swapcams=0udp_clients=192.168.1.10:3000udp_enabled=0ws_enabled=1</code></pre></div>after boot typing "ps -A":<div class="codebox"><p>Code: </p><pre><code>  PID TTY          TIME CMD    1 ?        00:00:02 systemd    2 ?        00:00:00 kthreadd    4 ?        00:00:00 kworker/0:0H    5 ?        00:00:00 kworker/u8:0    6 ?        00:00:00 mm_percpu_wq    7 ?        00:00:00 ksoftirqd/0    8 ?        00:00:00 rcu_sched    9 ?        00:00:00 rcu_bh   10 ?        00:00:00 migration/0   11 ?        00:00:00 cpuhp/0   12 ?        00:00:00 cpuhp/1   13 ?        00:00:00 migration/1   14 ?        00:00:00 ksoftirqd/1   16 ?        00:00:00 kworker/1:0H   17 ?        00:00:00 cpuhp/2   18 ?        00:00:00 migration/2   19 ?        00:00:00 ksoftirqd/2   20 ?        00:00:00 kworker/2:0   21 ?        00:00:00 kworker/2:0H   22 ?        00:00:00 cpuhp/3   23 ?        00:00:00 migration/3   24 ?        00:00:00 ksoftirqd/3   26 ?        00:00:00 kworker/3:0H   27 ?        00:00:00 kdevtmpfs   28 ?        00:00:00 netns   29 ?        00:00:00 kworker/0:1   31 ?        00:00:00 kworker/1:1   32 ?        00:00:00 kworker/3:1   33 ?        00:00:00 khungtaskd   34 ?        00:00:00 oom_reaper   35 ?        00:00:00 writeback   36 ?        00:00:00 kcompactd0   37 ?        00:00:00 crypto   38 ?        00:00:00 kblockd   39 ?        00:00:00 watchdogd   40 ?        00:00:00 rpciod   41 ?        00:00:00 xprtiod   44 ?        00:00:00 kswapd0   45 ?        00:00:00 nfsiod   55 ?        00:00:00 kthrotld   56 ?        00:00:00 iscsi_eh   57 ?        00:00:00 dwc_otg   58 ?        00:00:00 DWC Notificatio   59 ?        00:00:00 vchiq-slot/0   60 ?        00:00:00 vchiq-recy/0   61 ?        00:00:00 vchiq-sync/0   62 ?        00:00:00 vchiq-keep/0   63 ?        00:00:00 SMIO   65 ?        00:00:00 mmcqd/0   66 ?        00:00:00 jbd2/mmcblk0p2-   67 ?        00:00:00 ext4-rsv-conver   69 ?        00:00:00 ipv6_addrconf   90 ?        00:00:00 systemd-journal   95 ?        00:00:00 kworker/u8:2  109 ?        00:00:00 kworker/2:2  131 ?        00:00:00 systemd-udevd  187 ?        00:00:00 cfg80211  259 ?        00:00:00 systemd-timesyn  305 ?        00:00:00 thd  307 ?        00:00:00 avahi-daemon  309 ?        00:00:00 systemd-logind  314 ?        00:00:00 dbus-daemon  335 ?        00:00:00 dhcpcd  337 ?        00:00:00 avahi-daemon  345 ?        00:00:00 cron  364 ?        00:00:00 php-fpm7.0  377 ?        00:00:00 run.sh  397 ?        00:00:00 RTW_CMD_THREAD  401 ?        00:00:00 dnsmasq  423 ?        00:00:00 sshd  467 ?        00:00:00 php-fpm7.0  468 ?        00:00:00 nginx  469 ?        00:00:00 php-fpm7.0  470 ?        00:00:00 nginx  471 ?        00:00:00 nginx  472 ?        00:00:00 nginx  473 ?        00:00:00 nginx  506 tty2     00:00:00 fbi  507 ?        00:00:00 wlan-switch.php  508 ?        00:00:00 video-source.sh  509 ?        00:00:00 loop-mpegts.sh  510 ?        00:00:00 loop-mpegts-sky  511 ?        00:00:01 loop-rtmp.sh  512 ?        00:00:01 usb-video.sh  513 ?        00:00:00 loop-record.sh  514 ?        00:00:00 record-watcher.  515 ?        00:00:00 loop-ws.sh  516 ?        00:00:05 skybox-server.j  519 ?        00:00:06 index.js  520 ?        00:00:00 raspivid  521 ?        00:00:00 splitter  539 ?        00:00:01 stereopi  616 ?        00:00:00 wpa_supplicant  643 ?        00:00:00 dhclient  952 ?        00:00:00 kworker/0:1H  953 ?        00:00:00 kworker/1:1H  954 ?        00:00:00 kworker/2:1H  955 ?        00:00:00 kworker/3:1H 2546 ?        00:00:00 kworker/0:0 2620 ?        00:00:00 kworker/1:0 4205 ?        00:00:00 kworker/3:0 4369 ?        00:00:00 kworker/0:2 4486 ?        00:00:00 kworker/1:2 4923 ?        00:00:00 kworker/2:1 4966 ?        00:00:00 sshd 5010 ?        00:00:00 systemd 5013 ?        00:00:00 (sd-pam) 5023 pts/0    00:00:00 bash 6172 ?        00:00:00 sleep 6181 ?        00:00:00 recorder 6217 ?        00:00:00 sleep 6218 ?        00:00:00 sleep 6219 ?        00:00:00 sleep 6222 ?        00:00:00 sleep 6223 pts/0    00:00:00 ps</code></pre></div>May be there are no process to show cameras' work to hdmi? May be it is because file system is mounted read-only?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=65">WillfordRockwell</a> — Sun Jul 28, 2019 2:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-07-28T12:16:48+00:00</updated>

		<published>2019-07-28T12:16:48+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=503#p503</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=503#p503"/>
		<title type="html"><![CDATA[Re: Not working cameras]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=503#p503"><![CDATA[
Hi!<br>First notice: our S.L.P. image uses the cameras all the time. So if you try to use <em class="text-italics">raspistill</em> you get an error like you have, as both S.L.P. and your <em class="text-italics">raspistill</em> instance will try to access cameras at the same time, and conflict appears. To avoid this, stop our scripts by running "stop.sh" here: <div class="codebox"><p>Code: </p><pre><code>/opt/StereoPi/stop.sh</code></pre></div>Do not try to use "killall" for raspivid, as our scripts will automatically restart it. Just run "stop.sh"<br><br>Second notice: built-in Raspbian stereoscopic mode support uses the only camera LED. That is while both your cameras used now, you see the only camera red LED is on. Please take this into account and do not use this as a criteria for camera status.<br><br>If you use fresh 0.2.3 S.L.P., both cameras should be enabled in config file by default (I mean stereopi.conf in a /BOOTpartition), but please check this too. You should have "video_mode=3D" in a second row.<br><br>I can suggest you have some mechanical issue, like not 100% connection on one of camera ribbons side. What I'm doing in a case like yours:<br>1. Try to run<div class="codebox"><p>Code: </p><pre><code>vcgencmd get_camera</code></pre></div>If everything is Ok you will see this answer:<div class="codebox"><p>Code: </p><pre><code>supported=2, detected=2</code></pre></div>"supported=2" means system has found dt-blob.bin and understand, that there are two cameras support.<br>"detected=2" means both cameras are detected and answered to system request.<br>I can suggest you will see "detected=1", it means one camera is not detected.<br><br>2. Now you need to understand, which camera is not working.<br>For this you should poweroff your StereoPi, disconnect one camera, and either run "vcgencmd get_camera" or use "raspistill -cs ..." test.<br><br>3. When you found this camera, try two steps:<br>a) DIsconnect ribbon from undetected camera, and also from StereoPi. Connect them again, and try to test it.<br>b) Disconnect ribbon from undetected cam and the StereoPi, and connect it in opposite way. That is insert ribbon tail from the camera to the StereoPi, and the tail from the StereoPi to your camera. Run the tests.<br><br>Please share your results here!<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Sun Jul 28, 2019 12:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[WillfordRockwell]]></name></author>
		<updated>2019-07-28T08:58:07+00:00</updated>

		<published>2019-07-28T08:58:07+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=501#p501</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=501#p501"/>
		<title type="html"><![CDATA[Not working cameras]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=501#p501"><![CDATA[
Hello to everyone.<br><br>Initially, everything worked well. But after a two-month break in development, today I launched StereoPi and did not receive from HDMI image. Only the first camera's LED is on, both cameras are workable. An attempt to see the image through the application on the phone was a failure. I thought that the problem would be solved by loading a fresh SLP image (0.2.3), but the problem remained. I can connect via ssh, local IP, but there is no image. With the commands "raspistill -cs 0" and "raspistill -cs 1" nothing happens, the programs hang, I have to interrupt them. I suspect that this is a software problem, please tell me, in what configuration files I should see the initialization of the cameras?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=65">WillfordRockwell</a> — Sun Jul 28, 2019 8:58 am</p><hr />
]]></content>
	</entry>
	</feed>
