Bug 317532 - USB sticks unreadable in Dolphin
Summary: USB sticks unreadable in Dolphin
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-udisks2 (show other bugs)
Version: 4.11.0
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-29 10:39 UTC by Gerry Gavigan
Modified: 2015-03-12 11:23 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry Gavigan 2013-03-29 10:39:18 UTC
creating live USBs renders the previously readable USB stick unreadable in Dolphin

Reproducible: Always

Steps to Reproduce:
1. plug in usb stick - check with Dolphin
2. create live image (using imagewriter)
3. try to check contents of usb 
Actual Results:  
for a live USB the device notifier activates and shows the usual options but none of them work

for a DVD USB device notifier doesn't work



Expected Results:  
 to be able to examine the contents of the USB using Dolphin

Discussion on the KDE help forum suggested either issues in UDisks2, or bugs in the KDE UDisks2 interface (http://forum.kde.org/viewtopic.php?f=224&t=110527)

[quote]
As UDisks2 is quite new, both options are quite possible.
[/quote]

YaST status:
# Status                Package         | Summary                                                    | Installed (Available) 
[Keep]                   libudisks2-0   | UDisks Client Library, version 2                | 2.0.0-5.4.1                 
[Keep]                   udisks2          | Disk Management Service, version 2       | 2.0.0-5.4.1           
[Do Not Install]     typelib-1_0-UDisks-2_0    | UDisks Client Library, version 2 -- I... (2.0.0-5.4.1)    

On plugging in a live USB stick using openSUSE 12.2, the list of storage devices in Dolphin included "USB 2.0 DISK" (USB stick specific)

This option was browsable enabling the contents to be checked

This option is not present in openSUSE 12.3

[code]
    linux-zd5t:/home/gerry # lsusb
    Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
    Bus 001 Device 010: ID 0930:6544 Toshiba Corp. Kingston DataTraveler 2.0 Stick (2GB)
    Bus 003 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
    Bus 004 Device 002: ID 046d:c526 Logitech, Inc. Nano Receiver
    Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[/code]

for the live CD USB stick 

[code]

    linux-zd5t:/ # solid-hardware details  /org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C
    udi = '/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C'
    "/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C" : property "Drive" does not exist
    "/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C" : property "Table" does not exist
      parent = '/org/freedesktop/UDisks2'  (string)
      vendor = 'USB 2.0'  (string)
      product = 'DISK'  (string)
    "/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C" : property "DeviceNumber" does not exist
    "/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C" : property "Device" does not exist
      description = 'USB 2.0 DISK'  (string)
      Block.major = 8  (0x8)  (int)
      Block.minor = 17  (0x11)  (int)
      Block.device = '/dev/sdb1'  (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 = 1044953088  (0x3e48b800)  (qulonglong)

[/code]

and for the DVD USB

[code]

    linux-zd5t:/ # solid-hardware details /org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559
    udi = '/org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559'
    "/org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559" : property "Drive" does not exist
    "/org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559" : property "Table" does not exist
      parent = '/org/freedesktop/UDisks2'  (string)
      vendor = 'Kingston'  (string)
      product = 'DataTraveler SE9'  (string)
    "/org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559" : property "DeviceNumber" does not exist
    "/org/freedesktop/UDisks2/drives/Kingston_DataTraveler_SE9_10BF484E9A88CCA149252559" : property "Device" does not exist
      description = 'Kingston DataTraveler SE9'  (string)
      Block.major = 8  (0x8)  (int)
      Block.minor = 17  (0x11)  (int)
      Block.device = '/dev/sdb1'  (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 = 15512174592  (0x39c990000)  (qulonglong)

[/code]
Comment 1 Gerry Gavigan 2013-04-06 12:16:10 UTC
Was KDE 4.10.1 but the same situation persists with KDE 4.10.2
Comment 2 mapa 2013-05-25 14:11:10 UTC
I'm experiencing a similar issue while trying to mount a usb key containing the live iso of Mageia 3 (live kde 64bit [1] ). The key was written using the dd command  (using bs=1024).
The disk doesn't appear into the notification area at all.
I'm using KDE 4.10.2 provided by Mageia 3.
Attaching the usb key on Mageia 2 using KDE 4.8.3 the device is properly detected and shown into the notification area.
Note please that to be able to mount this key manually I have to use the following command:

mount -t iso9660 /dev/sdb /mnt

(note also that I mount the entire device, not only a partition).
Regards.

[1] http://www.mageia.org/de/downloads/get/?q=Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso
Comment 3 Gerry Gavigan 2013-06-05 14:55:59 UTC
Still there using KDE 4.10.4 - problem has wider ramifications

My nook e-reader is unusable

I have just tried to attach a "nook" e-reader which is treated the same way as a live USB stick (see above) it triggers Dolphin but is unreadable/unwriteable

It doesn't affect all USB devices - for example my Western Digital external hard drive is fine as as any VFAT formatted USB
Comment 4 Gerry Gavigan 2013-06-05 15:17:23 UTC
I've just upgraded libudisks2-0 from 2.0 to 2.1 from Factory unstable (Base:System)

nook e-reader now works
Comment 5 Gerry Gavigan 2013-08-27 09:10:59 UTC
Unfortunately with KDE 4.11 with a clean install on openSUSE 12.3, the fix from Factory no longer works
Comment 6 Gerry Gavigan 2013-11-22 17:10:02 UTC
Problem still there with KDE SC 4.11.3 (using openSUSE 13.1)
Comment 7 Stuart Morgan 2015-01-05 17:05:17 UTC
The same, or a very similar issue occurs for me with a 1TB external HDD (WDC_WD10JMVW_11AJGS3_WD_WX71EA3DDVU4). 

The ext-4 formatted drive can be mounted manually but KDE (dolphin, device notifier) just cannot see the drive. Attempting to mount it manually through solid-hardware gives the error "ERROR: {udi} does not have the interface StorageAccess"
Comment 8 Jonathan Riddell 2015-03-11 19:12:09 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid.
Comment 9 Gerry Gavigan 2015-03-11 19:21:11 UTC
On OpenSUSE 13.2 KDE 4.14.5 the ability to see live USB sticks is restored.  ISO USBs remain invisible but can be reached via YaST) I no longer have a NOOK so can't explore the other issues. 

I would propose closing this bug and seeing what we get on KF5 others might have different views