User Feedback :: ACPID broken in 3.3



Having at last upgraded to 3.3. on my Libretto 100CT I find that acpid doesn't work any more. I had it working to shut down when the power button was pressed - now it does nothing.

I am using acpid.dsl. It complains about /usr/sbin not being a directory when loaded (it seems to want to put a copy of acpid in there as well as in /etc/init.d. When I run acpid in /etc/init.d there are no error messages & no log file (/var/log/acpid) & it is not shown as a running process. I have the toshiba_acpi module loaded. Nothing in the configuration has been changed since running DSLv3.0.

Looking at /proc/acpi/event (using sudo cat /proc/acpi/event) I can see events arising from the battery & if I press the power button.

I have tried running in 'legacy' mode (i.e. without unionfs) but that makes no difference.

Leaving aside the rules and scripts, the contents of the extension should be as follows:

/etc/default/acpid
/etc/init.d/acpid
/etc/logrotate.d/acpid
/usr/bin/acpi_listen
/usr/sbin/acpid

acpid.dsl and acpid.unc work fine for me in DSL 3.3/DSL-N rc4 - to avoid strange stuff happening if you are not using legacy mode, it might be better to use acpid.unc?

Code Sample
# su dsl mydsl-load /mnt/sda1/mydsl/optional/acpid.unc
/mnt/sda1/mydsl/optional/acpid.unc sucessfully loaded!
# /etc/init.d/acpid start
Loading ACPI modules:
   battery
   ac
   processor
   button
   fan
   thermal
Starting Advanced Configuration and Power Interface daemon: acpid.

This was using acpid.unc from the DSL Repository/unc but acpid.dsl from the DSL-N Repository/testing also worked on DSL 3.3 with a legacy boot - tested by initiating a shutdown by briefly pressing the power button. Let me know if you still have a problem and I'll have another look.

I am using acpid.unc & it looks like a problem with loading the unc file.

After I've loaded the extension using mydsl-load or the mydsl panel listu shows that /ramdisk/opt/acpid/etc & usr are mounted under /etc & /usr. However the /etc/acpi directory contains only powerbtn.sh - none of the other files that are in /opt/acpid/etc/acpi (/events, ac_adapter.sh, acpi_state.sh, lid.ah, powerbtn.sh). All the other files in other linked directories seem to there ok.

Looks like something going wrong with the unionfs system?

Did you make sure that the extension was downloaded properly? (ie md5sum)
md5sum  seems OK. I'll have to try some more unc's to check out what is happening. I did have acpid working ok on (I think) v3.0 before I moved to 3.3, but even the version I was using there doesn't work now - complains about /usr/sbin not being a directory when loading.
Next Page...
original here.