Comment # 2 on bug 1050405 from
(In reply to Thomas Blume from comment #1)

> -->
> # gdbus introspect --system --dest org.freedesktop.UDisks2 --object-path
> /org/freedesktop/UDisks2/drives
> node /org/freedesktop/UDisks2/drives {
>   node HL_DT_STDVD_ROM_GDR8160B_HL_DT_STDVD_ROM_GDR8160B {
>   };
>   node ST3160021A_5JS2B44K {
>   };
>   node SAMSUNG_SP0812C_0693J1FX300217 {
>   };
>   node drive {
>   };
> };
> #
> --<

Maybe a little more background, udisks2 identifies the stick as:

node drive {
};

so it is missing the correct name and it doesn't get any properties:

-->
# gdbus introspect --system --dest org.freedesktop.UDisks2 --object-path
/org/freedesktop/UDisks2/drives/drive
node /org/freedesktop/UDisks2/drives/drive {
};
#
--<

Comparison with a properly detected device:

-->
# gdbus introspect --system --dest org.freedesktop.UDisks2 --object-path
/org/freedesktop/UDisks2/drives/HL_DT_STDVD_ROM_GDR8160B_HL_DT_STDVD_ROM_GDR8160B
node
/org/freedesktop/UDisks2/drives/HL_DT_STDVD_ROM_GDR8160B_HL_DT_STDVD_ROM_GDR8160B
{
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in  s interface_name,
          in  s property_name,
          out v value);
      GetAll(in  s interface_name,
             out a{sv} properties);
      Set(in  s interface_name,
          in  s property_name,
          in  v value);
    signals:
      PropertiesChanged(s interface_name,
                        a{sv} changed_properties,
                        as invalidated_properties);
    properties:
  };
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s xml_data);
    signals:
    properties:
  };
  interface org.freedesktop.DBus.Peer {
    methods:
      Ping();
      GetMachineId(out s machine_uuid);
    signals:
    properties:
  };
  interface org.freedesktop.UDisks2.Drive.Ata {
    methods:
      SmartUpdate(in  a{sv} options);
      SmartGetAttributes(in  a{sv} options,
                         out a(ysqiiixia{sv}) attributes);
      SmartSelftestStart(in  s type,
                         in  a{sv} options);
      SmartSelftestAbort(in  a{sv} options);
      SmartSetEnabled(in  b value,
                      in  a{sv} options);
      PmGetState(in  a{sv} options,
                 out y state);
      PmStandby(in  a{sv} options);
      PmWakeup(in  a{sv} options);
      SecurityEraseUnit(in  a{sv} options);
    signals:
    properties:
      readonly b SmartSupported = false;
      readonly b SmartEnabled = false;
      readonly t SmartUpdated = 0;
      readonly b SmartFailing = false;
      readonly t SmartPowerOnSeconds = 0;
      readonly d SmartTemperature = 0.0;
      readonly i SmartNumAttributesFailing = -1;
      readonly i SmartNumAttributesFailedInThePast = -1;
      readonly x SmartNumBadSectors = 1;
      readonly s SmartSelftestStatus = '';
      readonly i SmartSelftestPercentRemaining = -1;
      readonly b PmSupported = false;
      readonly b PmEnabled = false;
      readonly b ApmSupported = false;
      readonly b ApmEnabled = false;
      readonly b AamSupported = false;
      readonly b AamEnabled = false;
      readonly i AamVendorRecommendedValue = 0;
      readonly b WriteCacheSupported = false;
      readonly b WriteCacheEnabled = false;
      readonly i SecurityEraseUnitMinutes = 0;
      readonly i SecurityEnhancedEraseUnitMinutes = 0;
      readonly b SecurityFrozen = false;
  };
  interface org.freedesktop.UDisks2.Drive {
    methods:
      Eject(in  a{sv} options);
      SetConfiguration(in  a{sv} value,
                       in  a{sv} options);
      PowerOff(in  a{sv} options);
    signals:
    properties:
      readonly s Vendor = '';
      readonly s Model = 'HL-DT-STDVD-ROM GDR8160B';
      readonly s Revision = '0013';
      readonly s Serial = 'HL-DT-STDVD-ROM_GDR8160B';
      readonly s WWN = '';
      readonly s Id = 'HL-DT-STDVD-ROM-GDR8160B-HL-DT-STDVD-ROM_GDR8160B';
      readonly a{sv} Configuration = {};
      readonly s Media = '';
      readonly as MediaCompatibility = ['optical_cd', 'optical_dvd',
'optical_mrw', 'optical_mrw_w'];
      readonly b MediaRemovable = true;
      readonly b MediaAvailable = false;
      readonly b MediaChangeDetected = true;
      readonly t Size = 0;
      readonly t TimeDetected = 1501051902626842;
      readonly t TimeMediaDetected = 0;
      readonly b Optical = false;
      readonly b OpticalBlank = false;
      readonly u OpticalNumTracks = 0;
      readonly u OpticalNumAudioTracks = 0;
      readonly u OpticalNumDataTracks = 0;
      readonly u OpticalNumSessions = 0;
      readonly i RotationRate = -1;
      readonly s ConnectionBus = '';
      readonly s Seat = 'seat0';
      readonly b Removable = true;
      readonly b Ejectable = true;
      readonly s SortKey = '00coldplug/11removable/sr0';
      readonly b CanPowerOff = false;
      readonly s SiblingId = '';
  };
};
--<


You are receiving this mail because: