[Bug 242902] Plasma device notifier does not recognize exFAT USB drives

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 8 18:42:00 GMT 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242902

--- Comment #41 from Serge Volkov <sv at ulstu.ru> ---
When I connect a USB pen stick using the hald service, I get this:

udi = '/org/freedesktop/Hal/devices/storage_serial_0423390000000239_block'
  parent = '/org/freedesktop/Hal/devices/storage_serial_0423390000000239' 
(string)
  vendor = ''  (string)
  product = 'Block Device'  (string)
  description = 'Block Device'  (string)
  icon = ''  (string)
  Block.major = 0  (0x0)  (int)
  Block.minor = 129  (0x81)  (int)
  Block.device = '/dev/da0s1'  (string)

udi = '/org/freedesktop/Hal/devices/storage_serial_0423390000000239'
  parent =
'/org/freedesktop/Hal/devices/usb_device_90c_1000_0423390000000239_if0_scsi_host_scsi_device_lun0'
 (string)
  vendor = 'General'  (string)
  product = 'USB Flash Disk'  (string)
  description = 'General USB Flash Disk'  (string)
  icon = 'drive-removable-media-usb'  (string)
  Block.major = 0  (0x0)  (int)
  Block.minor = 128  (0x80)  (int)
  Block.device = '/dev/da0'  (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)

When I connect a same USB pen stick using the bsdisks, I get this:

udi = '/org/freedesktop/UDisks2/block_devices/da0'
  parent = '/org/freedesktop/UDisks2/drives/da0'  (string)
  vendor = 'General USB Flash Disk'  (string)
  product = ''  (string)
  description = 'DISK-0423390000000239'  (string)
  icon = 'drive-removable-media'  (string)
  Block.major = 0  (0x0)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/da0'  (string)
  StorageVolume.ignored = true  (bool)
  StorageVolume.usage = 'PartitionTable'  (0x3)  (enum)
  StorageVolume.fsType = ''  (string)
  StorageVolume.label = 'DISK-0423390000000239'  (string)
  StorageVolume.uuid = ''  (string)
  StorageVolume.size = 16131293184  (0x3c1800000)  (qulonglong)

udi = '/org/freedesktop/UDisks2/block_devices/da0s1'
  parent = '/org/freedesktop/UDisks2/drives/da0s1'  (string)
  vendor = ''  (string)
  product = ''  (string)
  description = 'Жёсткий диск (15,0 ГиБ)'  (string)
  icon = 'drive-harddisk'  (string)
  Block.major = 0  (0x0)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/da0s1'  (string)
  StorageAccess.accessible = false  (bool)
  StorageAccess.filePath = ''  (string)
  StorageAccess.ignored = true  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'exfat'  (string)
  StorageVolume.label = ''  (string)
  StorageVolume.uuid = ''  (string)
  StorageVolume.size = 16131260928  (0x3c17f8200)  (qulonglong)

udi = '/org/freedesktop/UDisks2/drives/da0'
  parent = '/org/freedesktop/UDisks2'  (string)
  vendor = 'General USB Flash Disk'  (string)
  product = ''  (string)
  description = 'General USB Flash Disk'  (string)
  icon = 'drive-removable-media'  (string)
  Block.major = 0  (0x0)  (int)
  Block.minor = 0  (0x0)  (int)
  Block.device = '/dev/da0'  (string)
  StorageDrive.bus = 'Platform'  (0x5)  (enum)
  StorageDrive.driveType = 'HardDisk'  (0x0)  (enum)
  StorageDrive.removable = true  (bool)
  StorageDrive.hotpluggable = false  (bool)
  StorageDrive.inUse = false  (bool)
  StorageDrive.size = 16131293184  (0x3c1800000)  (qulonglong)

The values for StorageDrive.hotpluggable vary. Maybe that’s why the USB pen
stick is recognized as non-removable with bsdisks?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list