Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146913 - HAL 0.5.7.1 and KDE 3.5.4 media devices not work [SOLUTION]
Summary: HAL 0.5.7.1 and KDE 3.5.4 media devices not work [SOLUTION]
Status: RESOLVED DUPLICATE of bug 146910
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 01:10 UTC by Fabio Erculiani
Modified: 2006-09-09 01:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani 2006-09-09 01:10:50 UTC
Since I've upgraded to KDE 3.5.4, the media devices handling didn't work completely. I was only able to see removable media under media:/ kioslave. Yesterday I was talking with Kevin Ottens about that and I've found, thanks to his help, that's a sort of policy misconfiguration in:

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

code:

      <!-- Here follow volumes we specifically want to ignore - it is the -->
      <!-- responsibility of software higher in the stack (e.g. gnome-vfs) -->
      <!-- amd mount programs (e.g. Mount() on HAL) to respect volume.ignore -->
      <merge key="volume.ignore" type="bool">false</merge>
      <match key="@block.storage_device:storage.hotpluggable" bool="false">
        <match key="@block.storage_device:storage.removable" bool="false">
          <merge key="volume.ignore" type="bool">true</merge> 

I have changed the last line above from "true" to "false". Restarted hald and kded, and magically the partitions show up.

K. Ottens replied with:
"I'd say it's a bug because of a wild patch applied without thinking about the
consequences. ;-)
For reference latest unpatched hal from fd.o repository doesn't have this
rule... it really looks your distro devels made something wrong while
patching this file."

It worked with KDE <=3.5.3 because of a bug in it, but this bug has been fixed in KDE 3.5.4.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-09 01:54:23 UTC

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