Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

Camera issue on 64 bit with bullseye #34

Open crypto-titan opened 2 years ago

crypto-titan commented 2 years ago

pi@raspberrypi:~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye

pi@raspberrypi:~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server $ sudo python camera.py Traceback (most recent call last): File "/home/pi/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server/camera.py", line 1, in from picamera import PiCamera File "/usr/local/lib/python3.9/dist-packages/picamera/init.py", line 72, in from picamera.exc import ( File "/usr/local/lib/python3.9/dist-packages/picamera/exc.py", line 41, in import picamera.mmal as mmal File "/usr/local/lib/python3.9/dist-packages/picamera/mmal.py", line 49, in _lib = ct.CDLL('libmmal.so') File "/usr/lib/python3.9/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: libmmal.so: cannot open shared object file: No such file or directory

crypto-titan commented 2 years ago

I've run the patch but did not seem to fix the issue

DenzelChen commented 2 years ago

Please contact us via support@freenove.com

Kakcalu13 commented 2 months ago

did this fixed? bullseye 12 stoppped working with legacy camera

(这个问题修复了吗?Bullseye 12 停止与旧版本相机合作。)