Derek_Kite
(Derek Kite)
January 27, 2020, 5:44am
1
I have a two card camera body (Pentax K1) and when I connect the USB cable I see two instances of the program running. If I insert an sd card in the laptop sd reader, one instance starts.
I’ve been using the program for a long time, and haven’t seen any bug or indication that this is common, so I’m thinking that the OS configuration for starting an application on USB insertion is wrong. Where would I start looking?
I’m using Debian, here is uname -a
Linux derek 5.4.0-2-amd64 #1 SMP Debian 5.4.8-1 (2020-01-05) x86_64 GNU/Linux
Using the LX desktop.
Does your camera enumerate both SD cards? Perhaps a different udev rule from the one currently set.
Derek_Kite
(Derek Kite)
January 27, 2020, 7:20am
3
this is the dmesg sequence. There are no udev rules that would apply.
[144567.715581] usb 1-4: new high-speed USB device number 5 using xhci_hcd
[144567.868235] usb 1-4: New USB device found, idVendor=25fb, idProduct=0182, bcdDevice= 1.03
[144567.868240] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[144567.868243] usb 1-4: Product: PENTAX K-1 Mark II
[144567.868246] usb 1-4: Manufacturer: RICOH IMAGING COMPANY, LTD.
[144567.868248] usb 1-4: SerialNumber: 6393663
[144567.947795] usb-storage 1-4:1.0: USB Mass Storage device detected
[144567.948685] scsi host2: usb-storage 1-4:1.0
[144567.948806] usbcore: registered new interface driver usb-storage
[144567.953600] usbcore: registered new interface driver uas
[144568.964546] scsi host2: scsi scan: INQUIRY result too short (5), using 36
[144568.964555] scsi 2:0:0:0: Direct-Access RICOHIMG DSC_K-1_Mark_II 1.03 PQ: 0 ANSI: 6
[144568.965076] scsi 2:0:0:1: Direct-Access RICOHIMG DSC_K-1_Mark_II 1.03 PQ: 0 ANSI: 6
[144568.965622] sd 2:0:0:0: Attached scsi generic sg2 type 0
[144568.966168] sd 2:0:0:1: Attached scsi generic sg3 type 0
[144568.966304] sd 2:0:0:0: [sdc] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
[144568.966539] sd 2:0:0:0: [sdc] Write Protect is off
[144568.966546] sd 2:0:0:0: [sdc] Mode Sense: 0a 0a 00 01
[144568.966890] sd 2:0:0:1: [sdd] 62333952 512-byte logical blocks: (31.9 GB/29.7 GiB)
[144568.967084] sd 2:0:0:0: [sdc] No Caching mode page found
[144568.967095] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[144568.967301] sd 2:0:0:1: [sdd] Write Protect is off
[144568.967307] sd 2:0:0:1: [sdd] Mode Sense: 0a 0a 00 01
[144568.967642] sd 2:0:0:1: [sdd] No Caching mode page found
[144568.967650] sd 2:0:0:1: [sdd] Assuming drive cache: write through
[144569.019177] sdc: sdc1
[144569.021652] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[144569.032222] sdd: sdd1
[144569.047493] sd 2:0:0:1: [sdd] Attached SCSI removable disk
I’m not sure what you mean by enumerate both SD cards.
Thanks
Derek_Kite
(Derek Kite)
January 27, 2020, 7:21am
4
It uses the debian udev rules.
Derek_Kite
(Derek Kite)
January 27, 2020, 7:37am
5
There was a .gconf/apps/rapid-photo-downloader/%gconf.xml file. I renamed the .gconf folder, and the problem went away.
1 Like