Bug 326387 - Device notifier always shows a removable device of 0 Bytes
Summary: Device notifier always shows a removable device of 0 Bytes
Status: RESOLVED DUPLICATE of bug 318061
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-devicenotifier (show other bugs)
Version: 4.11.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-21 15:05 UTC by J.A. Moray
Modified: 2013-10-31 17:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J.A. Moray 2013-10-21 15:05:27 UTC
The device notifier (and also Dolphin) always shows a removable device of 0 Bytes. Maybe it's because I have a card reader. This issue didn't happen in KDE 4.10.x.

Screenshot: https://launchpadlibrarian.net/154348111/trad2.jpeg

Reproducible: Always
Comment 1 Jacopo De Simoi 2013-10-21 16:48:58 UTC
Could you please attach the output of 

solid-hardware list

This looks btw similar to bug 318061, which was reported on 4.10, 
I guess the culprit is the switch to defaulting to udisks2 of some distributions.
Comment 2 J.A. Moray 2013-10-21 16:57:46 UTC
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1'
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D1p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D2c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/net/eth0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS10'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS11'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS12'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS13'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS14'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS15'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS16'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS17'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS18'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS19'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS20'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS21'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS22'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS23'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS24'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS25'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS26'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS27'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS28'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS29'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS30'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS31'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS4'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS5'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS6'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS7'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS8'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS9'
udi = '/org/kde/solid/udev/sys/devices/pnp0/00:0f/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/seq'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/loop6'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/loop2'
udi = '/org/freedesktop/UDisks2/block_devices/loop1'
udi = '/org/freedesktop/UDisks2/block_devices/loop0'
udi = '/org/freedesktop/UDisks2/block_devices/loop5'
udi = '/org/freedesktop/UDisks2/block_devices/loop4'
udi = '/org/freedesktop/UDisks2/block_devices/loop3'
udi = '/org/freedesktop/UDisks2/block_devices/ram9'
udi = '/org/freedesktop/UDisks2/block_devices/ram8'
udi = '/org/freedesktop/UDisks2/block_devices/ram7'
udi = '/org/freedesktop/UDisks2/block_devices/ram6'
udi = '/org/freedesktop/UDisks2/block_devices/ram5'
udi = '/org/freedesktop/UDisks2/block_devices/ram4'
udi = '/org/freedesktop/UDisks2/block_devices/ram3'
udi = '/org/freedesktop/UDisks2/block_devices/ram2'
udi = '/org/freedesktop/UDisks2/block_devices/ram1'
udi = '/org/freedesktop/UDisks2/block_devices/ram0'
udi = '/org/freedesktop/UDisks2/block_devices/fd0'
udi = '/org/freedesktop/UDisks2/block_devices/sdb'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/ram12'
udi = '/org/freedesktop/UDisks2/block_devices/ram15'
udi = '/org/freedesktop/UDisks2/block_devices/ram14'
udi = '/org/freedesktop/UDisks2/block_devices/ram13'
udi = '/org/freedesktop/UDisks2/block_devices/ram11'
udi = '/org/freedesktop/UDisks2/block_devices/ram10'
udi = '/org/freedesktop/UDisks2/block_devices/loop7'
udi = '/org/freedesktop/UDisks2/block_devices/sda6'
udi = '/org/freedesktop/UDisks2/block_devices/sda5'
udi = '/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471'
udi = '/org/freedesktop/UDisks2/drives/Floppy_Drive'
udi = '/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A'
udi = '/org/freedesktop/UDisks2/drives/TSSTcorp_CDDVDW_SH_S223B_Q9146GCS82423200'
udi = '/org/freedesktop/UPower'
udi = '/org/kde/fstab'
Comment 3 Jacopo De Simoi 2013-10-21 17:04:49 UTC
Wow, a floppy drive! Haven't seen any in ages!

could you please paste the output of the following commands

solid-hardware details /org/freedesktop/UDisks2/block_devices/fd0
solid-hardware details /org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471
solid-hardware details /org/freedesktop/UDisks2/drives/Floppy_Drive
solid-hardware details /org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A

Thanks
__J
Comment 4 J.A. Moray 2013-10-21 17:29:08 UTC
I don't have a floppy drive actually.

moray33@Jose:~$ solid-hardware details /org/freedesktop/UDisks2/block_devices/fd0
udi = '/org/freedesktop/UDisks2/block_devices/fd0'
  parent = '/org/freedesktop/UDisks2/drives/Floppy_Drive'  (string)
  vendor = ''  (string)
  product = 'Floppy Drive'  (string)
"/org/freedesktop/UDisks2/block_devices/fd0" : property "Name" does not exist 
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "Device" does not exist 
  description = '0 B Removable Media'  (string)
  Block.major = 2  (0x2)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/fd0'  (string)
  StorageAccess.accessible = false  (bool)
  StorageAccess.filePath = ''  (string)
  StorageAccess.ignored = false  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = ''  (string)
  StorageVolume.label = ''  (string)
  StorageVolume.uuid = ''  (string)
  StorageVolume.size = 0  (0x0)  (qulonglong)

moray33@Jose:~$ solid-hardware details /org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471
udi = '/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471'
"/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471" : property "Table" does not exist 
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = 'Multi'  (string)
  product = 'Flash Reader'  (string)
"/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Multi_Flash_Reader_058F63666471" : property "Device" does not exist 
  description = 'Multi Flash Reader'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 16  (0x10)  (int)
  Block.device = '/dev/sdb'  (string)
  StorageDrive.bus = 'Usb'  (0x1)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = true  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 0  (0x0)  (qulonglong)                                                                                              
                                                                                                                                          
moray33@Jose:~$ solid-hardware details /org/freedesktop/UDisks2/drives/Floppy_Drive                                                       
udi = '/org/freedesktop/UDisks2/drives/Floppy_Drive'                                                                                      
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "Table" does not exist 
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = ''  (string)
  product = 'Floppy Drive'  (string)
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Floppy_Drive" : property "Device" does not exist 
  description = 'Floppy Drive'  (string)
  Block.major = 2  (0x2)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/fd0'  (string)
  StorageDrive.bus = 'Platform'  (0x5)  (enum)
  StorageDrive.driveType = 'Floppy'  (0x2)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = false  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 0  (0x0)  (qulonglong)

moray33@Jose:~$ solid-hardware details /org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A
udi = '/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A'
"/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A" : property "Drive" does not exist 
"/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A" : property "Table" does not exist 
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = ''  (string)
  product = 'ST31000528AS'  (string)
"/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/ST31000528AS_6VP1XC2A" : property "Device" does not exist 
  description = '931,5 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 3  (0x3)  (int)
  Block.device = '/dev/sda3'  (string)
  StorageDrive.bus = 'Sata'  (0x4)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = false  (bool)
  StorageDrive.hotpluggable = false  (bool)
  StorageDrive.inUse = true  (bool)
  StorageDrive.size = 1000204886016  (0xe8e0db6000)  (qulonglong)
Comment 5 Jacopo De Simoi 2013-10-31 17:01:58 UTC

*** This bug has been marked as a duplicate of bug 318061 ***