Saya telah mencari tinggi dan rendah, dan tidak dapat menemukan yang ini. Saya memiliki Kamera Olympus yang lebih tua (2001 atau lebih). Ketika saya mencolokkan koneksi USB, saya mendapatkan output log berikut:
$ dmesg | grep sd
[20047.625076] sd 21:0:0:0: Attached scsi generic sg7 type 0
[20047.627922] sd 21:0:0:0: [sdg] Attached SCSI removable disk
Kedua, drive tidak dipasang di FS, tetapi ketika saya menjalankan gphoto2 saya mendapatkan kesalahan berikut:
$ gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***
Perintah apa yang akan melepas drive. Misalnya di Nautilus, saya bisa klik kanan dan pilih "Safely Remove Device". Setelah melakukan itu, perangkat / dev / sg7 dan / dev / sdg dihapus.
Output dari gphoto2 adalah:
# gphoto2 --list-config
/Camera Configuration/Picture Settings/resolution
/Camera Configuration/Picture Settings/shutter
/Camera Configuration/Picture Settings/aperture
/Camera Configuration/Picture Settings/color
/Camera Configuration/Picture Settings/flash
/Camera Configuration/Picture Settings/whitebalance
/Camera Configuration/Picture Settings/focus-mode
/Camera Configuration/Picture Settings/focus-pos
/Camera Configuration/Picture Settings/exp
/Camera Configuration/Picture Settings/exp-meter
/Camera Configuration/Picture Settings/zoom
/Camera Configuration/Picture Settings/dzoom
/Camera Configuration/Picture Settings/iso
/Camera Configuration/Camera Settings/date-time
/Camera Configuration/Camera Settings/lcd-mode
/Camera Configuration/Camera Settings/lcd-brightness
/Camera Configuration/Camera Settings/lcd-auto-shutoff
/Camera Configuration/Camera Settings/camera-power-save
/Camera Configuration/Camera Settings/host-power-save
/Camera Configuration/Camera Settings/timefmt
Beberapa hal yang sudah saya coba adalah sdparm
dan sg3_utils
Namun saya tidak terbiasa dengan mereka, jadi mungkin saja saya tidak menemukan perintah yang tepat
Pembaruan 1:
# mount | grep sdg
# mount | grep sg7
# umount /dev/sg7
umount: /dev/sg7: not mounted
# umount /dev/sdg
umount: /dev/sdg: not mounted
# gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***
gphoto2
hanya berurusan dengan perangkat MTP / PTP, bukan penyimpanan massal ...