Copy from usb device

Ok, sorry for noob question, but I am confused.

I want to copy files from Camera connected via usb port. I can find device via lsusb

lsusb | grep Fuji                                                                                                                           
Bus 004 Device 003: ID 04cb:02f0 Fuji Photo Film Co., Ltd USB PTP Camera

But it is not visible via lsblk

lsblk                                                                                                                                   
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0     4K  1 loop /var/lib/snapd/snap/bare/5
loop1         7:1    0    22M  1 loop /var/lib/snapd/snap/bashtop/504
loop2         7:2    0 116.8M  1 loop /var/lib/snapd/snap/core/14784
loop3         7:3    0 116.8M  1 loop /var/lib/snapd/snap/core/14946
loop4         7:4    0  55.6M  1 loop /var/lib/snapd/snap/core18/2714
loop5         7:5    0  55.6M  1 loop /var/lib/snapd/snap/core18/2721
loop6         7:6    0  63.3M  1 loop /var/lib/snapd/snap/core20/1828
loop7         7:7    0  63.3M  1 loop /var/lib/snapd/snap/core20/1852
loop8         7:8    0    73M  1 loop /var/lib/snapd/snap/core22/583
loop9         7:9    0    73M  1 loop /var/lib/snapd/snap/core22/607
loop10        7:10   0 164.8M  1 loop /var/lib/snapd/snap/gnome-3-28-1804/161
loop11        7:11   0   1.4M  1 loop /var/lib/snapd/snap/dust/11
loop12        7:12   0 164.8M  1 loop /var/lib/snapd/snap/gnome-3-28-1804/194
loop13        7:13   0   219M  1 loop /var/lib/snapd/snap/gnome-3-34-1804/77
loop14        7:14   0 218.4M  1 loop /var/lib/snapd/snap/gnome-3-34-1804/90
loop15        7:15   0 349.7M  1 loop /var/lib/snapd/snap/gnome-3-38-2004/137
loop16        7:16   0  91.7M  1 loop /var/lib/snapd/snap/gtk-common-themes/1535
loop17        7:17   0   145M  1 loop /var/lib/snapd/snap/notepadqq/855
loop18        7:18   0 188.3M  1 loop /var/lib/snapd/snap/postman/184
loop19        7:19   0  49.8M  1 loop /var/lib/snapd/snap/snapd/18357
loop20        7:20   0  49.8M  1 loop /var/lib/snapd/snap/snapd/18596
loop21        7:21   0 169.4M  1 loop /var/lib/snapd/snap/spotify/60
loop22        7:22   0 156.6M  1 loop /var/lib/snapd/snap/spotify/63
loop23        7:23   0 362.1M  1 loop /var/lib/snapd/snap/telegram-desktop/4578
loop24        7:24   0 362.1M  1 loop /var/lib/snapd/snap/telegram-desktop/4654
loop25        7:25   0 944.1M  1 loop /var/lib/snapd/snap/xonotic/64
zram0       252:0    0     8G  0 disk [SWAP]
nvme1n1     259:0    0   1.9T  0 disk 
├─nvme1n1p1 259:5    0   260M  0 part 
├─nvme1n1p2 259:6    0    16M  0 part 
├─nvme1n1p3 259:7    0   1.9T  0 part 
└─nvme1n1p4 259:8    0     2G  0 part 
nvme0n1     259:1    0 931.5G  0 disk 
├─nvme0n1p1 259:2    0   600M  0 part /boot/efi
├─nvme0n1p2 259:3    0     1G  0 part /boot
└─nvme0n1p3 259:4    0 929.9G  0 part /home

Also, can you please describe list of actions:

  1. Mount
  2. Copy
  3. Unmount?

Thank you in advance

It looks like there is no corresponding block device.
Be sure to enable data storage access over USB on the camera itself.

PTP in this context stands for Picture Transfer Protocol, not to be confused with Precision Time Protocol.

If the camera provides a mass storage option then you can work with images using standard file operations. Some photo apps may have PTP support, but I don’t think PTP is widely used.

2 Likes

For PTP devices you need the gvfs-gphoto2 package. In xfce environment, when you plug in the camara, it will show up on the desktop and you can then click on it to open it.

I assume gnome has something similar.

Off topic, you may want to remove some of the old unused snap packages. Run
snap list --all to see the unused ones.

1 Like

Ok, thank you. Basically now Nautilus (Files) but not other file managers can see the Camera USB.

gphoto2 --auto-detect                                                                                                        
Model                          Port                                            
----------------------------------------------------------
USB PTP Class Camera           usb:004,004    

Bu still if I want to

gphoto2 --list-files                                                                                                            
                                                                               
*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***  

So i can access photos, but not via terminal yet