Copy script to /home/pi/webcam-checker.sh and make executable (chmod +x) If the compression ratio exceeds 50%, assume b/w static and restart webcamd # This script detects when the Logitech C270 Webcam has failed to initialize and if needed restarts it. In any case, I have an alternate solution for this problem which involves running a script to check the image, perhaps this can save someone some money and keep an old C270 from the dumpster: #!/usr/bin/env bash Wondering if any of you have similar issues getting your C270 to go higher than 640x480. ![]() I'm actually trying to figure out why my webcamd takes the parameters for my C270 -r 1280x720 -f 10 -vf and then reports an error after Jun 22 00:35:24 octopi webcamd: libv4l2: error setting pixformat: Device or resource busy rtl_usb: Pending RX skbuff queue full! (qlen: 64) Sometimes the usb controller does weird stuff when the pi got power issues.Īlso the driver of the wifi card is spamming an error Version 0.18.0, running on Raspberry Pi 2 Model B Rev 1.1 The snappy web interface for your 3D printerĪdditional information about your setup (OctoPrint version, OctoPi version. Octoprint.version: 1.5.3 The ready-to-go Raspberry Pi image with OctoPrint This is the file from Octoprint:īer_agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15Ĭnnection_check: 8.8.8.8:53Ĭonnectivity.resolution_check: Įnv.plugins.pi_support.model: Raspberry Pi 2 Model B Rev 1.1Įnv.plugins.pi_support.octopi_version: 0.18.0Įnv.plugins.pi_support.throttle_state: 0x50005 I can SSH into the octopi with Terminal and see & read the file contents. Logs ( /var/log/webcamd.log, syslog, dmesg. Using a 2A power supply because I initially got a low voltage warning on boot up with another p/s. ![]() ![]() I have not connected a printer to the pi yet.Įdited /boot/octopi.txt and added -r 1280x720 -f 30 per the webcam FAQ but it didn't solve the issue. If I boot Octopi, and wait for it to complete boot up, plug in the webcam, then load OctoPrint, I can get a a good image on Octoprint. When the Octopi is booted with the camera attached, the video image is garbled. **I'll follow up with the appropriate log information, I've determined how to get that information to a USB drive and to my computer for attachment **
0 Comments
Leave a Reply. |