You are not logged in.

#1 2008-01-26 13:47:31

piotr
Member
Registered: 2008-01-26
Posts: 58

{SOLVED} problem with HAL

Hi,
Im new to Arch Linux. So far everything was working perfect, but I have problem with HAL. It always failed to initiate and since I have installed KDEmod, I cannot mount any devices. I always get the message:

Feature only available with HAL. Hal is installed and in Gnome and XFCE4 I can mount my USB Flash drive. Now, in KDEmod i can't. I tried the instructions about HAL, but it does not work.

Is there any solution to that or I will have to remove KDEmod?

Thanks
Piotr

Last edited by piotr (2008-02-07 01:08:07)

Offline

#2 2008-01-26 14:17:10

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi again,
I try the command /etc/rc.d/hal restart but it always gives the message FAIL.
But, when I mounted manually my usb with mount /dev/sdb1 it is working. What is the problem then?

Offline

#3 2008-01-26 14:29:09

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: {SOLVED} problem with HAL

Try stopping dbus first and then restarting hal (hal tries to start dbus first.)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#4 2008-01-26 14:51:27

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi,
I did as you said. I used /etc/rc.d/dbus stop and it was okay. But, when I did /etc/rc.d/hal start and /etc/rc.d/hal restart I get FAIL again.

Offline

#5 2008-01-26 14:54:06

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

It is very strange, because amarok can open CD's with music and i can listen to it. But, I cant mount cdrom because of the HAL problem.

Offline

#6 2008-01-26 16:27:19

eldarion
Member
From: Santarém - Portugal
Registered: 2006-08-01
Posts: 71

Re: {SOLVED} problem with HAL

Please, post your DEAMONS array.

And, have you disabled some services in kcontrol->KDE components->services ?

Offline

#7 2008-01-28 02:02:07

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi,
Im posting here my daemons:

DAEMONS=(@syslog-ng !network dhcbd networkmanager firestarter netfs sshd crond $crond portmap fam hal !avahi-daemon samba cups stbd alsa kdm)
dbus_enable="YES"
polkitd_enable="YES"
hald_enable="YES"

Maybe there is something wrong here. Hope this will help.
Piotr

Offline

#8 2008-01-28 15:34:33

eldarion
Member
From: Santarém - Portugal
Registered: 2006-08-01
Posts: 71

Re: {SOLVED} problem with HAL

Do you really need to add "portmap" and "fam" to your DEAMONS array? I have kdemod and don't need them, just hal.

Try removing portmap and fam from your DEAMONS array. Disable dbus_enable="YES" and hald_enable="YES" too.

See what happens.

Offline

#9 2008-01-28 16:19:07

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: {SOLVED} problem with HAL

Try this:

1 - Comment out any line on your /etc/fstab that includes "cdrom" or "dvd"
2 - Start hal and fam on your daemons list as soon as possible (e.g., after syslog and network)
3 - Reboot
4 - Check if HAL started successfully on the boot
5 - You should be using GNOME with "gnome-volume-manager" running on session login, or KDE. I don't know how automouting is handled with other configurations, like not using a desktop environment (e.g., using only fluxbox or something like that)

Offline

#10 2008-01-29 12:54:46

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Dear eldarion and Freakcode,
I have tried your ideas and it does not work under KDEmod. "Features not available with HAL" and HAL fails at boot. However, i can mount flash and dvd drive manually with mount command. So, I guess, there is all that can be done for a moment. It seems that I am not the only one having this problem. Thanks anyway.
Piotr

Offline

#11 2008-01-29 14:46:34

TontonBizar
Member
Registered: 2008-01-23
Posts: 14

Re: {SOLVED} problem with HAL

I had the same problem on my Fujitsu-Siemens Lifebook C1410 (laptop) : it was solved when I found the Bug ID 9076. There is a PKGBUILD there which works perfectly.

Offline

#12 2008-02-01 08:34:40

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi, TontonBizar,
could you give me more info about this bug? Where is it?In which package? I also have Fujitsu laptop S6000. Perhaps, this can also work for me. Thanks

Offline

#13 2008-02-01 09:15:47

veek
Member
Registered: 2006-03-10
Posts: 167

Re: {SOLVED} problem with HAL

You can see the bug by clicking on the "Bugs" tab in the Arch website menu, then search for the Bug ID.
The PKGBUILD is in the comments.

Offline

#14 2008-02-01 11:44:06

TontonBizar
Member
Registered: 2008-01-23
Posts: 14

Re: {SOLVED} problem with HAL

Thanks for been faster than me.

Offline

#15 2008-02-02 07:57:22

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi,
Im still with the same problem. I looked at the bug, but I cant solve the problem without help. I downloaded the package hal-0.5.10. untared it and used ./configure, but then I get this message:
"Note: Remember to create user haldaemon and group haldaemon before make install"
And I do not know what to do next.
Finally, what should be done with the PKGBUILD from the BUG 9076? Should it replace some files within my system on Arch? It seems I have so many things to learn about Linux, but I would appreciate more detailed explanation. Thanks a lot.

Last edited by piotr (2008-02-04 07:52:13)

Offline

#16 2008-02-04 19:24:32

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: {SOLVED} problem with HAL

Install abs. Go to /var/abs/extra/system/hal.
Replace the PKGBUILD with the one you took from the bug description.
Futhermore, you need the packages fakeroot and makepkg.

In a terminal, enter that directory, and type makepkg. The package will be created. After that, you have your own package.

Remove the old hal package:
pacman -Rd hal

Install the new one:
pacman -A hal-0.5.10-1-i686.pkg.tar.gz

Last edited by Moo-Crumpus (2008-02-04 19:57:21)


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#17 2008-02-06 04:50:44

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Hi, everyone. My problem with hal is SOLVED. It was related to my laptop Fujitsu S6000 (4 years old, but a very good machine). The solution was provided by TontonBizar (Alain), who sent me his package (hal-0.5.10-1-i686.pkg.tar.gz). I uninstalled the usual hal and then using the command pacman -U {package} installed the one sent by Alain. And it is working now perfectly. Many thanks to him and to all of you for your suggestions. I appreciate it very much. Now, I can enjoy Arch fully. Blessing.
Piotr.

Last edited by piotr (2008-02-06 04:51:42)

Offline

#18 2008-02-06 13:47:29

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: {SOLVED} problem with HAL

Glad you got it solved. big_smile
Please amend [SOLVED] to your thread title. wink

Offline

#19 2008-03-05 07:40:36

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: {SOLVED} problem with HAL

I am using kdemod and I am facing exactly the same.my dvdwriter is not automounting,same goes with usb devices too sad

Offline

#20 2008-03-07 01:47:39

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {SOLVED} problem with HAL

Do you also you Fujitsu? You check the file in /etc/fstab first, whether everything is ok there. If it does not work, you will need to try the file of Tonton. It works with me fine.

Offline

#21 2008-03-07 02:25:35

praka123
Member
From: Kerala,India
Registered: 2008-03-04
Posts: 188
Website

Re: {SOLVED} problem with HAL

sorry.my problem already fixed after adding /etc/hal/fdi/policy/preferences.fdi
as per arch wiki.

Offline

Board footer

Powered by FluxBB