Bug 262808 - dolphin doesnt show a usb disk with no partitions until all instances of dolphin are closed and dolphin is started again
Summary: dolphin doesnt show a usb disk with no partitions until all instances of dolp...
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-udisks (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
: 262462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-11 00:02 UTC by Jim Jones
Modified: 2011-07-22 11:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Jones 2011-01-11 00:02:08 UTC
Version:           unspecified (using KDE 4.5.85) 
OS:                Linux

attaching a device like an android phone and enabling usb disk function creates a device like /dev/sdc but this device doesnt show up until i close all instances of dolphin and start it again - attaching a usb device that has a first partition like /dev/sdc1, shows up as expected without closing all instances of dolphin ...

Reproducible: Always
Comment 1 Jim Jones 2011-01-11 00:02:52 UTC
correction: using KDE 4.5.95
Comment 2 Hans-Rudi Denzler 2011-01-11 11:00:59 UTC
Might be related to a 'plasma notification' Bug 262395.
Comment 3 Jim Jones 2011-01-11 19:27:50 UTC
the device doesnt show up in plasma notification at all - even when dolphin is restarted ....
Comment 4 Hans-Rudi Denzler 2011-01-11 22:07:28 UTC
@Comment #2:
> udisks --dump | kwrite --stdin
> solid-hardware list | kwrite --stdin

With both commands I can verify 3 devices sdd, sdd1, sdd2. /dev/sdd1 (HPFS/NTFS) makes trouble in Bug 262395 (plasma notifications).
Comment 5 Lukáš Tinkl 2011-01-12 17:43:05 UTC
Please post the detailed "udisks --dump" and "solid-hardware --details <udi>"
Comment 6 Jim Jones 2011-01-14 14:21:06 UTC
udisks --dump
========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda
  device:                      8:0
  device-file:                 /dev/sda
    presentation:              /dev/sda
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        160041885696
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition table:
    scheme:                    
    count:                     8
  drive:
    vendor:                    ATA
    model:                     SAMSUNG SP1614C
    revision:                  SW100-03
    serial:                    S01XJ10XB15949
    WWN:                       50f0000000000000
    detachable:                0
    can spindown:              1
    rotational media:          Yes, unknown rate
    write-cache:               enabled
    ejectable:                 0
    adapter:                   /org/freedesktop/UDisks/adapters/0000_3a00_3a0e_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a0e_2e0/host0
    similar devices:
    media:                     
      compat:                 
    interface:                 ata
    if speed:                  (unknown)
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda1
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
  device:                      8:1
  device-file:                 /dev/sda1
    presentation:              /dev/sda1
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part1
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part1
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part1
    by-id:                     /dev/disk/by-uuid/96ad5f41-952a-472c-a0fa-44e8c640f0ac
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part1
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        106896384
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        ext4
  version:                     1.0
  uuid:                        96ad5f41-952a-472c-a0fa-44e8c640f0ac
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    1
    type:                      
    flags:                    
    offset:                    32256
    alignment offset:          0
    size:                      106896384
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda2
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda2
  device:                      8:2
  device-file:                 /dev/sda2
    presentation:              /dev/sda2
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part2
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part2
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part2
    by-id:                     /dev/disk/by-uuid/0f4e40e6-92a2-444f-8c58-dfce7553e723
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part2
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /usr/portage
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        518192640
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        0f4e40e6-92a2-444f-8c58-dfce7553e723
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    2
    type:                      
    flags:                    
    offset:                    106928640
    alignment offset:          0
    size:                      518192640
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda3
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda3
  device:                      8:3
  device-file:                 /dev/sda3
    presentation:              /dev/sda3
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part3
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part3
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part3
    by-id:                     /dev/disk/by-uuid/bd4b8bcb-4f6a-4509-afa8-3ec0a972fa99
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part3
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        3010452480
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        bd4b8bcb-4f6a-4509-afa8-3ec0a972fa99
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    3
    type:                      
    flags:                    
    offset:                    625121280
    alignment offset:          0
    size:                      3010452480
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda4
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda4
  device:                      8:4
  device-file:                 /dev/sda4
    presentation:              /dev/sda4
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part4
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part4
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part4
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part4
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        1024
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    4
    type:                      
    flags:                    
    offset:                    3635573760
    alignment offset:          0
    size:                      1024
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda5
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda5
  device:                      8:5
  device-file:                 /dev/sda5
    presentation:              /dev/sda5
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part5
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part5
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part5
    by-id:                     /dev/disk/by-uuid/c997ff2c-5938-4eea-9e7b-82ba226f06ab
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part5
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /usr
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        9023099904
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        c997ff2c-5938-4eea-9e7b-82ba226f06ab
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    5
    type:                      
    flags:                    
    offset:                    3635606016
    alignment offset:          0
    size:                      9023099904
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda6
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda6
  device:                      8:6
  device-file:                 /dev/sda6
    presentation:              /dev/sda6
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part6
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part6
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part6
    by-id:                     /dev/disk/by-uuid/0fd8b8d4-50e0-429f-b0ea-554c01b786d7
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part6
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /usr/portage/distfiles
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        2154991104
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        0fd8b8d4-50e0-429f-b0ea-554c01b786d7
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    6
    type:                      
    flags:                    
    offset:                    12658738176
    alignment offset:          0
    size:                      2154991104
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda7
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda7
  device:                      8:7
  device-file:                 /dev/sda7
    presentation:              /dev/sda7
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part7
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part7
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part7
    by-id:                     /dev/disk/by-uuid/2e17e2a5-18a9-4acd-9ac8-0245ade6d065
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part7
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /opt
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        1850655744
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        2e17e2a5-18a9-4acd-9ac8-0245ade6d065
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    7
    type:                      
    flags:                    
    offset:                    14813761536
    alignment offset:          0
    size:                      1850655744
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sda8
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host0/target0:0:0/0:0:0:0/block/sda/sda8
  device:                      8:8
  device-file:                 /dev/sda8
    presentation:              /dev/sda8
    by-id:                     /dev/disk/by-id/ata-SAMSUNG_SP1614C_S01XJ10XB15949-part8
    by-id:                     /dev/disk/by-id/scsi-SATA_SAMSUNG_SP1614CS01XJ10XB15949-part8
    by-id:                     /dev/disk/by-id/wwn-0x50f0000000000000-part8
    by-id:                     /dev/disk/by-uuid/3cb07ca3-d62b-4854-90ff-30ec7ed33175
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-0:0:0:0-part8
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /mnt/stuff
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        143374823424
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        ext4
  version:                     1.0
  uuid:                        3cb07ca3-d62b-4854-90ff-30ec7ed33175
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sda
    scheme:                    
    number:                    8
    type:                      
    flags:                    
    offset:                    16664449536
    alignment offset:          0
    size:                      143374823424
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb
  device:                      8:16
  device-file:                 /dev/sdb
    presentation:              /dev/sdb
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        500107862016
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition table:
    scheme:                    
    count:                     6
  drive:
    vendor:                    ATA
    model:                     ST3500630AS
    revision:                  3.AAK
    serial:                    9QG3842W
    WWN:                       
    detachable:                0
    can spindown:              1
    rotational media:          Yes, unknown rate
    write-cache:               enabled
    ejectable:                 0
    adapter:                   /org/freedesktop/UDisks/adapters/0000_3a00_3a0e_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a0e_2e0/host1
    similar devices:
    media:                     
      compat:                 
    interface:                 ata
    if speed:                  (unknown)
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb1
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb1
  device:                      8:17
  device-file:                 /dev/sdb1
    presentation:              /dev/sdb1
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part1
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part1
    by-id:                     /dev/disk/by-uuid/1E045DED541458EF
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part1
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        30005789184
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        ntfs-3g
  version:                     
  uuid:                        1E045DED541458EF
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    1
    type:                      
    flags:                    
    offset:                    32256
    alignment offset:          0
    size:                      30005789184
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb2
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb2
  device:                      8:18
  device-file:                 /dev/sdb2
    presentation:              /dev/sdb2
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part2
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part2
    by-id:                     /dev/disk/by-uuid/3aa2d160-26cc-4ac4-bc82-9badafad79e6
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part2
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /home
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        20012106240
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        3aa2d160-26cc-4ac4-bc82-9badafad79e6
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    2
    type:                      
    flags:                    
    offset:                    30005821440
    alignment offset:          0
    size:                      20012106240
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb3
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb3
  device:                      8:19
  device-file:                 /dev/sdb3
    presentation:              /dev/sdb3
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part3
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part3
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part3
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        1024
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    3
    type:                      
    flags:                    
    offset:                    50017927680
    alignment offset:          0
    size:                      1024
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb5
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb5
  device:                      8:21
  device-file:                 /dev/sdb5
    presentation:              /dev/sdb5
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part5
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part5
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part5
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        4005679104
  block size:                  512
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    5
    type:                      
    flags:                    
    offset:                    50017959936
    alignment offset:          0
    size:                      4005679104
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb6
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb6
  device:                      8:22
  device-file:                 /dev/sdb6
    presentation:              /dev/sdb6
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part6
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part6
    by-id:                     /dev/disk/by-uuid/94a07b11-3f15-46e5-a76c-9e8712f1b24d
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part6
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /tmp
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        5009163264
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        ext4
  version:                     1.0
  uuid:                        94a07b11-3f15-46e5-a76c-9e8712f1b24d
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    6
    type:                      
    flags:                    
    offset:                    54023671296
    alignment offset:          0
    size:                      5009163264
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb7
  native-path:                 /sys/devices/pci0000:00/0000:00:0e.0/host1/target1:0:0/1:0:0:0/block/sdb/sdb7
  device:                      8:23
  device-file:                 /dev/sdb7
    presentation:              /dev/sdb7
    by-id:                     /dev/disk/by-id/ata-ST3500630AS_9QG3842W-part7
    by-id:                     /dev/disk/by-id/scsi-SATA_ST3500630AS_9QG3842W-part7
    by-id:                     /dev/disk/by-uuid/d33e970d-f0e6-4460-9682-d53cc38d0943
    by-path:                   /dev/disk/by-path/pci-0000:00:0e.0-scsi-1:0:0:0-part7
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             1
  removable:                   0
  has media:                   1 (detected at Fr 14 Jan 2011 11:26:51 CET)
    detects change:            0
    detection by polling:      0
    detection inhibitable:     0
    detection inhibited:       0
  is read only:                0
  is mounted:                  1
  mount paths:             /mnt/data
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        441072382464
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        xfs
  version:                     
  uuid:                        d33e970d-f0e6-4460-9682-d53cc38d0943
  label:                       
  partition:
    part of:                   /org/freedesktop/UDisks/devices/sdb
    scheme:                    
    number:                    7
    type:                      
    flags:                    
    offset:                    59032866816
    alignment offset:          0
    size:                      441072382464
    label:                     
    uuid:                      

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdc
  native-path:                 /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-7/1-7:1.0/host10/target10:0:0/10:0:0:0/block/sdc
  device:                      8:32
  device-file:                 /dev/sdc
    presentation:              /dev/sdc
    by-id:                     /dev/disk/by-id/usb-HTC_Desire_HT0BFPL02553-0:0
    by-id:                     /dev/disk/by-uuid/4B13-1BDE
    by-path:                   /dev/disk/by-path/pci-0000:00:0b.1-usb-0:7:1.0-scsi-0:0:0:0
  detected at:                 Fr 14 Jan 2011 14:11:06 CET
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Fr 14 Jan 2011 14:15:48 CET)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        7972323328
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        vfat
  version:                     FAT32
  uuid:                        4B13-1BDE
  label:                       
  drive:
    vendor:                    HTC
    model:                     Desire
    revision:                  0100
    serial:                    HT0BFPL02553
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sr0
  native-path:                 /sys/devices/pci0000:00/0000:00:0f.0/host3/target3:0:0/3:0:0:0/block/sr0
  device:                      11:0
  device-file:                 /dev/sr0
    presentation:              /dev/sr0
    by-path:                   /dev/disk/by-path/pci-0000:00:0f.0-scsi-1:0:0:0
  detected at:                 Fr 14 Jan 2011 11:26:51 CET
  system internal:             0
  removable:                   1
  has media:                   0
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        0
  block size:                  0
  job underway:                no
  usage:                       
  type:                        
  version:                     
  uuid:                        
  label:                       
  drive:
    vendor:                    Optiarc
    model:                     DVD RW AD-7243S
    revision:                  1.03
    serial:                    
    WWN:                       
    detachable:                0
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 1
    adapter:                   /org/freedesktop/UDisks/adapters/0000_3a00_3a0f_2e0
    ports:
      /org/freedesktop/UDisks/adapters/0000_3a00_3a0f_2e0/host3
    similar devices:
    media:                     
      compat:                  optical_cd optical_cd_r optical_cd_rw optical_dvd optical_dvd_plus_r optical_dvd_plus_r_dl optical_dvd_plus_rw optical_dvd_r optical_dvd_ram optical_dvd_rw optical_mrw optical_mrw_w
    interface:                 scsi
    if speed:                  (unknown)
    ATA SMART:                 not available

========================================================================


solid-hardware details 4B13-1BDE
udi = '4B13-1BDE'
  parent = ''  (string)
  vendor = ''  (string)
  product = ''  (string)
  description = ''  (string)
Comment 7 Hans-Rudi Denzler 2011-01-14 14:57:07 UTC
> udisks --show-info /dev/sdc

> solid-hardware details /org/freedesktop/UDisks/devices/sdc
is probably more meaningful ?
Comment 8 Lukáš Tinkl 2011-01-14 15:07:25 UTC
Yes please, I need something like solid-hardware details /org/freedesktop/UDisks/devices/sdc
Comment 9 Jim Jones 2011-01-15 03:25:23 UTC
udisks --show-info /dev/sdc
Showing information for /org/freedesktop/UDisks/devices/sdc
  native-path:                 /sys/devices/pci0000:00/0000:00:0b.1/usb1/1-7/1-7:1.0/host26/target26:0:0/26:0:0:0/block/sdc
  device:                      8:32
  device-file:                 /dev/sdc
    presentation:              /dev/sdc
    by-id:                     /dev/disk/by-id/usb-HTC_Desire_HT0BFPL02553-0:0
    by-id:                     /dev/disk/by-uuid/4B13-1BDE
    by-path:                   /dev/disk/by-path/pci-0000:00:0b.1-usb-0:7:1.0-scsi-0:0:0:0
  detected at:                 Sa 15 Jan 2011 03:08:33 CET
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Sa 15 Jan 2011 03:21:30 CET)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        7972323328
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        vfat
  version:                     FAT32
  uuid:                        4B13-1BDE
  label:                       
  drive:
    vendor:                    HTC
    model:                     Desire
    revision:                  0100
    serial:                    HT0BFPL02553
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available


solid-hardware details /org/freedesktop/UDisks/devices/sdc
udi = '/org/freedesktop/UDisks/devices/sdc'
  parent = '/org/freedesktop/UDisks'  (string)
  vendor = 'HTC'  (string)
  product = 'Desire'  (string)
  description = 'HTC Desire'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 32  (0x20)  (int)
  Block.device = '/dev/sdc'  (string)
  StorageAccess.accessible = false  (bool)
  StorageAccess.filePath = ''  (string)
  StorageAccess.ignored = false  (bool)
  StorageDrive.bus = 'Usb'  (0x1)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = true  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 7972323328  (0x1db300000)  (qulonglong)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'vfat'  (string)
  StorageVolume.label = 'HTC Desire'  (string)
  StorageVolume.uuid = '4b13-1bde'  (string)
  StorageVolume.size = 7972323328  (0x1db300000)  (qulonglong)
Comment 10 Lukáš Tinkl 2011-01-17 13:53:52 UTC
*** Bug 262462 has been marked as a duplicate of this bug. ***
Comment 11 Lukáš Tinkl 2011-01-17 15:03:19 UTC
From those listings above, there is no reason why it shouldn't work as expected :/ I can't reproduce this myself with my Nokia 5800 but... the only thing I can think of is that the udev backend kicks in and it kinda "eats" the device so you don't get the deviceAdded/Removed signals. The static info is ok.

So, we need to find out whether your HTC Desire is also reported to be a media player by udev, I need the output of:

$ udevadm info --name=/dev/sdc --query=all
Comment 12 Lukáš Tinkl 2011-01-19 17:55:50 UTC
SVN commit 1215780 by lukas:

introduce a special workaround for 2-stage storage drives like Nokia N900
which first appear as being empty and only after selecting the USB mode on the phone,
they present themselves as having some StorageAccess

Fixes #262808, #262462 and probably some others

Tested by jreznik@redhat.com

BUG:262808


 M  +20 -1     udisksmanager.cpp  
 M  +1 -0      udisksmanager.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1215780
Comment 13 Lukáš Karas 2011-01-19 23:55:09 UTC
Thank you man! I'm happy that this commit is comming to 4.6 release :)
Comment 14 Bart Cerneels 2011-07-22 11:26:41 UTC
(In reply to comment #13)
> Thank you man! I'm happy that this commit is comming to 4.6 release :)

2.4.2 release. We would not want to keep you waiting that long  ;)

I marked it as a release blocker to be sure it was fixed. In the end it was a trivial fix, just took a while to figure out. Enjoy.