Bug 73250 - Udisks2 "MediaRemovable" changing from true to false at runtime for a Card Reader
Summary: Udisks2 "MediaRemovable" changing from true to false at runtime for a Card Re...
Status: NEW
Alias: None
Product: udisks
Classification: Unclassified
Component: detection (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-03 08:27 UTC by Diego
Modified: 2014-01-08 09:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
udisksctl dump when "MediaRemovable: true" (27.69 KB, text/plain)
2014-01-03 08:27 UTC, Diego
Details
udevadm info --export-db when "MediaRemovable: true" (144.77 KB, text/plain)
2014-01-03 08:30 UTC, Diego
Details
udisksctl dump when "MediaRemovable: false" (27.67 KB, text/plain)
2014-01-08 09:41 UTC, Diego
Details
Full dmesg (93.46 KB, text/plain)
2014-01-08 09:57 UTC, Diego
Details

Description Diego 2014-01-03 08:27:59 UTC
Created attachment 91452 [details]
udisksctl dump when "MediaRemovable: true"

This happens rarely, but it's quite annoying.
At boot my Card reader is always detected with "MediaRemovable: true" but sometimes, after several cycles of mounting and unmounting SD cards, the same Card reader turns to "MediaRemovable: false".

JUST AFTER BOOT:
/org/freedesktop/UDisks2/drives/Multiple_Card__Reader_058F63666433:
  org.freedesktop.UDisks2.Drive:
    CanPowerOff:                true
    Configuration:              {}
    ConnectionBus:              usb
    Ejectable:                  true
    Id:                         Multiple-Card--Reader-058F63666433
    Media:                      
    MediaAvailable:             true
    MediaChangeDetected:        true
    MediaCompatibility:         
    MediaRemovable:             true
    Model:                      Card  Reader
    Optical:                    false
    OpticalBlank:               false
    OpticalNumAudioTracks:      0
    OpticalNumDataTracks:       0
    OpticalNumSessions:         0
    OpticalNumTracks:           0
    Removable:                  true
    Revision:                   1.00
    RotationRate:               -1
    Seat:                       seat0
    Serial:                     058F63666433
    SiblingId:                  /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0
    Size:                       2013265920
    SortKey:                    01hotplug/1388736763277055
    TimeDetected:               1388736763277055
    TimeMediaDetected:          1388736763277055
    Vendor:                     Multiple
    WWN:

RARELY AFTER MOUNTING AND UNMOUNTING SEVERAL TIMES:
/org/freedesktop/UDisks2/drives/Multiple_Card__Reader_058F63666433:
  org.freedesktop.UDisks2.Drive:
    CanPowerOff:                false
    Configuration:              {}
    ConnectionBus:              
    Ejectable:                  false
    Id:                         Multiple-Card--Reader-058F63666433
    Media:                      
    MediaAvailable:             true
    MediaChangeDetected:        true
    MediaCompatibility:         
    MediaRemovable:             false
    Model:                      Card  Reader
    Optical:                    false
    OpticalBlank:               false
    OpticalNumAudioTracks:      0
    OpticalNumDataTracks:       0
    OpticalNumSessions:         0
    OpticalNumTracks:           0
    Removable:                  false
    Revision:                   1.00
    RotationRate:               0
    Seat:                       seat0
    Serial:                     058F63666433
    SiblingId:                  
    Size:                       0
    SortKey:                    01hotplug/1388657744954817
    TimeDetected:               1388657744954817
    TimeMediaDetected:          1388657744954817
    Vendor:                     Multiple
    WWN:


(Don't know if it matters) In both the cases the "removable" property in sysfs is at "1":
$ cat /sys/class/block/sdb/removable 
1

I'm sorry but I don't have a full udisksctl dump with "MediaRemovable: false".
Comment 1 Diego 2014-01-03 08:30:06 UTC
Created attachment 91453 [details]
udevadm info --export-db when "MediaRemovable: true"
Comment 2 Diego 2014-01-08 09:41:52 UTC
Created attachment 91645 [details]
udisksctl dump when "MediaRemovable: false"
Comment 3 Diego 2014-01-08 09:57:39 UTC
Created attachment 91646 [details]
Full dmesg

Full dmesg log during which the Multiple Card Reader got to "MediaRemovable: false"


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.