Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ACPID broken in 3.3, acpid doesn't work in 3.3< Next Oldest | Next Newest >
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 10 2007,03:07 QUOTE

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.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 10 2007,03:54 QUOTE

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.
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 11 2007,23:34 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 12 2007,02:04 QUOTE

Did you make sure that the extension was downloaded properly? (ie md5sum)
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 12 2007,08:57 QUOTE

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.
Back to top
Profile PM 
4 replies since May 10 2007,03:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: ACPID broken in 3.3

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code