This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dolphin behaviour for USB sticks.

Tags: None
(comma "," separated)
gerryg
Registered Member
Posts
34
Karma
0
OS

Dolphin behaviour for USB sticks.

Fri Mar 22, 2013 2:39 pm
I'm not sure if this is a feature or a bug, or whether it's an openSUSE 12.3 issue. So this effectively a cross post, apologies.

I'm running KDE 4.10.1 on two machines, one with 12.2 and one with 12.3

On plugging in a live or ISO USB stick on 12.2, a menu option would appear in Dolphin "USB 2.0 DISK" in the list of storage; which would enable one to check the contents of the stick.

This option is not present in openSUSE 12.3 and Dolphin doesn't even see the ISO USB. Apart from minor version changes the underlying files seem to be installed.

I'm fairly sure I'm posting in the wrong forum but over on the openSUSE forums the response has been (reasonably) "what's your problem? use dd next time"

Well my problem is I quite like the "USB 2.0 DISK" option in Dolphin but it's not showing so I wonder if anyone here would help me?
here's the lsusb listing

Code: Select all

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


though it's only showing an erased partition of a 16 GB stick as indicated by gparted

unallocated unallocated 2.28 GiB
dev/sdb1 unknown 4.22 GiB (with flags: boot,hidden,type)
unallocated unallocated 10.22Gib

FWIW

Apologies again, and thank you in advance
User avatar
google01103
Manager
Posts
6668
Karma
25
i don't have a live or a usb iso stick but a regular usb stick shows up fine for me in 12.3, 4.10 - does a regular stick work for you?

does the live/iso work for a new user?

does the live/iso show in the device notifier widget?


OpenSuse Leap 42.1 x64, Plasma 5.x

gerryg
Registered Member
Posts
34
Karma
0
OS

Re: Dolphin behaviour for USB sticks.

Sat Mar 23, 2013 10:01 am
ordinary sticks are fine

Both the live and DVD stick trigger the notifier

- for the live stick the notifier suggests the usual three actions (including opening in Dolphin, but it doesn't work)
- for the DVD ISO stick it's blank
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please compare the output of "solid-hardware details <udi>" for each one of the devices you are mentioning.
You can get their UDI's when the device is connected by running "solid-hardware list".

Storage devices are usually shown as "/org/freedesktop/UDisks/devices/sdb" or similar.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
gerryg
Registered Member
Posts
34
Karma
0
OS

Re: Dolphin behaviour for USB sticks.

Wed Mar 27, 2013 11:08 am
bcooksley wrote:Please compare the output of "solid-hardware details <udi>" for each one of the devices you are mentioning.
You can get their UDI's when the device is connected by running "solid-hardware list".

Storage devices are usually shown as "/org/freedesktop/UDisks/devices/sdb" or similar.


for the live CD USB stick

Code: Select all
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sdb1'
udi = '/org/freedesktop/UDisks2/block_devices/sdb'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/drives/SAMSUNG_SSD_830_Series_S0Z3NEAC807234'
udi = '/org/freedesktop/UDisks2/drives/USB_2_2e0_DISK_C46CAE7B7662A97C'
udi = '/org/freedesktop/UDisks2/drives/HL_DT_STDVD_RAM_GSA_H22N'


and then

Code: Select all
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)


and for the DVD USB

Code: Select all
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)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Neither of these two drives appear to have a StorageVolume or StorageAccess interface, which is why the device notifier actions do not show up, or do not work properly.

This could be due to either issues in UDisks2, or due to bugs in the KDE UDisks2 interface. As UDisks2 is quite new, both options are quite possible.

Please file a bug report at bugs.kde.org against 'solid', and include information concerning both flash drives (capacity, brand, etc), as well as links to the images you flashed on to both drives, the method used to do so, and the above information from solid-hardware details. It would also likely assist the developer(s) if you mention which version of UDisks2 your system has. There is probably a "udisks2" command you can run to get this information.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
gerryg
Registered Member
Posts
34
Karma
0
OS


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]