Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#11,109 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
c, ubuntu
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
4.6k
Fork
1.4k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
155

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của adafruit/circuitpython

Tất cả issue của adafruit/circuitpython

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.