Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Memento: SD card presented by USB causes I/O Error when taking pictures

Aperta
#11,109 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
c, ubuntu
Ambito
embedded-iot

Direzione di ricerca

Start with the Adafruit Memento basic camera demo linked in the issue and try writing to the SD card without the camera logic, as suggested. Compare behavior with USB data disconnected and connected, including when the SD card is open in Ubuntu's file browser. Done means identifying whether the I/O errors also occur during standalone SD-card writes and narrowing down when they begin.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

usb

On Memento, if I use the standard demo program, https://learn.adafruit.com/adafruit-memento-camera-board/basic-camera, it works fine with the camera not connected to USB data. But when attached to USB, I can get I/O Error exceptions when it's trying to write a picture to the SD card. I can aggravate this by opening a file browser window in Ubuntu and double-clicking on the SD card drive.

It doesn't always happen, but once it starts happening, it seems to persist. It's not clear whether the card gets corrupted or not.

I am seeing this on 10.3.0-alpha.3, and it could be earlier. A bisect would probably help.

It would be worth trying file writes to an SD card without the camera logic to see if it also happens then.

Lingua principale
C
Stelle
4.6k
Fork
1.4k
Merge medio
1g 8h
PR unite (30g)
153

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di adafruit/circuitpython

Tutte le issue di adafruit/circuitpython

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.