Fix caméra : gvfsd-gphoto2, race condition viewfinder, exif_transpose
- kiosk-session.sh : tue gvfsd-gphoto2 au démarrage (démon GNOME qui monopolisait le DSLR sur USB et bloquait gphoto2) - camera.py : viewfinder activé AVANT mode="gphoto2" → le thread preview ne peut plus appeler capture_preview() avant que LiveView soit prêt - _activer_viewfinder_init() sans lock pour l'init (thread pas encore actif) - exif_transpose sur les captures DSLR → corrige l'orientation et les bandes blanches dues aux photos mal orientées Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,11 @@ xset s noblank
|
||||
# Automount USB (pour la photostation)
|
||||
udiskie --no-notify --no-appindicator &
|
||||
|
||||
# Libérer le DSLR : gvfsd-gphoto2 (GNOME) le monopolise sinon
|
||||
pkill -f gvfsd-gphoto2 2>/dev/null || true
|
||||
pkill -f gvfs-gphoto2-volume-monitor 2>/dev/null || true
|
||||
sleep 1
|
||||
|
||||
# Backend en boucle : redémarre automatiquement s'il plante
|
||||
_backend_loop() {
|
||||
while true; do
|
||||
|
||||
Reference in New Issue
Block a user