On Saturday 28 May 2022 21.35:37 deloptes wrote:
It is probably recognized as MTP. If the camera
software supports switching
to USB device as many phones today do, than you can use the old style and
use the USB mount. Otherwise you have to install something like go-mtpfs
Might be - actually go-mtpfs was allready installed (maybe for a smartphone).
Anyway, the camera does mount, I can read, copy, delete, so mounting is not
the problem.
The problem is that I have no idea *where* it's mounted. Every time I turn
the camera on, I get a window asking what I want to do with the camera, and
if I accept "open in a new window", I get a perfectly usable Konqueror
window.
But if I close the window, I can't find the device anymore (except by turning
it off, then on again). Mount does not seem to,list it (maybe because it's
exfat?).
Anno domini 2022 Sat, 28 May 21:35:37 +0200
deloptes scripsit:
(..)
Or maybe a udev rule might do the trick, I need
this for my Casio Camera, too
(and Tandberg RDX, Chinese MP3 Players ...):
#/etc/udev/rules.d/99-casio.rules
ENV{ID_SERIAL}=="CASIO_COMPUTER_CASIO_QV_DIGITAL",
ENV{ID_TYPE}="disk",
ENV{UDISKS_AUTO}="1", ENV{UDISKS_SYSTEM}="0",
ENV{UDISKS_SYSTEM_INTERNAL}="0"
Nik
I did try this:
# to create mount-points and mount devices
KERNEL=="sd[a-z][0-9]", ENV{ID_MODEL_ID}=="32f5",
ENV{ID_VENDOR_ID}=="04a9",
ACTION=="add", ENV{mount_options}="relatime",
RUN+="/bin/mkdir -p /media/EOSR6", RUN+="/bin/mount -o
$env{mount_options} /dev/%k /media/EOSR6"
# to unmount devices and remove mount-points
KERNEL=="sd[a-z][0-9]", ENV{ID_MODEL_ID}=="32f5",
ENV{ID_VENDOR_ID}=="04a9",
ACTION=="remove", RUN+="/bin/umount -l /media/EOSR6",
RUN+="/bin/rmdir /media/EOSR6"
But nothing happen, I still get the "What do you want to do" window and no
mount point I could find.
Thierry
Are you sure your rule matches?
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...