General TC > Tiny Core Netbooks

Dell Mini 9

<< < (5/12) > >>

h-munster:
Thank you to everyone for their efforts in trying to solve the Mini 9 backlight adjustment problem.

I tried acpid extension, and it didn't solve the problem.

By the way, when I first attempted acpid, errors appeared stating that a directory and subdirectory didn't exist, and acpid wouldn't run.  I had to mkdir the directory and sub-directory to get acpid to run.

I am also sorry to report that I tried the dell_rbu and dcdbas modules both separately and together, and they didn't help.  The smbios-lcd-brightness command/messages seemed to function (with the ac and battery flags), but there was no effect on the backlight brightness.

The key seems to be doing whatever it takes to make the  /sys/class/backlight directory appear.

Juanito:

--- Quote from: h-munster on December 14, 2009, 05:26:44 PM ---By the way, when I first attempted acpid, errors appeared stating that a directory and subdirectory didn't exist, and acpid wouldn't run.  I had to mkdir the directory and sub-directory to get acpid to run.

--- End quote ---

In the latest version of the acpid extension, the start-up script should take care of this - could you confirm which version you were using?

h-munster:

--- Quote ---In the latest version of the acpid extension, the start-up script should take care of this - could you confirm which version you were using?
--- End quote ---

I was using acpid-1.0.10 with the 2.6.29.1-tinycore kernel.

Juanito:
If you look at /usr/local/tce.installed/acpid, do you see a script that creates /usr/local/etc/acpid/events (or something like that)?

If not, then you don't have the latest version of the extension.

h-munster:
Thank you for your help.

/usr/local/tce.installed/acpid is an empty file -- no script

/usr/local/etc/acpid/events/ are the directory and subdirectory which do not exist

Here is the error when trying to start acpid:


--- Code: ---root@box:~# acpid -d
acpid: starting up
acpid: opendir(/usr/local/etc/acpi/events): No such file or directory
--- End code ---



/tmp/tcloop/acpid/usr/local/etc/init.d/acpid is this script:


--- Code: ---#!/bin/sh

start() {
if [ ! -d /usr/local/etc/acpi/events ]; then
mkdir -p /usr/local/etc/acpi/events
fi
if [ ! -e /var/run/acpid.pid ]; then
/usr/local/sbin/acpid
fi
}

stop() {
killall acpid 2>/dev/null
}

status() {
if [ -e /var/run/acpid.pid ]; then
echo -e "\nacpid is running.\n"
else
echo -e "\nacpid is not running.\n"
fi
}

case $1 in
start) start
;;
stop) stop
;;
status) status
;;
restart) stop; start
;;
*) echo -e "\n$0 [start|stop|restart|status]\n"
;;
esac

--- End code ---

Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version