Hi all!
I have a funny problem with a camera: "Casio Exilim", is recognised as a usb storage device, and under TDE <= 14.0.0 the camera was managed by TDEs device manager, i.e. a popup appered "New media found. What do you want to do?", just like any USB stick.
After the update to 14.0.1 things have changed: usb-sticks are still managed as expected, just the camera is not. I can mount it manually (but that's not quite what the user expected).
So, where should I go looking? It's debian jessie, btw.
This is the log, when the camera is plugged in:
Sep 18 10:17:56 t60 kernel: [ 5789.060257] usb 6-4.3: new full-speed USB device number 8 using ehci-pci Sep 18 10:17:56 t60 mtp-probe: checking bus 6, device 8: "/sys/devices/pci0000:00/0000:00:1a.7/usb6/6-4/6-4.3" Sep 18 10:17:56 t60 kernel: [ 5789.156609] usb 6-4.3: New USB device found, idVendor=07cf, idProduct=1001 Sep 18 10:17:56 t60 kernel: [ 5789.156614] usb 6-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Sep 18 10:17:56 t60 kernel: [ 5789.156616] usb 6-4.3: Product: CASIO QV DIGITAL Sep 18 10:17:56 t60 kernel: [ 5789.156618] usb 6-4.3: Manufacturer: CASIO COMPUTER Sep 18 10:17:56 t60 kernel: [ 5789.157290] usb-storage 6-4.3:1.0: USB Mass Storage device detected Sep 18 10:17:56 t60 kernel: [ 5789.157543] usb-storage 6-4.3:1.0: Quirks match for vid 07cf pid 1001: a Sep 18 10:17:56 t60 kernel: [ 5789.157562] scsi9 : usb-storage 6-4.3:1.0 Sep 18 10:17:56 t60 mtp-probe: bus: 6, device: 8 was not an MTP device Sep 18 10:17:57 t60 kernel: [ 5790.156355] scsi 9:0:0:0: Direct-Access Casio QV DigitalCamera 1000 PQ: 0 ANSI: 2 Sep 18 10:17:57 t60 kernel: [ 5790.160426] sd 9:0:0:0: Attached scsi generic sg2 type 0 Sep 18 10:17:57 t60 kernel: [ 5790.170969] sd 9:0:0:0: [sdc] 1995264 512-byte logical blocks: (1.02 GB/974 MiB) Sep 18 10:17:57 t60 kernel: [ 5790.171966] sd 9:0:0:0: [sdc] Write Protect is off Sep 18 10:17:57 t60 kernel: [ 5790.189001] sdc: sdc1 Sep 18 10:17:57 t60 kernel: [ 5790.201969] sd 9:0:0:0: [sdc] Attached SCSI removable disk
This is an ordenary usb-stick: Sep 18 10:34:31 t60 kernel: [ 6783.480076] usb 7-2: new high-speed USB device number 4 using ehci-pci Sep 18 10:34:31 t60 kernel: [ 6783.612894] usb 7-2: New USB device found, idVendor=0204, idProduct=6025 Sep 18 10:34:31 t60 kernel: [ 6783.612900] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Sep 18 10:34:31 t60 kernel: [ 6783.612904] usb 7-2: Product: Flash Disk Sep 18 10:34:31 t60 kernel: [ 6783.612907] usb 7-2: Manufacturer: CBM Sep 18 10:34:31 t60 kernel: [ 6783.612910] usb 7-2: SerialNumber: 041513026D144601 Sep 18 10:34:31 t60 kernel: [ 6783.613300] usb-storage 7-2:1.0: USB Mass Storage device detected Sep 18 10:34:31 t60 kernel: [ 6783.613717] scsi11 : usb-storage 7-2:1.0 Sep 18 10:34:31 t60 mtp-probe: checking bus 7, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2" Sep 18 10:34:31 t60 mtp-probe: bus: 7, device: 4 was not an MTP device Sep 18 10:34:32 t60 kernel: [ 6784.612935] scsi 11:0:0:0: Direct-Access CBM Flash Disk 5.00 PQ: 0 ANSI: 2 Sep 18 10:34:32 t60 kernel: [ 6784.617111] sd 11:0:0:0: Attached scsi generic sg3 type 0 Sep 18 10:34:32 t60 kernel: [ 6784.622992] sd 11:0:0:0: [sdd] 2017280 512-byte logical blocks: (1.03 GB/985 MiB) Sep 18 10:34:32 t60 kernel: [ 6784.623630] sd 11:0:0:0: [sdd] Write Protect is off Sep 18 10:34:32 t60 kernel: [ 6784.627244] sdd: sdd1 Sep 18 10:34:32 t60 kernel: [ 6784.630735] sd 11:0:0:0: [sdd] Attached SCSI removable disk
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA.
Dr. Nikolaus Klepp wrote:
Hi all!
I have a funny problem with a camera: "Casio Exilim", is recognised as a usb storage device, and under TDE <= 14.0.0 the camera was managed by TDEs device manager, i.e. a popup appered "New media found. What do you want to do?", just like any USB stick.
After the update to 14.0.1 things have changed: usb-sticks are still managed as expected, just the camera is not. I can mount it manually (but that's not quite what the user expected).
So, where should I go looking? It's debian jessie, btw.
sounds similar to my problem with the cell phone
https://bugs.trinitydesktop.org/show_bug.cgi?id=2444
solution based on bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650299
not sure if you are using the polkit though, but the answer should be somehwere around org.freedesktop.udisks or the packages I suppose.
hope this helps a bit
regards
Hi deloptes!
Am Mittwoch, 30. September 2015 schrieb deloptes:
Dr. Nikolaus Klepp wrote:
Hi all!
I have a funny problem with a camera: "Casio Exilim", is recognised as a usb storage device, and under TDE <= 14.0.0 the camera was managed by TDEs device manager, i.e. a popup appered "New media found. What do you want to do?", just like any USB stick.
After the update to 14.0.1 things have changed: usb-sticks are still managed as expected, just the camera is not. I can mount it manually (but that's not quite what the user expected).
So, where should I go looking? It's debian jessie, btw.
sounds similar to my problem with the cell phone
https://bugs.trinitydesktop.org/show_bug.cgi?id=2444
solution based on bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650299
not sure if you are using the polkit though, but the answer should be somehwere around org.freedesktop.udisks or the packages I suppose.
hope this helps a bit
regards
Well, I just solved the problem - kind of. Looks like the "improvement" introduced by systemd folks in the form of a binary hardware dababase is the root of all evil. As it was to be expected, the database contains wrong information (haven't they learned a single bit from M$?). I had to "persuade" udev, that the camera is a "disk" and not something "generic", and udisk/usdisk2 that it's "removable". And it's important that these fixes are in the last ruleset, otherwise it does not work:
# /etc/udev/rules/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