e4e5ee05d4f27f1aa34ea1c71a01939ffa1a692d
Quand gphoto2 détecte le DSLR mais que camera.init() timeout répétitivement (USB stall après kill -9 ou déconnexion brutale), on tente un reset USB ioctl (USBDEVFS_RESET sur /dev/bus/usb/<bus>/<dev>) toutes les 3 tentatives (~15s). Évite de rester bloqué indéfiniment sur "Timeout reading from or writing to the port". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Photobooth professionnel - RPi4 + ecran tactile + DSLR + impression sublimation
Languages
Python
53%
JavaScript
22.1%
HTML
12.1%
CSS
8.6%
Shell
4.2%