To hal or not to hal?

the new ubuntu 10.04 claims "Lucid Alpha 2 sports full removal of the hal  package, making Ubuntu faster to boot and faster to resume from suspend.   "
so...is it necessary to have hal?

There's lots of discussion here:
http://bbs.archlinux.org/viewtopic.php?id=93958

Similar Messages

  • External USB HD does not work with HAL:

    External USB HD does not work with HAL:
    From the last 10 days the HAL auto-mount with ntfs-3g file system of my external hard drive  does not woks.
    But the manual mount procedure with the command mount -t ntfs-3g /dev/sdb* /mnt/XYZ works.
    I've followed the instructions in the wiki: http://wiki.archlinux.org/index.php/HAL and the system has worked up to the last kernel or HAL update.
    My fat32 usb-stick works without any problem.
    If I try to open the device with KDE it appears an error popup wit this message:
    TODO: have to rethink extra options
    Error: kio_media_mount_helper
    The log from the kernel.log is
    Nov 6 22:03:16 myhost usb 5-1: new high speed USB device using ehci_hcd and address 4
    Nov 6 22:03:16 myhost usb 5-1: configuration #1 chosen from 1 choice
    Nov 6 22:03:17 myhost Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    Nov 6 22:03:17 myhost ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    Nov 6 22:03:17 myhost Initializing USB Mass Storage driver...
    Nov 6 22:03:17 myhost scsi6 : SCSI emulation for USB Mass Storage devices
    Nov 6 22:03:17 myhost usb-storage: device found at 4
    Nov 6 22:03:17 myhost usb-storage: waiting for device to settle before scanning
    Nov 6 22:03:17 myhost usbcore: registered new interface driver usb-storage
    Nov 6 22:03:17 myhost USB Mass Storage support registered.
    Nov 6 22:03:22 myhost scsi 6:0:0:0: Direct-Access WDC WD32 00JB-00KFA0 0811 PQ: 0 ANSI: 0
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sdb: sdb1
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Attached SCSI disk
    Nov 6 22:03:22 myhost sd 6:0:0:0: Attached scsi generic sg2 type 0
    Nov 6 22:03:22 myhost usb-storage: device scan complete
    and the error.log is
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Nov 6 22:03:22 myhost sd 6:0:0:0: [sdb] Assuming drive cache: write through
    Do you have some idea ....
    Bye.

    I have done the following:
    Downloaded the patched hal version.
    used makepkg in /abs/local/trunk/ to create a pkg for pacman
    used sudo pacman -U pkgname to install it.
    used sudo nano /etc/hal/fdi/policy/preferences.fdi to create the fdi file with the following content:
    saved the file and removed my ntfs entryes from fstab and rebooted. and still there is no automount off ntfs partitions.
    have i done something wrong?
    br fjodork
    WARNING: what follows is a guide of what did work for me, I'm still in an early stage of learning linux, so please correct me if anything of what follows is wrong/dangerous/stupid. As I said, this worked for me, it's not pretty, since I was learning each step on the fly and I'm sure there are better ways to do this.
    So fjodork, you seem to have done the the necessary steps, though i couldn't get it to work until i first removed hal without dependencies
    pacman -Rd hal
    it will give you some warning about the dependencies, ignore  it since we are reinstalling hal in a few steps.
    First i tried to follow Raymano's link, obviously it showed me nothing in the browser so I thought it might be a broken link.
    So I downloaded the source tarball from here http://hal.freedesktop.org/releases/hal-0.5.10.tar.gz
    unpacked it changed the /tools/hal-storage-mount.c as per Milfadoodle's instructions.
    at first I tried to compile directly from source, the process would finish without a glitch though after reboot nothing changed, as if hal weren't
    installed, i guess there were issues with paths. anyway read on
    Then repacked the source in tarball, copied it to /var/abs/extra/system/hal and modified the PKGBUILD as follows
    makedepends=('pkgconfig' 'gperf')
    options=('!libtool')
    install=hal.install
    source=(${pkgname}-${pkgver}.tar.gz #removed url so makepkg looks in the current directory for the tarball
        hal
        hal-policy.patch
        cryptsetup_location.patch
        hal-0.5.9-hide-diagnostic.patch
        ntfs3g-valid-options.patch)
    md5sums=('6641c30a27c00485c6accac5110ff911' # replace with md5sum of your package's sourceball (run md5sum filename)
             '882f67668cb14a0a9e4a27ef22278027'
             '5ba8b610aa9763a5f42b9f7cbd7a86ad'
    then makepkg (i had to add --asroot, don't ask why
    and finally pacman -U hal-0.5.10-1-i686.pkg
    another reboot and everything worked without a glitch!:D (yeah i know i still haven't got rid of the reboot mentality )
    I have also put the policy files as per the wiki instructions.
    PS: I know this is a dirty way to getting things done but as i said, I'm just starting
    If anyone could comment/correct/explain this post I'd be more than happy, the automount issue was bothering me for about a month now (you'll say why do I need ntfs in the first place? well, I only recently switched for Linux as my primary OS, these are some relics of the M$ era

  • Dbus/Hal automount not working in KDE

    Hi
    I have set portmap dbus hal in rc.conf.
    In Gnome automount works great but in KDE automount does not work and I don't know why.
    Can someone please help?
    All I want to have is when I insert cd,dvd,usbstick to have them automount.

    Thank you for your reply.
    I am looking forward to your next release...

  • [CLOSED] CD/DVDs not recognized (hal-less KDE)

    Hello everyone,
    after the last system upgrade last week CDs and DVDs are not recognized when I insert them in the drive.
    I'm running hal-less KDE 4.6 with udisks installed.
    I removed hal after the upgrade, however the drive could not recognize the disks even when hal was running.
    I searched the forum but haven't found any discussion reporting the very same problem.
    Can anyone help me to debug this?
    Thanks!
    Last edited by elnigno (2011-02-22 12:43:43)

    I had the same / similar problem. Just that given that I build my own kernel I thought this was what was causing it. That's why I rebuilded the kernel and enabled ISO and UDF modules in Filesystems. If you're using the standard kernel I have no idea what could be the problem.

  • HAL not updating change in properties

    Hi John,
    When we tried to push members changing their property HAL is not updating the changed property in hyperion
    Ex-- If i have member Account with TB LAst as its property in the source and using HAL we pushed this member to Hyperion. Now i changed the property from TB Last to None in the source and used HAl to push the member. But it is still showing TB last in the hierarchy.
    Please suggest
    Thanks,
    Sravan

    Which HAL adapter are you using, Essbase or Planning? Where are you looking for the updated property, in Essbase or Planning?
    If you're not already, what you should be doing is use the Planning adapter to update the property in Planning, and then refresh Essbase from Planning. When you've done those two things, and assuming there haven't been any errors in the HAL integration, you should see the updated property in both Essbase and Planning.
    Of course, you have to run the HAL integration as a user with sufficient privileges in the Planning application to make metadata changes.

  • Hal and dbus not starting

    They are both in daemons...and for /etc/rc.d/hal restart it faisl same with dbus and with using 'start' instead of 'restart'.
    /usr/sbin/hald --daemon=no --verbose=yes gives me this:
    /usr/sbin/hald --daemon=no --verbose=yes
    14:31:01.105 [i] hald.c:532: hal 0.5.9
    14:31:01.106 [i] hald.c:597: Will not daemonize
    14:31:01.106 [i] hald_dbus.c:4806: local server is listening at unix:abstract=/var/run/hald/dbus-JQyZPmcfA6,guid=4867547682ff4e78d054ad0046608205
    Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
    14:31:01.112 [i] hald_runner.c:299: Runner has pid 5829
    14:31:01.113 [W] ci-tracker.c:200: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name 'org.freedesktop.DBus': no such name
    14:31:01.116 [E] hald_dbus.c:4461: Cannot get caller info for org.freedesktop.DBus
    14:31:01.116 [i] hald_runner.c:180: runner connection is 0x8091888
    14:31:01.117 [i] mmap_cache.c:251: cache mtime is 1180561064
    Error binding udev_event socket: Address already in use
    And when trying to start dbus with /etc/rc.d/dbus restart i get this when it fails:
    Failed to start message bus: Failed to bind socket "/var/run/dbus/system_bus_socket": Address already in use
    Any suggestions?

    If you think it's a common problem how about filing a bug report.  Would likely help more people than just posting in the forum.  Just a suggestion.

  • HAL is not automounting

    I have hal in my daemons array in rc.conf and it starts up properly but when I connect a device to my system, HAL does not automount it. what is the problem?

    chicha wrote:
    HAL is an Hardware Abstraction Layer. It communicates hardware and kernel events to the applications using D-BUS.
    But it does not mount anything for you. The mounting is under your Desktop Environment responsibility. You have to enable the "automount" functionality in the Desktop Environment you use.
    As long as I do not know E17 I cannot help you.
    Did you search for "E17 automounting" with you favorite web search engine ? In this forum ?
    I solved it with autofs, it isn't much elegant but it works to some degree. So i'll make this my goal for the time, i have more free time.

  • Windows could not start because the following file is missing or corrupt. Windows root\system32\hal.dll.

    Windows could not start because the following file is missing or corrupt. Windows root\system32\hal.dll.  anyone can help

    Have a read here http://support.microsoft.com/kb/314477/en-us
    Maybe it helps
    Stefan

  • Hal settings for synaptic/keyboard not respected anymore (Gnome2.28)

    I have a 11-x11-synaptics.fdi config-file with my synaptics settings and a 10-keymap.fdi file with my keyboard layout set.
    After upgrading to Gnome 2.28 yesterday, these settings are not respected anymore. I get US layout, and a touchpad where tapping and RTCornerButton and RBCornerButton does not work. Setting tapping manually in Gnomes mouse settings gui makes it work, but only for tapping.
    The strange thing is that the same thing happens when logging in to lxde. As I can't see any x.org-packages that have been installed, this confuses me. Could it be gdm related? Has any other things mouse- and keybpard-related been updated just now?
    I updated on the 09.10, and I'm pretty sure everything worked fine (didn't use my laptop much the last couple of days). However, when I updated again the 13.10, yesterday, mouse and keyboard settings broke.
    This seems sort of related to this post, but he mentions only keyboard layout, and mine has surely worked since then.
    A bug? A Feature? Me being stupid?
    I have looked trough the pacman.log/warnings, I promise!

    I'm also having problem with Gnome not respecting my Hal settings. After enabling tapping in gnome-mouse-properties it mostly works, but for some reason TapButton2 and TapButton3 are reversed, ie. TapButton2 = 3 and TapButton3 = 2. I can't find any way of configuring the TapButtons in Gnome either, which is really stupid.
    I guess I can somehow make sure that synclient sets these correctly, but is there no way of telling gnome to either set the corrent values or to not touch the settings at all? Not running gnome-settings-daemon is not an option for me, since it sets a lot of other things that I want.

  • Hal 0.5.14-1 does not mount some usb drives correctly

    Hi folks
    When I try to mount a USB hard disk (with KDE 4.3.4), it tries to mount it at some wrong path used by another USB hard disk.  Or I have to mount it as root, or even as root it still doesn't work right... pfff I'm really disappointed by this showstopper...
    For example, I own a LaCie hard disk (/media/disk), a Iomega one (/media/IOMEGA) and a LaCie mobile disk (no power cable, /media/MobileDisk):
    - When I try to mount the Iomega one, it works fine, as normal user;
    - When I try to mount the LaCie one, it fails, independently of the fact that the Iomega drive is mounted or not, with the following message:
    Unable to run the command specified. The file or folder file:///media/IOMEGA does not exist.
    Looks like it wants to mount the LaCie one where the Iomega one is/should be mounted...
    - When I connect the LaCie hard disk, the directory /media/MobileDisk
    is created, instead of /media/disk
    , and when as root I try to manually mount the hard disk, it says:
    ntfs-3g: Failed to access volume '/dev/sdb1': No such file or directory
    Maybe there's some erroneous entry in some cache or data used by hal/dbus?  I don't know how they work and how to activate their logging systems and then where to find the logs...
    Maybe there's a way to simply completely wipe out hal/dbus/consolekit/policykit/... configuration data without having to reinstall the complete system?
    I have:
      hal 0.5.14-1
      dbus-core 1.2.16-1
      dbus 1.2.16-1
      dbus-glib 0.82-2
      dbus-python 0.83.0-2
    I start KDM using /etc/inittab, as described in the wiki.  I've put "/usr/sbin/console-kit-daemon" in /etc/rc.local and have modified /etc/inittab so that it starts kdm with: "x:5:respawn:/usr/bin/ck-launch-session /usr/bin/kdm -nodaemon"! 
    Is this the right setup, equivalent to the one with xinitrc?
    The same setup works fine on my laptop.
    I've got the impression that hal/dbus/... confounds my drives and does not know where to mount them...
    Downgrading to hal 0.5.13-idontrememberwhatcifer does not solve the issue, the system is kept up to date with "pacman -Syu" about once a day and it still doesn't work...
    Some clue?
    Thanks and happy new year

    OK something happened that I can't explain...
    I just controlled about all files related to hal/dbus/mounting etc and, I don't know why, all devices I've mounted had a corresponding line in fstab... really weird.
    I juste deleted those lines, and, well, mounting seems to work again
    So this issue is solved
    And finally Arch Linux is again my favorite distro
    Last edited by yannick555 (2010-01-03 14:37:55)

  • Hal not starting

    hal will not start, it's in my daemons to start automaticaly but it isnt. And it won't start manualy either. I had a kernel update to day when I ran pacman -Syu...perhaps this is the culprit? I rebooted and when I came back my SD cards or camera wouldnt read. So I checked dbus, which is fine...but when I try to 'restart' or 'start' hal...it says fail. Does anyone know what might be the problem?

    actually my hal wont start up either: here is my output from the command posted above:
    [issue@kiwi ~]$ su
    Password:
    [root@kiwi issue]# /usr/sbin/hald --daemon=no --verbose=yes
    11:45:44.180 [i] hald.c:532: hal 0.5.9
    11:45:44.181 [i] hald.c:597: Will not daemonize
    11:45:44.181 [i] hald_dbus.c:4806: local server is listening at unix:abstract=/var/run/hald/dbus-aDctstWO8y,guid=6f041cbe1d98bd9a82f26200465ac0e8
    11:45:44.184 [i] hald_runner.c:299: Runner has pid 5677
    11:45:44.185 [W] ci-tracker.c:200: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name 'org.freedesktop.DBus': no such name
    11:45:44.186 [E] hald_dbus.c:4461: Cannot get caller info for org.freedesktop.DBus
    Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
    11:45:44.186 [i] hald_runner.c:180: runner connection is 0x80914d0
    11:45:44.187 [i] mmap_cache.c:251: cache mtime is 1178365286
    Error binding udev_event socket: Address already in use
    [root@kiwi issue]#

  • [SOLVED]hal and network not running on boot

    My hal and network are not running on boot.  I have to manually start them once I login.  I have put them as Daemons in rc.conf and it still does not seem to help.
    Thanks!
    Last edited by Eman2005 (2010-02-06 00:42:29)

    I figured out what was wrong, the D in Daemons for the rc.conf file was a lowercase d for whatever reason.  But now I have a bigger problem, I seem to have lost the files for my sound card.  I used to have the soundcard listed in alsamixer.  Now it is not there.  when I do a
    $ cat /proc/asound/cards
    it is not listed, although it used to.  however I can still
    modprobe snd-emu10k1
    It is the Creative Labs SB Live! EMU10k1  I have tried to reinstall alsa.  I reinstalled alsa-utils and alsa-oss, but I am not sure how to uninstall alsa-lib because of dependencies.  PLEASE HELP.

  • Hal not automounting and ejecting in kdemod

    Hi,
    I did a fresh install of Arch and kdemod and it seems that hal doesnt automount devices.I cant even eject usb devices. I am part of the storage and optical group but it still doesnt work.I tried ivamn and then automountig works properly but then i cant eject "Safely remove."= What should I do to fix this?

    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    /dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
    /dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
    /dev/sda1 swap swap defaults 0 0
    /dev/sda3 / ext3 defaults 0 1

  • Is it possible not to use hal?

    Hi!
    I hear for some time that hal is going to be deprecated.
    I'm now installing another arch system and I thought that it can be a good opportunity to use the new methods of doing things.
    I wonder, is it possible to use the *kit stuff and udev and leave hal outside and still run xorg without an xorg.conf?
    If it's possible, is there any guide present?
    Thanks.

    SoleSoul wrote:Hi!
    I hear for some time that hal is going to be deprecated.
    I'm now installing another arch system and I thought that it can be a good opportunity to use the new methods of doing things.
    I wonder, is it possible to use the *kit stuff and udev and leave hal outside and still run xorg without an xorg.conf?
    If it's possible, is there any guide present?
    Thanks.
    Hi,
    yesterday i have found an patch to lets building xorg-server with udev instead of hal/dbus for detecting input devices. i have taken an quick look in this  but i cant get it work. i dont know where the patch comes from, or if this will be included in the next time. this patch can be found for minimyth, an small mediacenter distribution.
    look here:
    http://code.google.com/p/minimyth/source/detail?r=5787
    http://code.google.com/p/minimyth/sourc … 799&r=5799
    it would be nice if someone can test this to find out if this is working
    (i am write my own distro from scratch and dont use Archlinux but this is an "general feature")
    greetings
    Stephan
                  ### OpenELEC.tv ###
    The free and open Mediacenter Distribution 4 you
                 http://www.openelec.tv

  • Notification-daemon-xfce not working with hal

    Hi,
    I am using xfce-notification-daemon-svn from community and have dbus and hal running.
    Now when i run notify-send "test" everything is fine and the notification appears.
    But in Thunar i don't get any notifications (eg. when unmounting a device).
    I looked into messages.log / daemons.log / errors.log and there was no error regarding dbus, hal or notification-daemon.
    PS: I am running Arch64.
    Does someone have an idea?

    It is an Arch64 problem -- I just filed a bug report about this: http://bugs.archlinux.org/task/9893?str … &closedto=
    Simple solution seems to be to rebuild exo package using ABS.

Maybe you are looking for

  • Total variances through IR

    Hi experts, Could some one explain me when  the 'Total variances through IR' are generated? We have a case of a PO in Foreign currency for quantity of 1. This PO was invoiced before being received. When received, the GR  value does not match the invo

  • To add Cover page in SAP Script if pages are more than 10.

    Hello Experts, I want to print a Cover page first if and only if number of pages exceeds 10 in SAP Script. Cover Page should be the first page and then the remaiing pages.

  • In Pages (iPad) how do I edit text in a table?

    I made a Table in Pages.  I put text on each cell of the table.  One of the cells has the following text: "The Ukraine is an independent nation, a former client state of the Soviet Union, which is struggling with the decision of whether to join the E

  • Doc for Scrambling

    Hi,   We are going to do our  HR Scrambling by TDMS. Hence could you please share the documents to define scrambling rules and how to add those rules to HCM for PD & PA Package. Afcourse we already have some of the links and videos which was shared b

  • Option to insert layer greyed out dreamweaver CSS4

    Hello, I installed dreamweaver CSS4 and the option to insert a later is greyed out. I previously used dreamweaver MX 2004 to create my site. Is there a new way to insert layers? Thanks Andrea