Comment 84 for bug 285682

Revision history for this message
Paolo Benvenuto (donpaolo) wrote : Re: Ubuntu 8.10 can't mount digital camera showing a window popup message: -60 could not lock the device message

> could you run "gphoto2 --summary" and "gvfs-mount -li" just after connecting the camera too (ie when you have the dialgos displayed)?

$ LC_ALL=C gphoto2 --summary

*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <email address hidden>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --summary

Please make sure there is sufficient quoting around the arguments.

$ LC_ALL=C gvfs-mount -li
Drive(0): Unit? CD-RW/DVD?RW
  Type: GProxyDrive (GProxyVolumeMonitorHal)
  ids:
   hal-udi: '/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GSA_H58N'
   unix-device: '/dev/sr0'
  themed icons: [drive-optical-recorder] [drive-optical] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=1
Drive(1): Unit? USB
  Type: GProxyDrive (GProxyVolumeMonitorHal)
  ids:
   hal-udi: '/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HM500LI_6830000dd6a4_0_0'
   unix-device: '/dev/sdb'
  themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=0
  can_poll_for_media=0
  can_eject=0
  Volume(0): EsternoFAT
    Type: GProxyVolume (GProxyVolumeMonitorHal)
    ids:
     uuid: '1500-2247'
     hal-udi: '/org/freedesktop/Hal/devices/volume_uuid_1500_2247'
     unix-device: '/dev/sdb1'
     label: 'EsternoFAT'
    uuid=1500-2247
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    can_mount=1
    can_eject=0
    Mount(0): EsternoFAT -> file:///media/EsternoFAT
      Type: GProxyMount (GProxyVolumeMonitorHal)
      uuid=1500-2247
      themed icons: [drive-harddisk-usb] [drive-harddisk] [drive]
      can_unmount=1
      can_eject=0
      is_shadowed=0
  Volume(1): EsternoEXT3
    Type: GProxyVolume (GProxyVolumeMonitorHal)
    ids:
     uuid: 'a190eced-bda5-45d1-9724-ba84d7ec78f2'
     hal-udi: '/org/freedesktop/Hal/devices/volume_uuid_a190eced_bda5_45d1_9724_ba84d7ec78f2'
     unix-device: '/dev/sdb2'
     label: 'EsternoEXT3'
    uuid=a190eced-bda5-45d1-9724-ba84d7ec78f2
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    can_mount=1
    can_eject=0
    Mount(0): EsternoEXT3 -> file:///media/EsternoEXT3
      Type: GProxyMount (GProxyVolumeMonitorHal)
      uuid=a190eced-bda5-45d1-9724-ba84d7ec78f2
      themed icons: [drive-harddisk-usb] [drive-harddisk] [drive]
      can_unmount=1
      can_eject=0
      is_shadowed=0
Volume(0): Canon, Inc. Canon Digital Camera
  Type: GProxyVolume (GProxyVolumeMonitorGPhoto2)
  ids:
   hal-udi: '/org/freedesktop/Hal/devices/usb_device_4a9_3126_noserial_if0'
   unix-device: '/dev/bus/usb/001/013'
  activation_root=gphoto2://[usb:001,013]/
  themed icons: [camera-photo]
  can_mount=1
  can_eject=0
  Mount(0): Canon, Inc. Canon Digital Camera -> gphoto2://[usb:001,013]/
    Type: GProxyShadowMount (GProxyVolumeMonitorGPhoto2)
    themed icons: [camera-photo]
    x_content_types: x-content/image-dcf
    can_unmount=1
    can_eject=0
    is_shadowed=0
Mount(0): Canon, Inc. Canon Digital Camera -> gphoto2://[usb:001,013]/
  Type: GDaemonMount
  themed icons: [camera-photo] [camera]
  x_content_types: x-content/image-dcf
  can_unmount=1
  can_eject=0
  is_shadowed=1