I 'm not sure if this is rather a linux or a TDE question.
I've got a new Canon Camera. When I connect it to my PC with an USB cable, it is mounted as mass storage (wich is very good).
It has two SD cards that appear as two directories in a Konqueror window. So far so good. However, this window says "system:/media/Unknown Device 1-12:1.0" and it is nowhere to be found, not in /media/<user>, not in /mnt, mount also gives me nothing (or I don't know what to look for).
So I can't unmount it, I have to turn the camera off. I don't think it's a real problem as the SD cards are exfat formated and I check that nothing's being read/writen, but I'd prefer to unmount.
If the system can mount this "Unknown Device 1-12:1.0", it must be somewhere, no?
I'm not looking for a way to open the camera in Digikam or so. Coying the files with Konqueror is just what I want, but I'd like a way to know the mounting point. I got the USB IDs so I was thinking of writing some udev rule. lsusb returns Bus 001 Device 012: ID 04a9:32f5 Canon, Inc. but there is no 012 or 12 in /dev/bus/usb...
On Saturday 28 May 2022 12:08:08 Thierry de Coulon wrote:
I 'm not sure if this is rather a linux or a TDE question.
I've got a new Canon Camera. When I connect it to my PC with an USB cable, it is mounted as mass storage (wich is very good).
It has two SD cards that appear as two directories in a Konqueror window. So far so good. However, this window says "system:/media/Unknown Device 1-12:1.0" and it is nowhere to be found, not in /media/<user>, not in /mnt, mount also gives me nothing (or I don't know what to look for).
So I can't unmount it, I have to turn the camera off. I don't think it's a real problem as the SD cards are exfat formated and I check that nothing's being read/writen, but I'd prefer to unmount.
If the system can mount this "Unknown Device 1-12:1.0", it must be somewhere, no?
I'm not looking for a way to open the camera in Digikam or so. Coying the files with Konqueror is just what I want, but I'd like a way to know the mounting point. I got the USB IDs so I was thinking of writing some udev rule. lsusb returns Bus 001 Device 012: ID 04a9:32f5 Canon, Inc. but there is no 012 or 12 in /dev/bus/usb...
Not sure if I understand what you really want to do, but here goes.
It would be simpler if you took the SD cards out of the camera itself (shutting off the camera first), then used a card reader. The same would go for a phone, or any device that uses an SD card or similar.
My own laptop has a card reader that is built-in, as I believe most of the newer machines do. Otherwise, card readers are cheap. I got one for about $20 US, maybe a year or two ago, and I have a couple older ones that still work. (Adapters come with most SD cards that I buy, but they are not hard to find. I see them when I am out walking, as people have dropped them.)
For mouting or unmounting, see man pages. If you take out the SD cards, intending to use a card reader, then you may need to use mkdir to create special directories in which to mount them, e.g.,
sudo mkdir /mnt/SD1 /mnt/SD2
However, if the camera itself mounts, then it also ought to unmount using these same commands, in this case umount; e.g.,
sudo umount /dev/sdd1
or whatever is the mount point. To find the correct mount points, try this:
df --local --human-readable -T
I hope this helps.
Bill
Thierry de Coulon wrote:
I've got a new Canon Camera. When I connect it to my PC with an USB cable, it is mounted as mass storage (wich is very good).
It has two SD cards that appear as two directories in a Konqueror window. So far so good. However, this window says "system:/media/Unknown Device 1-12:1.0" and it is nowhere to be found, not in /media/<user>, not in /mnt, mount also gives me nothing (or I don't know what to look for).
So I can't unmount it, I have to turn the camera off. I don't think it's a real problem as the SD cards are exfat formated and I check that nothing's being read/writen, but I'd prefer to unmount.
If the system can mount this "Unknown Device 1-12:1.0", it must be somewhere, no?
I'm not looking for a way to open the camera in Digikam or so. Coying the files with Konqueror is just what I want, but I'd like a way to know the mounting point. I got the USB IDs so I was thinking of writing some udev rule. lsusb returns Bus 001 Device 012: ID 04a9:32f5 Canon, Inc. but there is no 012 or 12 in /dev/bus/usb...
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
We were discussing about developing konqueror plugin for MTP and I remember I was looking into it, but couldn't find out how to make a tdeio mtp slave
Anno domini 2022 Sat, 28 May 21:35:37 +0200 deloptes scripsit:
Thierry de Coulon wrote:
I've got a new Canon Camera. When I connect it to my PC with an USB cable, it is mounted as mass storage (wich is very good).
It has two SD cards that appear as two directories in a Konqueror window. So far so good. However, this window says "system:/media/Unknown Device 1-12:1.0" and it is nowhere to be found, not in /media/<user>, not in /mnt, mount also gives me nothing (or I don't know what to look for).
So I can't unmount it, I have to turn the camera off. I don't think it's a real problem as the SD cards are exfat formated and I check that nothing's being read/writen, but I'd prefer to unmount.
If the system can mount this "Unknown Device 1-12:1.0", it must be somewhere, no?
I'm not looking for a way to open the camera in Digikam or so. Coying the files with Konqueror is just what I want, but I'd like a way to know the mounting point. I got the USB IDs so I was thinking of writing some udev rule. lsusb returns Bus 001 Device 012: ID 04a9:32f5 Canon, Inc. but there is no 012 or 12 in /dev/bus/usb...
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
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"
... otherwise it won't get mounted.
Nik
We were discussing about developing konqueror plugin for MTP and I remember I was looking into it, but couldn't find out how to make a tdeio mtp slave
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
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
Thierry de Coulon wrote:
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?).
what does dmesg say?
to me it sound similar to this https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto... Felmon Davis 6:10 p.m.
and also Slavek pointed to https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
Then I was looking into https://github.com/KDE/kio-mtp but ... I do not remember why I found it hard to port for some reason and later I forgot about it :D
On Sunday 29 May 2022 00.22:41 deloptes wrote:
what does dmesg say?
[ 1343.693041] usb 1-12: new high-speed USB device number 6 using xhci_hcd [ 1343.878882] usb 1-12: New USB device found, idVendor=04a9, idProduct=32f5, bcdDevice= 0.02 [ 1343.878885] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1343.878888] usb 1-12: Product: Canon Digital Camera [ 1343.878889] usb 1-12: Manufacturer: Canon Inc. [ 1343.972363] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=91758 PROTO=UDP SPT=8612 DPT=8612 LEN=24 [ 1343.972376] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=52391 PROTO=UDP SPT=8612 DPT=8610 LEN=24 [ 1343.982514] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=91758 PROTO=UDP SPT=8612 DPT=8612 LEN=24 [ 1343.982530] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=52391 PROTO=UDP SPT=8612 DPT=8610 LEN=24
So obviouly the device is found, and it gets mounted. So I don't think I have an mtp problem.
I can use it this way, I simply have to turn the camera off instead of unmounting the correct way.
Thierry
to me it sound similar to this https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org/thread/FG576YPIS2MYGGQL2HC2EHWHOCDCFGNL/#GRF4KMIT54KOLXFD7QXZRRFVGF4L H2WW Felmon Davis 6:10 p.m.
and also Slavek pointed to https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org/message/OHVYTBAZACV3UOEOB6SA6U6RFCVR3OOZ/
Then I was looking into https://github.com/KDE/kio-mtp but ... I do not remember why I found it hard to port for some reason and later I forgot about it :D
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org
Anno domini 2022 Sun, 29 May 09:36:59 +0200 Thierry de Coulon scripsit:
On Sunday 29 May 2022 00.22:41 deloptes wrote:
what does dmesg say?
[ 1343.693041] usb 1-12: new high-speed USB device number 6 using xhci_hcd [ 1343.878882] usb 1-12: New USB device found, idVendor=04a9, idProduct=32f5, bcdDevice= 0.02 [ 1343.878885] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1343.878888] usb 1-12: Product: Canon Digital Camera [ 1343.878889] usb 1-12: Manufacturer: Canon Inc. [ 1343.972363] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=91758 PROTO=UDP SPT=8612 DPT=8612 LEN=24 [ 1343.972376] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=52391 PROTO=UDP SPT=8612 DPT=8610 LEN=24 [ 1343.982514] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=91758 PROTO=UDP SPT=8612 DPT=8612 LEN=24 [ 1343.982530] [UFW BLOCK] IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:b62e:99ff:fe46:936f DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=52391 PROTO=UDP SPT=8612 DPT=8610 LEN=24
So obviouly the device is found, and it gets mounted. So I don't think I have an mtp problem.
What does "mount" say, after it got mounted?
Nik
I can use it this way, I simply have to turn the camera off instead of unmounting the correct way.
Thierry
to me it sound similar to this https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org/thread/FG576YPIS2MYGGQL2HC2EHWHOCDCFGNL/#GRF4KMIT54KOLXFD7QXZRRFVGF4L H2WW Felmon Davis 6:10 p.m.
and also Slavek pointed to https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org/message/OHVYTBAZACV3UOEOB6SA6U6RFCVR3OOZ/
Then I was looking into https://github.com/KDE/kio-mtp but ... I do not remember why I found it hard to port for some reason and later I forgot about it :D
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
Anno domini 2022 Sun, 29 May 10:45:13 +0200 Thierry de Coulon scripsit:
On Sunday 29 May 2022 10.27:53 Dr. Nikolaus Klepp wrote:
Anno domini 2022 Sun, 29 May 09:36:59 +0200
What does "mount" say, after it got mounted?
Nik
I can't see any difference between what mount says before or after. I can paste all this here if you want.
Then it didn't mount :)
Can you post a "cat /proc/partitions" before and after you plugged in the device? IMO your camera is not detected as mass storage (praise to GNOMEs of freedesktop.org). You'll have to explictly tell udev, that your camera is a mass storage device of type "disk". Matching rule would be something like this:
ENV{ID_MODEL_ID}=="32f5", ENV{ID_VENDOR_ID}=="04a9", ENV{ID_TYPE}="disk", ENV{UDISKS_AUTO}="1", ENV{UDISKS_SYSTEM}="0", ENV{UDISKS_SYSTEM_INTERNAL}="0"
That is, if at the point where udevd invokes the rule ID_VENDOR_* is set at all. I had to go for ENV{ID_SERIAL}=="CASIO_COMPUTER_CASIO_QV_DIGITAL", 'cause ID_VENDOR_* did not exist in the context.
Oh, please note the use of "==" and "=". The magic, why my camera is mounted in the end are the changes forced by "=".
Nik
Thierry
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Sunday 29 May 2022 11.05:14 Dr. Nikolaus Klepp wrote:
Then it didn't mount :)
OK. But how then can Konqueror show the files in the camera and let me copy or delete them?
I add a screenshot that, shows that while I can, as I say, copy and delete, I can't view the picture from the camera as Gimp says "location is not mountable".
So we have a location that is "not mountable" but can still be accessed. I didn't think that was possible :)
Can you post a "cat /proc/partitions" before and after you plugged in the device?
Here they are but to me they are identical
Before
major minor #blocks name
259 0 125034840 nvme0n1 259 1 51200000 nvme0n1p1 259 2 20480000 nvme0n1p2 259 3 53353472 nvme0n1p3 8 0 250059096 sda 8 1 52012032 sda1 8 3 1 sda3 8 5 30720000 sda5 8 6 18432000 sda6 8 7 148890624 sda7 8 16 117220824 sdb 8 17 43606016 sdb1 8 18 51200000 sdb2 8 19 22413312 sdb3 8 96 976762584 sdg 8 97 256040960 sdg1 8 98 512112640 sdg2 8 99 208607232 sdg3 11 0 1048575 sr0 7 0 63388 loop0 7 1 63404 loop1 7 2 56848 loop2 7 3 266968 loop3 7 4 114408 loop4 7 5 113268 loop5 7 6 8 loop6 7 7 66968 loop7 7 8 119228 loop8 7 9 83212 loop9 7 10 254728 loop10 7 11 66776 loop11 7 12 4 loop12 7 13 56868 loop13
After
major minor #blocks name
259 0 125034840 nvme0n1 259 1 51200000 nvme0n1p1 259 2 20480000 nvme0n1p2 259 3 53353472 nvme0n1p3 8 0 250059096 sda 8 1 52012032 sda1 8 3 1 sda3 8 5 30720000 sda5 8 6 18432000 sda6 8 7 148890624 sda7 8 16 117220824 sdb 8 17 43606016 sdb1 8 18 51200000 sdb2 8 19 22413312 sdb3 8 96 976762584 sdg 8 97 256040960 sdg1 8 98 512112640 sdg2 8 99 208607232 sdg3 11 0 1048575 sr0 7 0 63388 loop0 7 1 63404 loop1 7 2 56848 loop2 7 3 266968 loop3 7 4 114408 loop4 7 5 113268 loop5 7 6 8 loop6 7 7 66968 loop7 7 8 119228 loop8 7 9 83212 loop9 7 10 254728 loop10 7 11 66776 loop11 7 12 4 loop12 7 13 56868 loop13
IMO your camera is not detected as mass storage (praise to GNOMEs of freedesktop.org). You'll have to explictly tell udev, that your camera is a mass storage device of type "disk". Matching rule would be something like this:
ENV{ID_MODEL_ID}=="32f5", ENV{ID_VENDOR_ID}=="04a9", ENV{ID_TYPE}="disk", ENV{UDISKS_AUTO}="1", ENV{UDISKS_SYSTEM}="0", ENV{UDISKS_SYSTEM_INTERNAL}="0"
Thanks, unfortunately no change.
Thierry
Anno domini 2022 Sun, 29 May 12:22:53 +0200 Thierry de Coulon scripsit:
On Sunday 29 May 2022 11.05:14 Dr. Nikolaus Klepp wrote:
Then it didn't mount :)
OK. But how then can Konqueror show the files in the camera and let me copy or delete them?
I add a screenshot that, shows that while I can, as I say, copy and delete, I can't view the picture from the camera as Gimp says "location is not mountable".
That's 'case you use system:/media/... for accessing the files, which only works with tdeio_* capable programs - which gimp is not. You can try to RMB -> "open system folder" to get the correct mountpoint - that is, if TDE accesses the camera as mass storage device, which I do not beleve is the case.
So we have a location that is "not mountable" but can still be accessed. I didn't think that was possible :)
Can you post a "cat /proc/partitions" before and after you plugged in the device?
Here they are but to me they are identical
Then it's not accessable as a mass storage device. Think you'd need to check the settings of the camera.
Nik
Before
major minor #blocks name
259 0 125034840 nvme0n1 259 1 51200000 nvme0n1p1 259 2 20480000 nvme0n1p2 259 3 53353472 nvme0n1p3 8 0 250059096 sda 8 1 52012032 sda1 8 3 1 sda3 8 5 30720000 sda5 8 6 18432000 sda6 8 7 148890624 sda7 8 16 117220824 sdb 8 17 43606016 sdb1 8 18 51200000 sdb2 8 19 22413312 sdb3 8 96 976762584 sdg 8 97 256040960 sdg1 8 98 512112640 sdg2 8 99 208607232 sdg3 11 0 1048575 sr0 7 0 63388 loop0 7 1 63404 loop1 7 2 56848 loop2 7 3 266968 loop3 7 4 114408 loop4 7 5 113268 loop5 7 6 8 loop6 7 7 66968 loop7 7 8 119228 loop8 7 9 83212 loop9 7 10 254728 loop10 7 11 66776 loop11 7 12 4 loop12 7 13 56868 loop13
After
major minor #blocks name
259 0 125034840 nvme0n1 259 1 51200000 nvme0n1p1 259 2 20480000 nvme0n1p2 259 3 53353472 nvme0n1p3 8 0 250059096 sda 8 1 52012032 sda1 8 3 1 sda3 8 5 30720000 sda5 8 6 18432000 sda6 8 7 148890624 sda7 8 16 117220824 sdb 8 17 43606016 sdb1 8 18 51200000 sdb2 8 19 22413312 sdb3 8 96 976762584 sdg 8 97 256040960 sdg1 8 98 512112640 sdg2 8 99 208607232 sdg3 11 0 1048575 sr0 7 0 63388 loop0 7 1 63404 loop1 7 2 56848 loop2 7 3 266968 loop3 7 4 114408 loop4 7 5 113268 loop5 7 6 8 loop6 7 7 66968 loop7 7 8 119228 loop8 7 9 83212 loop9 7 10 254728 loop10 7 11 66776 loop11 7 12 4 loop12 7 13 56868 loop13
IMO your camera is not detected as mass storage (praise to GNOMEs of freedesktop.org). You'll have to explictly tell udev, that your camera is a mass storage device of type "disk". Matching rule would be something like this:
ENV{ID_MODEL_ID}=="32f5", ENV{ID_VENDOR_ID}=="04a9", ENV{ID_TYPE}="disk", ENV{UDISKS_AUTO}="1", ENV{UDISKS_SYSTEM}="0", ENV{UDISKS_SYSTEM_INTERNAL}="0"
Thanks, unfortunately no change.
Thierry
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
Thierry de Coulon wrote:
On Sunday 29 May 2022 00.22:41 deloptes wrote:
what does dmesg say?
[ 1343.693041] usb 1-12: new high-speed USB device number 6 using xhci_hcd [ 1343.878882] usb 1-12: New USB device found, idVendor=04a9, [ idProduct=32f5, bcdDevice= 0.02 [ 1343.878885] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1343.878888] usb 1-12: Product: Canon Digital Camera [ 1343.878889] usb 1-12: Manufacturer: Canon Inc.
I do not see any disk device created http://www.linux-usb.org/usb.ids
the device ID is not in the list - either it is some crap or it is too new.
So obviouly the device is found, and it gets mounted. So I don't think I have an mtp problem.
I can use it this way, I simply have to turn the camera off instead of unmounting the correct way.
May be it is using some fall back, but most probably it would be fuse
BR
On Sunday 29 May 2022 06:52:47 pm deloptes wrote:
Thierry de Coulon wrote:
On Sunday 29 May 2022 00.22:41 deloptes wrote:
what does dmesg say?
[ 1343.693041] usb 1-12: new high-speed USB device number 6 using xhci_hcd [ 1343.878882] usb 1-12: New USB device found, idVendor=04a9, [ idProduct=32f5, bcdDevice= 0.02 [ 1343.878885] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1343.878888] usb 1-12: Product: Canon Digital Camera [ 1343.878889] usb 1-12: Manufacturer: Canon Inc.
I do not see any disk device created http://www.linux-usb.org/usb.ids
the device ID is not in the list - either it is some crap or it is too new.
So obviouly the device is found, and it gets mounted. So I don't think I have an mtp problem.
I can use it this way, I simply have to turn the camera off instead of unmounting the correct way.
May be it is using some fall back, but most probably it would be fuse
BR
What model camera, exactly?
Some cams are MTx cams only, some are MTx and kodak standard protocols, and don't do traditional USB (like most smart phones).
Some cams do usb but you need to go into settings and tell it to use usb.
When you plug the cam in, does an icon popup on your desktop?
Sorry, playing catch up here.
Kate
On Monday 30 May 2022 17.56:07 Borg Labs wrote:
http://www.linux-usb.org/usb.ids
the device ID is not in the list - either it is some crap or it is too new.
Most probably too new. I sure would not consider the R6 to be crap ;) Ecellent camera by the way
What model camera, exactly?
Canon EOS R6
(...)
When you plug the cam in, does an icon popup on your desktop?
No. What pops up is TDE's dialog box asking me what I want to do with the device. When I say I want to open it in a window, Konqueror does just that, and it works perfectly... except that if I close the window I can't find the device anymore (unless I turn it off and on and get the same dialog box again.
So it actually works - I mean I can see my pictures, copy and delete them. However I am accessing two SD cards that, apparently, are mounted nowhere, which I find puzzling.
Nik wrote
That's 'case you use system:/media/... for accessing the files, which only
works with tdeio_* capable programs - which gimp is not. You can try to RMB -> "open system folder" to get the correct mountpoint
And he seems to be right. kview is able to show the pictures. I don't know what RMB -> "open system folders" means. I took a look at Go -> system media in Konqueror and found my "Unknown device" listed there, so I can re-access it but can't unmount it (maybe because it's not mounted).
Just wonder if this is good for the exfat formated cards or not.
Obviously TDE has powers that Linux doesn't know about :))
Sorry, playing catch up here.
Kate
No problem :)
Thierry
Anno domini 2022 Mon, 30 May 18:41:07 +0200 Thierry de Coulon scripsit:
On Monday 30 May 2022 17.56:07 Borg Labs wrote:
http://www.linux-usb.org/usb.ids
the device ID is not in the list - either it is some crap or it is too new.
Most probably too new. I sure would not consider the R6 to be crap ;) Ecellent camera by the way
What model camera, exactly?
Canon EOS R6
(...)
When you plug the cam in, does an icon popup on your desktop?
No. What pops up is TDE's dialog box asking me what I want to do with the device. When I say I want to open it in a window, Konqueror does just that, and it works perfectly... except that if I close the window I can't find the device anymore (unless I turn it off and on and get the same dialog box again.
So it actually works - I mean I can see my pictures, copy and delete them. However I am accessing two SD cards that, apparently, are mounted nowhere, which I find puzzling.
Nik wrote
That's 'case you use system:/media/... for accessing the files, which only
works with tdeio_* capable programs - which gimp is not. You can try to RMB -> "open system folder" to get the correct mountpoint
And he seems to be right. kview is able to show the pictures. I don't know what RMB -> "open system folders" means. I took a look at Go ->
RMB = "Right Mouse Button", when you click on the devive the context menu appears which gives you the option to open the system media folder (which resides in /media/ and not system:/media/)
Nik
system media in Konqueror and found my "Unknown device" listed there, so I can re-access it but can't unmount it (maybe because it's not mounted).
Just wonder if this is good for the exfat formated cards or not.
Obviously TDE has powers that Linux doesn't know about :))
Sorry, playing catch up here.
Kate
No problem :)
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Mon, 30 May 2022 18:41:07 +0200 Thierry de Coulon tcoulon@decoulon.ch wrote:
Just wonder if this is good for the exfat formated cards or not.
If you're never writing to them with the computer, it's probably okay—corrupting data by reading it is very difficult on modern hardware regardless of file system.
E. Liddell
Thierry de Coulon wrote:
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.
forgot to mention that in those threads fuse was mentioned, so you can check if you find something there
Anno domini 2022 Sat, 28 May 22:31:00 +0200 Thierry de Coulon scripsit:
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 ...