You are not logged in.

#1 2010-01-28 16:48:54

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

[SOLVED] HAL doesn't work, so I can't suspend/hibernate?

I've placed (atleast what I think) to be the necessary daemons in rc.conf:

DAEMONS=(syslog-ng dbus md fam hal alsa network netfs crond)

FAM for XFCE..

When I run the suspend command, it states
"Failed to suspend: Suspend and hibernate are only supported by HAL and is not available."

#sudo /etc/rc.d/hal start:

:: Starting Hardware Abstraction Layer               [FAIL]

This happens in root, and when I attempt to start and stop it....

It took endless configurations to get ndiswrapper to work, I've changed only but files required for network, why could hal not work? I can't find much online about how to fix it, and what steps there are if it fails to restart..

Last edited by Nullw0rm (2010-01-30 05:42:58)

Offline

#2 2010-01-28 16:57:28

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

What's the suspend command you are using?

Also, try stopping HAL before you start it or pass the restart option, like

 sudo /etc/rc.d/hal restart

Have you checked and double checked that you set-up HAL correctly as presented in the wiki?
http://wiki.archlinux.org/index.php/HAL … _Configure

Offline

#3 2010-01-28 17:08:59

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Remove dbus, put hal after syslog and remove fam as well. Install gamin instead. This won't help in your issue, but just thought I'd point it out. tongue


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2010-01-28 17:41:52

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Upgrade to a recent development version of pm-utils: hal is not needed anymore.
http://pm-utils.freedesktop.org/release … rc3.tar.gz
The so-called "quirks" are not needed in many cases (if you are running: nvidia drivers; ati drivers; KMS with any driver), otherwise here they are:
http://pm-utils.freedesktop.org/release … 205.tar.gz

Last edited by patroclo7 (2010-01-28 17:47:41)


Mortuus in anima, curam gero cutis

Offline

#5 2010-01-28 18:16:51

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Try putting the network and netfs daemons before fam and hal.
Something like this:

DAEMONS=(syslog-ng dbus md alsa network netfs crond fam hal)

Hope it helps! smile

Offline

#6 2010-01-29 03:03:01

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Doehni wrote:

Try putting the network and netfs daemons before fam and hal.
Something like this:

DAEMONS=(syslog-ng dbus md alsa network netfs crond fam hal)

Hope it helps! smile

I tried this and it..sorta works, restarting HAL:

[me@myhost ~]$ sudo /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer                                   [DONE] 
:: Starting Hardware Abstraction Layer                                   [DONE]

(DONE instead of FAIL)
But going to suspend/hibernate it says HAL is not available still! I seem to not be able to set it up so well..

It says I already have pm-utils, but I ahead and installed that anyway (assuming mine wasn't dev release).

I can suspend with

$ sudo pm-suspend

But when I resume video doesn't start, my screen is black (not displaying black, more like off).. I'm on a laptop with an intel X3000 graphics chip, not a PC in case that helps.

sad Help

Last edited by Nullw0rm (2010-01-29 03:05:55)

Offline

#7 2010-01-29 20:51:21

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Any suggestions?

Offline

#8 2010-01-29 22:03:23

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Is KMS enabled in your system?


Mortuus in anima, curam gero cutis

Offline

#9 2010-01-30 05:42:41

Nullw0rm
Member
Registered: 2010-01-21
Posts: 16

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

patroclo7 wrote:

Is KMS enabled in your system?

I followed an example to enable it, and pm-suspend works!

Thanks for all your help, glad it could actually be resolved eventually.

Offline

#10 2010-01-30 08:16:33

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Nice. Actually the effect of KMS is that pm-suspend skips any hardware-specific quirks and suspend and resume the video as it is. So probably your hardware is actually perfectly supported for suspension already at the kernel level.


Mortuus in anima, curam gero cutis

Offline

#11 2010-02-18 12:12:55

skygunner
Member
From: Brisbane,Australia
Registered: 2010-02-18
Posts: 5

Re: [SOLVED] HAL doesn't work, so I can't suspend/hibernate?

Hi, I guess you get this error
"Failed to suspend: Suspend and hibernate are only supported by HAL and is not available."
because you logged into xfce as normal user right? And the default hal configuration file doesn't allow a normal user to call the suspend
/etc/dbus-1/system.d/hal.conf
You can try to suspend if you login as root, should work. hal.conf can be adjusted for this error.
Anyway install pm-utils could do suspend as well.

Offline

Board footer

Powered by FluxBB