Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

HAL issues with KDE 3.5.4

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
39 posts
  • Previous
  • 1
  • 2
Author
Message
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Thu Sep 07, 2006 10:12 pm

Must be something "extra" causing issues for some people's systems.

I have never had most gnome components installed on my system. (ivman included)
I have no entries for any removeable devices in my /etc/fstab, have not created any HAL rules, everything is the default install and all devices seem to work perfect.

Code: Select all

emerge -pv hal dbus pmount kdelibs kdebase-kioslaves udev

These are the packages that would be merged, in order:

Calculating dependencies       ... done!
[ebuild   R   ] sys-apps/hal-0.5.7-r3  USE="acpi -crypt -debug -dmi -doc -pcmcia" 0 kB
[ebuild   R   ] sys-apps/dbus-0.61-r1  USE="X -debug -doc -gtk -mono python qt3" 0 kB
[ebuild   R   ] sys-apps/pmount-0.9.9  USE="-crypt" 0 kB
[ebuild   R   ] kde-base/kdelibs-3.5.4-r1  USE="acl alsa arts cups -debug doc -fam jpeg2k kdeenablefinal kdehiddenvisibility -kerberos -legacyssl -noutempter -openexr spell ssl tiff -xinerama -zeroconf" 0 kB [1]
[ebuild   R   ] kde-base/kdebase-kioslaves-3.5.4  USE="-arts -debug hal kdeenablefinal kdehiddenvisibility -ldap -openexr samba -xinerama" 0 kB
[ebuild   R   ] sys-fs/udev-087-r1  0 kB
Top
lxnay
Retired Dev
Retired Dev
Posts: 661
Joined: Fri Apr 09, 2004 10:25 am
Location: Italy
Contact:
Contact lxnay
Website

  • Quote

Post by lxnay » Fri Sep 08, 2006 11:00 pm

open:

Code: Select all

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
at line 74, change true to false.
Restart Hal & login again into KDE.

that's a gentoo bug that I am going to open tomorrow on bugzilla. I was talking with K. Ottens about that.
http://www.sabayon.org
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Fri Sep 08, 2006 11:43 pm

lxnay wrote:open:

Code: Select all

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
at line 74, change true to false.
Restart Hal & login again into KDE.

that's a gentoo bug that I am going to open tomorrow on bugzilla. I was talking with K. Ottens about that.
What exactly does the ignore.volume option do/mean?

And what is even more puzzling, if changing this to false works, why does having it set to true work for some of us?
Top
kmare
l33t
l33t
User avatar
Posts: 619
Joined: Sat Nov 20, 2004 8:28 pm
Location: Thessaloniki, Greece

  • Quote

Post by kmare » Sat Sep 09, 2006 3:12 am

lxnay wrote:open:

Code: Select all

/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
at line 74, change true to false.
Restart Hal & login again into KDE.

that's a gentoo bug that I am going to open tomorrow on bugzilla. I was talking with K. Ottens about that.
thanx!!! it worked great!!! finally!
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Top
vlow
n00b
n00b
User avatar
Posts: 67
Joined: Thu Jan 27, 2005 1:44 pm
Location: Munich, Germany
Contact:
Contact vlow
Website

  • Quote

Post by vlow » Sat Sep 09, 2006 5:39 pm

this still doen't work for me. my user is member of plugdev, i changed line 74, but still everytime i try to mount (as root) i get an error, telling me that

Code: Select all

"a security policy in place prevents this sender from sending this message to this receipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
whereas the error, when i try it as user, just gives me an "access denied". something i forgot ?
Top
kmare
l33t
l33t
User avatar
Posts: 619
Joined: Sat Nov 20, 2004 8:28 pm
Location: Thessaloniki, Greece

  • Quote

Post by kmare » Sat Sep 09, 2006 9:53 pm

I think that you should also add

Code: Select all

<allow send_destination="org.freedesktop.Hal"/> 
 <allow receive_sender="org.freedesktop.Hal"/>
in

Code: Select all

/etc/dbus-1/system.conf
in the policy section..
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Top
vlow
n00b
n00b
User avatar
Posts: 67
Joined: Thu Jan 27, 2005 1:44 pm
Location: Munich, Germany
Contact:
Contact vlow
Website

  • Quote

Post by vlow » Sat Sep 09, 2006 10:45 pm

yeah right. i did that. didn't change anything. any other suggestions ?
Top
vlow
n00b
n00b
User avatar
Posts: 67
Joined: Thu Jan 27, 2005 1:44 pm
Location: Munich, Germany
Contact:
Contact vlow
Website

  • Quote

Post by vlow » Sun Sep 10, 2006 5:22 pm

update: i deleted the concerned entries from /etc/fstab and everything works out great. however, i doubt that this is the way it's meant to be....
Top
claudio
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Sun Sep 11, 2005 4:57 pm
Location: Bern, Switzerland
Contact:
Contact claudio
Website

  • Quote

Post by claudio » Sun Sep 10, 2006 9:06 pm

I have followed the discussion and I really think this is a matter of the KDE user files (~/.kde/...). Why? I have installed two PCs with KDE 3.5.4 from an empty hard disk; everything has been compiled with USE="hal". The newer PC has no problems with the "Autorun" feature in KDE - while the other (older one) doesn't work (ivman mounts correctly, KDE-HAL is disabled). What's the difference? For the newer one, I used the user profile from KDE 3.4; the older PC didn't have any previous users on the system and has therefore the default config.

Is there a possibility to figure out why KDE puts the message out: "No support for HAL on this system" in the control center? All services are running (Kernel 2.6.17 - udevd, dbus, hald, hotplug, ivman) and working correctly - except KDE...

Note: kdebase-kioslaves is blocked by kdebase. I don't know how you guys have emerged this...

Thanx for any help.
Claudio
Top
Headrush
Watchman
Watchman
User avatar
Posts: 5597
Joined: Thu Nov 06, 2003 12:48 am
Location: Bizarro World

  • Quote

Post by Headrush » Mon Sep 11, 2006 12:41 am

claudio wrote:Note: kdebase-kioslaves is blocked by kdebase. I don't know how you guys have emerged this...

Thanx for any help.
Claudio
You have mixed split KDE ebuilds with the monolithic KDE ebuilds.
Top
Vlad.Sharp
Guru
Guru
User avatar
Posts: 337
Joined: Wed Dec 08, 2004 9:30 am
Location: Cambridgeshire, UK

  • Quote

Post by Vlad.Sharp » Sun Sep 17, 2006 7:41 pm

I'm extremely annoyed with HAL. I've tried every fix I could find (and certainly all that were suggested here), but still nothing - only "Feature only available with HAL".

My /etc/make.conf:

Code: Select all

CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j2"
LINGUAS="en_GB ru ja de"
USE="a52 aac acl acpi asf bash-completion bidi bzip2 cairo canna cdb
     cdparanoia cdr clamav dbus doc dv dvd dvdr dvdread exif fbcon ffmpeg fftw
     flac ftp gcj gd geoip glitz glut gmp gphoto2 hal icc ieee1394 imagemagick
     innodb java jikes jpeg2k kdeenablefinal memlimit mhash mime mmx mono
     mysql mysqli nptlonly nsplugin odbc openal pdf php plotutils posix
     postgres ppds ruby samba sharedmem simplexml smartcard sockets socks5
     sqlite sqlite3 sse sse2 svg tetex threads tidy tiff unicode usb vcd wifi
     win32codecs xcomposite xine xinerama xml2 xosd xpm xprint xscreensaver
     xvid kdehiddenvisibility opengl -mozilla -seamonkey firefox -arts -eds
     gnome X png gtk xml alsa encode kde mp3 truetype apache2 mad xmms vorbis
     jpeg gif spell gstreamer ogg esd sdl qt3 qt4 quicktime mpeg xv imlib
     foomaticdb apm mikmod gconf crypt unicode immqt-bc nls cjk oss aalib dts
     dxr3 theora network xvmc fuse"

FEATURES="ccache"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"

PORTDIR_OVERLAY="/usr/local/portage" # /usr/local/overlays/axxo"
#PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/portage/local/layman/xgl-testing"

VIDEO_CARDS="vmware vesa nvidia"
INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse"
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.69 http://ftp.gentoo.or.kr/ ftp://ftp.nyx.hu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
source /usr/portage/local/layman/make.conf
My emerge --info

Code: Select all

Portage 2.1.2_pre1 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 15:30:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1, 2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.69 http://ftp.gentoo.or.kr/ ftp://ftp.nyx.hu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en_GB ru ja de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/science /usr/portage/local/layman/java-experimental /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-gcj-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm asf bash-completion berkdb bidi bitmap-fonts bzip2 cairo canna cdb cdparanoia cdr cjk clamav cli crypt cups dbus dlloader doc dri dts dv dvd dvdr dvdread dxr3 elibc_glibc encode esd exif fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp fuse gcj gconf gd gdbm geoip gif glitz glut gmp gnome gphoto2 gpm gstreamer gtk hal icc ieee1394 imagemagick imlib immqt-bc innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_de linguas_en_GB linguas_ja linguas_ru mad memlimit mhash mikmod mime mmx mono mp3 mpeg mysql mysqli ncurses network nls nptl nptlonly nsplugin odbc ogg openal opengl oss pam pcre pdf perl php plotutils png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session sharedmem simplexml smartcard sockets socks5 spell spl sqlite sqlite3 sse sse2 ssl svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia video_cards_vesa video_cards_vmware vorbis wifi win32codecs xcomposite xine xinerama xml xml2 xmms xorg xosd xpm xprint xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Should I do an emerge -e kde-meta just for the fun of making sure everything works?
Top
Vlad.Sharp
Guru
Guru
User avatar
Posts: 337
Joined: Wed Dec 08, 2004 9:30 am
Location: Cambridgeshire, UK

Ah - bea tutiful!

  • Quote

Post by Vlad.Sharp » Mon Sep 18, 2006 9:01 pm

I've got everything back again (although HAL seems to be behaving strangely - i.e. it uses fstab first udev later and doesn't guess the filesystem type, but...)

Drive labels, USB Stick insertion - everything is working...

All thanks to: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377689
<!-- You can change this to a more suitable user, or make per-group -->
<policy group="powerdev">
<allow
send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
</policy>

<!-- Allow plugdev members to mount volumes -->
<policy group="plugdev">
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
Which should be added to /etc/dbus-1/system.conf
Top
DefconAlpha
Apprentice
Apprentice
User avatar
Posts: 151
Joined: Tue Feb 25, 2003 9:18 pm
Location: Alabama
Contact:
Contact DefconAlpha
Website

hal problems

  • Quote

Post by DefconAlpha » Wed Sep 27, 2006 2:29 am

hi guys, i just experienced a lot of this on my new black macbook. i just installed a fresh copy of kdebase-meta and it nabbed hal/dbus and all of that other stuff. i have tried a variety of things to get this thing to mount a disc but i kept getting that cannot send a message error from DBus.

But now it works :)

With Hal :)

Here's how i did it.

First you gotta be a member of the plugdev group.

Now go find the policy section for the plugdev group in /etc/dbus-1/system.d/hal.conf

Add these three lines:
<code>
<allow send_destination="org.freedesktop.Hal"/>
<allow receive_sender="org.freedesktop.Hal"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Mount"/>
</code>

Although, really, i could see it just being the last line. But mine works with all three. Now here's the catcher part. I was still getting the faithful 'Permissions Denied' error even though i had an entry in /etc/fstab for /mnt/dvdrw to mount with the user option. I commented it out and wham! it started mounting. After a bit more fiddling (because i still want to be able to mount the disc via the CLI) i learned that HAL will still mount the drive if the device is _exactly_ the same as the device that KDE is trying to mount. i changed /dev/dvdrw to /dev/hda and now it works wonderfully.

Hope this helps
In the end, the love you get is equal to the love you make
--John Lennon & Paul McCartney (The End - Abbey Road,
Top
F1r31c3r
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Fri Aug 31, 2007 1:48 pm
Location: UK
Contact:
Contact F1r31c3r
Website

How i fixed it GUI way

  • Quote

Post by F1r31c3r » Mon Jul 26, 2010 7:43 pm

Hey all

I was having this issue for ages and thought bugger it ill fix it later i put it off so much today i threw my top and got it sorted lol.

Easy fix for them who like point and click with the mouse saves allot of files mods etc, anyway enough rambling here is the way i fixed it:


First Open a root terminal:

Type in the terminal:
systemsettings
Then navigate to the advanced tab i am sure most of you are familiar with kde system settings its just in this case you need it in root. Note*** you can also back out/logout and login as root and load this GUI as a root user but hey i use it through a root terminal.

Anyway navigate the advanced tab and find at the bottom PolicyKit Authorisations.

One you got that expand:
org.freedesktop.org
->Hal
->storage
Now you have that look for it, its there says
Mount drives removable.. org.freedesktop.hal.storage.mount-removable
See it now click on it and in the right hand pain change the implicit authorizations to:
Anyone = Yes
And hit the MODIFY button really that button needs changing to something more meaningful as you think it is to open a Modify dialog and not a OK/Save settings button lol

Do the same for eject media and any others, yet i advise only do this for removable media mainly Read Only helps keep things more secure that way.

Anyway thats it make sure you hit the Modify button before you navigate away from each element. :P :lol: :P .
A WikI, A collection of mass misinformation based on opinion and manipulation by a deception of freedom.
If we know the truth, then we should be free from deception (John 8:42-47 )
Top
Post Reply

39 posts
  • Previous
  • 1
  • 2

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic