# Libcamera & disable legacy camera stack?

**URL:** https://dietpi.com/forum/t/libcamera-disable-legacy-camera-stack/6477
**Category:** Troubleshooting
**Created:** [3 April 2022 08:01 UTC](https://dietpi.com/forum/t/libcamera-disable-legacy-camera-stack/6477 "2022-04-03T08:01:24Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![AnBad](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AnBad](https://dietpi.com/forum/u/AnBad)
#### Post date: [8 April 2022 09:42 UTC](https://dietpi.com/forum/t/libcamera-disable-legacy-camera-stack/6477/4 "2022-04-08T09:42:29Z")

</div>

Hi,  
seems that it works now.

I did the following setup:

1. Enable ‘8: RPi Camera’ at DietPi-Config/Display Options/
2. added ‘camera\_auto\_detect=1’ to the /boot/config.txt
3. Installed libcamera ‘apt install libcamera-apps-lite’

Thank you.

---

_[View the full topic](https://dietpi.com/forum/t/libcamera-disable-legacy-camera-stack/6477)._
