You are not logged in.
I realised that my Linux Arch operating system no longer has access to the file system on the SD card on my Nikon D5600 camera (perhaps due to some recent update?). The D5600 uses the MTP/PTP protocol, if I remember correctly. In the past, I used to explore the contents of the memory card directly from a file manager (like Caja) without any problems. Why is this no longer possible?
Journalctl brings up this:
lug 15 00:56:31 k6400 mtp-probe[2621]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb1/1-2"
lug 15 00:56:31 k6400 mtp-probe[2621]: bus: 1, device: 3 was not an MTP deviceBut lsusb command shows the D5600 correctly!
Is anyone else experiencing a similar problem/bug and/or have a solution to fix it?
Thanks!
Last edited by nicolasantini (2025-07-14 23:03:17)
Offline
Since the camera “was not an MTP device”, I avoided mtp-probe by adding this to the file /etc/udev/rules.d/69-libmtp.rules:
# Nikon D5600 ATTR{idVendor}=="04b0", ATTR{idProduct}=="043f*", GOTO="libmtp_rules_end" Now journalctl say this:
lug 15 11:49:18 k6400 kernel: usb 1-2: new high-speed USB device number 17 using xhci_hcd
lug 15 11:49:18 k6400 kernel: usb 1-2: New USB device found, idVendor=04b0, idProduct=043f, bcdDevice= 1.20
lug 15 11:49:18 k6400 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
lug 15 11:49:18 k6400 kernel: usb 1-2: Product: NIKON DSC D5600
lug 15 11:49:18 k6400 kernel: usb 1-2: Manufacturer: NIKON
lug 15 11:49:18 k6400 kernel: usb 1-2: SerialNumber: 0000006261031 and I can mount the camera from the command line:
gio mount gphoto2://[usb:002,019]/Obviously numbers vary each time that I connect the camera.
Doing this I can see and browse the camera on Caja (or other file manager).
The question, now is: is there a way to automount the camera each time that I connect USB cable?
Offline
Hi! I'm facing the same thing here.
Your solution's worked for me. I hope they come with a definitive solutions!
Tks!!
Offline
The question, now is: is there a way to automount the camera each time that I connect USB cable?
You can try creating a udev rule that calls a mounting script to mount the device on attachment.
https://wiki.archlinux.org/title/Udev
Offline