LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-31-2015, 11:31 PM   #1
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
KDE Device Notifier not working with udisks(1)


I just built KDE 4.13, installed to /opt/kde, on my BLFS system (mostly 7.5), and the Device Notifier is not behaving as expected. No matter what sort of USB device I plug in, it just says "No Devices Available". This is an otherwise successful BLFS setup, and such devices always work in other desktop environments (e.g. Mate) and /dev/sdx exists for the device in question.

If I run "solid-hardware list details" I see output like the following:

Object::connect: No such signal org::freedesktop::UPower:: DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower:: DeviceRemoved(QDBusObjectPath)
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown"
"The name org.freedesktop.UDisks2 was not provided by any .service files"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown"
"The name org.freedesktop.UDisks2 was not provided by any .service files"

Is there a runtime dependency on UDisks2 now? I'm not using UDisks2 for many reasons and would rather not do so. (I assume a runtime dependency, because I compiled everything successfully without it; although I remember seeing UDisks2 curiously found during a configure stage at some point and that made me confused.) Is there any alternative here? I do have UDisks(1) installed though. Thanks in advance.
 
Old 02-01-2015, 09:45 AM   #2
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Original Poster
Rep: Reputation: 89
Apparently kdelibs builds udisks2 support by default, even when -DWITH_SOLID_UDISKS2=TRUE is not set. To build udisks(1) support, I consulted CMakeLists.txt in the parent directory of kdelibs at the section

############### Give the user the option to build the udisks2 solid backend instead of the udisks backend ###############
option(WITH_SOLID_UDISKS2 "Enable the udisks2 solid backend instead" "ON")

and changed "ON" to "OFF". Then I recompiled kdelibs, and the Device Manager now works as it should.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] udisks/KDE device notifier not working with custom kernel lems Slackware 2 01-07-2014 09:49 AM
Mount options for KDE device notifier lpwevers Linux - Desktop 2 02-07-2013 04:29 PM
[SOLVED] KDE 4.5.5 Device Notifier removable drive mounting error Geremia Linux - Newbie 3 11-27-2011 06:02 PM
Device Notifier Problems with KDE 4.xxx nickt1862 Linux - General 0 08-18-2009 06:01 PM
KDE 4 Device notifier disappears after clicking on show desktop or workspace applets Laodiceans Slackware 5 08-05-2009 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration