On Thu, Apr 09, 2020 at 12:42:10AM -0400, Damon Lynch wrote: > Hi, > > Whether through mistake or by design, I realized only today that GVFS > blocks having more than one camera using the same ID_SERIAL value (I'm > not sure what that value is; I assume it's the brand). > > In practice that seems to mean forget being able to plug in two Canon > cameras under Gnome, because only one will be recognized. I hope > that's not deliberate on Gnome's behalf! Some sample output from > journalctl detailing the error is below. > > While I could just go ahead and file a bug report against GVFS, I fear > it would be lost amidst a sea of other bug reports that the Gnome devs > have to deal with. Is there someone in Gnome who can be shoulder > tapped to take a look at it? > > Thanks, > Damon > > kernel: usb 5-4: new high-speed USB device number 11 using xhci_hcd > kernel: usb 5-4: New USB device found, idVendor=04a9, idProduct=3219, > bcdDevice= 0.02 > kernel: usb 5-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > kernel: usb 5-4: Product: Canon Digital Camera > kernel: usb 5-4: Manufacturer: Canon Inc. > mtp-probe[3587]: checking bus 5, device 11: > "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:06:00.3/usb5/5-4" > mtp-probe[3587]: bus: 5, device: 11 was not an MTP device > gvfs-gphoto2-vo[1746]: device /dev/bus/usb/005/011 has an identical > ID_SERIAL value to an existing device. Multiple devices are not > supported. > colord[2455]: CdMain: failed to emit DeviceAdded: failed to register > object: An object is already exported for the interface > org.freedesktop.ColorManager.Device at > /org/freedesktop/ColorManager/devices/sysfs_Canon_Inc__Canon_Digital_Camera > colord[2455]: CdMain: failed to emit DeviceAdded: failed to register > object: An object is already exported for the interface > org.freedesktop.ColorManager.Device at > /org/freedesktop/ColorManager/devices/sysfs__null_
Cameras usually report their serial ids and udev should pick them up, and they are unique. I am getting here for a powershot: ID_SERIAL=Canon_Inc._Canon_Digital_Camera_C1F97548F24F4006CB1541A312A50CB9 ID_SERIAL_SHORT=C1F97548F24F4006CB1541A312A50CB9 Can you check with udevadm monitor -p and look for ID_SERIAL if it is generating unique ids or any ids at all? JUding from the ColorManager entry it might not emit this serial? Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel