Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Config | Enabling RPi camera has no effect #706

Closed
Fourdee opened this issue Jan 10, 2017 · 5 comments
Closed

DietPi-Config | Enabling RPi camera has no effect #706

Fourdee opened this issue Jan 10, 2017 · 5 comments
Labels
Milestone

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Jan 10, 2017

http://dietpi.com/phpbb/viewtopic.php?f=11&t=1106#p4648
Still not sure why the dietpi-config menu wasn't able to apply the change, but I'm up and running, now.

@Fourdee Fourdee added this to the v142 milestone Jan 10, 2017
@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 11, 2017

Missing package on current image:

  • libraspberrypi-bin.

This also breaks DietPi Cam installation in dietpi-software:

  • libraspberrypi-bin generates the /opt/vc/bin folder which is not made during dietpi-software install. Therefore raspimjpeg never gets installed.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 11, 2017

🈯️ Confirmed faulty camera module. Ordered Camera V2, working fine.


Further issues:

root@DietPi:~# cat /var/log/raspimjpeg.log
motion: no process found
RaspiMJPEG Version 5.5.2
recommended video buffers 1
h264 buffers set to recommended 1
Set up internal detect width=121 height=68
MJPEG streaming, ready to receive commands
send smd 9
Starting command loop
Watchdog detected problem. StoppingSIGINT/SIGTERM received, stopping
root@DietPi:~# raspimjpeg
start monitoring for pid: 1726
{2017/01/11 16:37:51} start monitoring for pid: 1726
RaspiMJPEG Version 5.5.2
recommended video buffers 1
h264 buffers set to recommended 1
Set up internal detect width=121 height=68
MJPEG streaming, ready to receive commands
send smd 9
Error: Camera sent invalid data

Think my camera is dead, tested with 2 ribbon cables and 2 RPi's:

root@DietPi:~# raspistill -v -o test.jpg

raspistill Camera App v1.3.8

Width 2592, Height 1944, quality 85, filename test.jpg
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Opening output file test.jpg
Enabling encoder output port
Starting capture -1
mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board

Fourdee referenced this issue Jan 12, 2017
+ libraspberrypi-bin installed by default:
https://github.com/Fourdee/DietPi/issues/706
@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 12, 2017

User reports success with patch:
http://dietpi.com/phpbb/viewtopic.php?f=11&t=1106&p=5016#p5016

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 12, 2017

  • 🈯️ dietpi-config > display > enable rpi camera. Not applying GPU memory split of 128MB min.

Fourdee referenced this issue Jan 12, 2017
+ Increase GPU memory as needed in dietpi-cam install also. Move camera
toggle to function script : https://github.com/Fourdee/DietPi/issues/706
@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 13, 2017

Tests pass. Completed.

@Fourdee Fourdee closed this as completed Jan 13, 2017
@Fourdee Fourdee mentioned this issue Jan 14, 2017
Fourdee referenced this issue Jan 14, 2017
v142
(14/01/17)

New Image:

DietPi for Sparky SBC (Allo) is now available: http://dietpi.com/phpbb/viewtopic.php?f=8&t=1161&p=4922#p4922

Changes / Improvements / Optimizations:

DietPi-Backup | Now supports BTRFS filesystems for target backup location.

DietPi-Backup | Now features "System only" and "Full backup" modes. In "Full backup" mode, DietPi User data is included in backups: https://github.com/Fourdee/DietPi/issues/685

DietPi-Config | Audio > Sound card: "Allo Piano DAC 2.1", now applies correct module and dtoverlay (previously Piano DAC 1 was used): https://github.com/Fourdee/DietPi/issues/699

DietPi-Config | Audio > Sound card: Added support for "Allo Cheapo" sound card on Sparky SBC.

DietPi-Config | Audio > Sound card: Added support for HDMI/3.5mm sound cards on NanoPi M2/M3.

DietPi-Config | Audio > Sound card: Added option for force 3.5mm output with Onboard RPi: https://github.com/Fourdee/DietPi/issues/704

DietPi-Config | Audio > Sound card: Added support for selecting USB-DAC sound cards: https://github.com/Fourdee/DietPi/issues/683

DietPi-Config | Audio > Sound card: Added support for RPi 'HifiBerry DIGI Pro' sound card.

DietPi-Config | WiFi: Reduced the DHCP retry count and timeouts, to prevent a unnecessary wait when enabling WiFi for the 1st time: https://github.com/Fourdee/DietPi/issues/711

DietPi-Software | Open Media Vault: Is now available for installation: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=4859#p4859

DietPi-Software | MySQL/MariaDB: Data store is now located in the DietPi User data location (eg: /mnt/dietpi_userdata/mysql). Should offer improved performance for USB drive users: https://github.com/Fourdee/DietPi/issues/672

DietPi-Software | NetData updated to latest version (1.4.0): https://github.com/Fourdee/DietPi/issues/696

DietPi-Software | Added support for Apt-Fast if installed: https://github.com/Fourdee/DietPi/issues/698

DietPi-Software | PiHole: Access via http://ip/admin is now supported, for new installations: https://github.com/Fourdee/DietPi/issues/703

Typo | Correct use of MHz (previously Mhz). Thanks to Rainer.

Bug fixes:

General | RPi 3 onboard Bluetooth is now functional: https://github.com/Fourdee/DietPi/issues/693

General | Odroid C2: Resolved an issue with deb-multimedia repo failing GPG key: https://github.com/Fourdee/DietPi/issues/677

General | Resolved an issue where access to /mnt/usb_1 would hang the program/command, when no USB drive was attached: https://github.com/Fourdee/DietPi/issues/684

General | Resolved an issue where alsamixer was unable to load sound card device: https://github.com/Fourdee/DietPi/issues/705

General | Odroids: Resolved an issue where Meverics custom CPU governor script, would override DietPi applied CPU govs during boot.

DietPi-Config | Resolved an issue where NTPD Daemon + Drift mode, did not create drift file. This mode has now been moved to systemd-timesyncd: https://github.com/Fourdee/DietPi/issues/709

DietPi-Config | Enabling the RPi camera will now apply the required 128MB minimum GPU memory split, if not already higher: https://github.com/Fourdee/DietPi/issues/706

DietPi-Software | Resolved issues with non-functional RPi camera with DietPi-Cam: https://github.com/Fourdee/DietPi/issues/706

DietPi-Automation | Resolved an issue with automated 1st run installation would hang on Odroid C2, during patch stage: https://github.com/Fourdee/DietPi/issues/689

Sparky SBC | Resolved an issue with touch screen module causing dmesg errors associated with it. This module is now disabled: https://github.com/Fourdee/DietPi/issues/699#issuecomment-271362441

RPi Stretch:

General | RPi 3 Onboard WiFi is now functional.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant