Comments (3)
What kernel version have you tested with on Raspberry Pi OS? It's a shot in the dark but you can try the latest dev build to see if it's resolved - it is using Linux 6.6.20, which should be the same the current Pi OS is using.
Also, how do you use the camera? I think it won't work out of the box without any changes in config.txt
and such, so adding more details about the setup would be helpful.
from operating-system.
Thank you for your response.
What kernel version
HA OS: Linux a0d7b954-ssh 6.1.73-haos-raspi #1 SMP PREEMPT Thu Apr 11 10:33:23 UTC 2024 aarch64 Linux
Raspbian: Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
I'll try to extract and replace required files in /boot
partition from the dev build and report back if there is any improvement.
how do you use the camera?
As per https://gist.github.com/enegaard/a57af286205914bd912270c89650fb1b I added the following lines to config.txt
:
[all]
start_x=1
gpu_mem=128
In Raspbian cam -l
returns the following output:
[0:00:37.489576290] [1931] INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5
[0:00:37.501517975] [1935] INFO RPI pisp.cpp:662 libpisp version v1.0.4 6e3a53d137f4 14-02-2024 (14:00:12)
[0:00:37.516460475] [1935] INFO RPI pisp.cpp:1121 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/ov5647@36 to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0
Available cameras:
1: 'ov5647' (/base/axi/pcie@120000/rp1/i2c@88000/ov5647@36)
I cannot reproduce the same in HA OS:
$ apk add libcamera-tools; cam -l
..
[0:08:16.035800835] [667] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Available cameras:
$
from operating-system.
Replacing the files in the startup partition resulted in a boot loop so I went with a fresh install on another SD card. The tracedump is gone, it even seems that picamera is recognized:
$ dmesg
..
[ 2.164699] rp1-cfe 1f00110000.csi: Using sensor ov5647 6-0036 for capture
[ 2.165212] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch0] node id 0 successfully as /dev/video0
[ 2.165708] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-embedded] node id 1 successfully as /dev/video1
[ 2.166262] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch2] node id 2 successfully as /dev/video2
[ 2.166896] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-csi2_ch3] node id 3 successfully as /dev/video3
[ 2.170809] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_image0] node id 4 successfully as /dev/video4
[ 2.171422] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_image1] node id 5 successfully as /dev/video5
[ 2.172957] rp1-cfe 1f00110000.csi: Registered [rp1-cfe-fe_stats] node id 6 successfully as /dev/video6
But unfortunately neither cam
nor motioneye
are able to use it. Not sure if this an HA OS limitation or something can be done about the camera support.
from operating-system.
Related Issues (20)
- Home assistant get stuck in a reboot loop after the upgrade to HA OS 12.3 HOT 9
- Raspberry Pi bootloop after 12.3 update (usb related) HOT 25
- Can't upgrade to HAOS 12.3 on NUC Intel 5 HOT 5
- Cannot boot HAOS on Raspberry Pi 3B+ HOT 8
- HassOS data resizing timeout HOT 1
- Recent VMware Tools downgrade from 12.X to 11.X, why? HOT 1
- Error :" brcmfmac: brcmf_set_channel: set chanspec 0xd0...fail, reason -52 " HOT 2
- Intel Gigabit Ethernet (e1000e) not reconnecting / "BUG: scheduling while atomic" kernel panic HOT 11
- Bluetooth is not working anymore since upgrade to 12.3 from 12.2 HOT 2
- Cannot boot HAOS 12.3 on proxmox kvm (usb skyconnect) HOT 4
- hci0: failed to start bluetooth. hci0: not found
- Update to OS 12.3 causing problems to VLC addon / VLC-Telnet integration
- No sound on HAOS 12.3 HOT 1
- generic-x86-64 HAOS 12.3 Grub2 Freezing on all Slots since Update from 12.2. (Revert GRUB2 patch causing boot failure on some old x86_64 BIOSes (#3324)) HOT 2
- OS 12.2 and 12.3 show bad status on ThinkCentre M93p
- HAOS 12.3 does not boot on Fujitsu Esprimo Q920 HOT 1
- Invalid ISO 4217 formatted currency for dictionary value @ data[‘currency’]. Got ‘LTL’ HOT 2
- Ethernet adapter Motorcomm YT6801 Gigabit Ethernet Adapter support in HAOS HOT 5
- Home Assistant OS 12.3 breaks ZHA on VM HOT 3
- Home Assistant OS 12.3 issue with conbee II HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operating-system.