A Sigma fp made to connect and capture reliably through gphoto2
Claude Code-assisted libgphoto2 changes fix Sigma fp connection crashes and repeated-capture handling, with reported tests on the camera.
Credits
- Source byline bash-tilde Source ↗
Earliest dated source:
The full story
The first patch corrects a reply-buffer ownership error and invalid pointer handling that caused crashes when connecting to or capturing from a Sigma fp. A related change polls the appropriate capture-ring entry instead of waiting on an old result and returning a previous picture.
The contributor reports tests on a Sigma fp running firmware 4.00, including connection, configuration and consecutive captures. A further patch bounds parsing of replies from the camera.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- libgphoto2: ptp2/sigma fp: fix crashes on connect and on captureSource byline: bash-tildePublished
The contributor’s pull request, including its AI disclosure and test notes.
- libgphoto2: ptp2/sigma fp: poll the right capture status entry, handle failuresSource byline: bash-tildePublished
A related contribution with implementation and verification details.
- libgphoto2: ptp2/sigma fp: bound ptp_sigma_fp_parse_ifdlist against the reply sizeSource byline: bash-tildePublished
A related contribution with implementation and verification details.
- libgphoto2: ptp2: stack arrays passed as unsigned char** in Olympus/Panasonic helpers; Sigma capture sSource byline: bash-tildePublished