Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364649 - kde-base/solid: [MassStorageDeviceHandler] has empty uuid
Summary: kde-base/solid: [MassStorageDeviceHandler] has empty uuid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 11:39 UTC by Igor Poboiko
Modified: 2011-08-30 14:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cave info sys-fs/udisks (log,21.96 KB, text/plain)
2011-04-24 11:39 UTC, Igor Poboiko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Poboiko 2011-04-24 11:39:12 UTC
When I plug my IRiver LPlayer, it appears in UDisks DBus interface as /org/freedesktop/UDisks/devices/sdc. It has property "IdUUID" which should return UUID of the device. But instead of returning UUID it returns just an empty string.

This leads to the fact that it has empty UUID in Solid in KDE, and this leads to the fact that Amarok can't use it as external media device (it shows an '[MassStorageDeviceHandler] has empty uuid' error)

Reproducible: Always

Steps to Reproduce:
1. Plug IRiver LPlayer to USB.
2. Run "qdbusviewer"
3. Open "org.freedesktop.UDisks" interface in "System Bus".
4. Check property "IdUUID" of /org/freedesktop/UDisks/devices/DEVICE_ID (where DEVICE_ID is the id of your player in UDisks).
Actual Results:  
It returns an empty string.

Expected Results:  
It should return some UUID.
Comment 1 Igor Poboiko 2011-04-24 11:39:50 UTC
Created attachment 270997 [details]
cave info sys-fs/udisks
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-04-24 12:28:24 UTC
That's what I get for my main hdd (empty uuid), only partitions have uuid. Same as for cdrom with no disc in it (empty uuid).
Try creating a partition for your sdc first? :)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-04-24 12:45:08 UTC
I bet you won't get a uuid even with `blkid /dev/sdc`
Comment 4 Igor Poboiko 2011-04-24 13:32:07 UTC
Yep, you're right, it shows only LABEL and TYPE. But this device doesn't have partition table, and all data is stored on /dev/sdc. And I don't want to create partition table with 1 partition in order to don't break anything (I don't know how the internal firmware will react on it; I guess, it should work, but I don't want to experiment).

So, if you're right and this device shouldn't have a UUID, whose bug is it? UDisks? Solid? Amarok?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-04-25 06:35:31 UTC
Propably amarok, or more likely solid shouldn't be expecting a uuid... Reassigning to KDE maintainers
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-06-13 11:56:10 UTC
I'd suggest you file an upstream bug against amarok. It may not be an amarok problem, but then these guys will know the codepaths better and be able to trace it to its origin.
Comment 7 Igor Poboiko 2011-06-18 12:21:17 UTC
Done. Link is https://bugs.kde.org/show_bug.cgi?id=275978. I guess this one should be 'RESOLVED' as 'UPSTREAM' then?
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-08-06 21:12:14 UTC
(In reply to comment #7)
> Done. Link is https://bugs.kde.org/show_bug.cgi?id=275978. I guess this one
> should be 'RESOLVED' as 'UPSTREAM' then?

We'll keep it open for tracking.
Comment 9 Igor Poboiko 2011-08-30 14:03:36 UTC
Looks like this bug disappeared in Amarok 2.4.3. I reported about it to upstream and closed upstream bug. You can close this too.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-08-30 14:26:30 UTC
(In reply to comment #9)
> Looks like this bug disappeared in Amarok 2.4.3. I reported about it to
> upstream and closed upstream bug. You can close this too.

Cheers! :)