Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've scrapped the XP installation that came with this great new Sony PCG-Z1RSP laptop, and installed SuSE 8.2 Professional. Looks fantastic and works like a dream - I'm a true convert.
One small problem though, I am having difficulty monitoring my battery life in KDE (well any window manager). When I right click on the battery monitor (KLaptop) icon and click Configure, I get the message :
"Your computer seems to have partial ACPI installation. ACPI was probably enabled, but some of the sub options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel."
I am pretty sure I have done this, but to no avail.
Wondering if anyone here would have any suggestions that could help me out... I'll be sure to post if I find a solution until then.
if the last doesn't show you anything, you'll need to fire up acpid
if you get errors on the first two, you either have those things compiled in and not working, or you don't have them compiled at all and need to find a kernel that does, or make one of your own I think...
The first two commands seem to work without error, still the battery monitor isn't working properly, although the error I reported earlier no longer occurs. Although when I click on the icon it does say power manager not found. I'll do a quick reboot and see if that makes a difference.
ps -ax | grep acpid causes the following error:
"Bad systax, perhaps a bogus '-'? <--- am i being fundamentally stupid here :-)
Anyway, ps -ax on its own produces the following in case this is useful:
PID TTY STAT TIME COMMAND
1 ? S 0:05 init
2 ? SW 0:01 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:02 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
7 ? SW 0:00 [kinoded]
9 ? SW 0:00 [mdrecoveryd]
12 ? SW 0:00 [kreiserfsd]
772 ? S 0:00 /sbin/dhcpcd -H -D -N -t 999999 -h linux eth0
802 ? S 0:00 /sbin/syslogd -a /var/lib/dhcp/dev/log -a /var/lib/na
805 ? S 0:00 /sbin/klogd -c 1 -2
840 ? SW 0:00 [knodemgrd]
866 ? SW 0:00 [khubd]
1275 ? SW 0:00 [usb-storage-0]
1276 ? SW 0:00 [scsi_eh_1]
1561 ? S 0:00 /sbin/cardmgr -m /lib/modules/2.4.20-4GB/ -n pcmcia
1586 ? S 0:00 /sbin/resmgrd
1611 ? S 0:00 /sbin/portmap
1806 ? S 0:00 /usr/sbin/cupsd
1813 ? S 0:00 /usr/sbin/sshd -o PidFile /var/run/sshd.init.pid
2126 ? S 0:00 /usr/lib/postfix/master
2188 ? S 0:00 /opt/kde3/bin/kdm
2218 ? S 0:00 /usr/sbin/smpppd
2219 ? S 0:00 /usr/sbin/atd
2249 ? S 0:00 /usr/sbin/cron
2279 ? S 0:00 /usr/sbin/nscd
2319 ? S 0:00 /usr/sbin/nscd
2321 tty1 S 0:00 /sbin/mingetty --noclear tty1
2322 tty2 S 0:00 /sbin/mingetty tty2
2323 tty3 S 0:00 /sbin/mingetty tty3
2324 tty4 S 0:00 /sbin/mingetty tty4
2325 tty5 S 0:00 /sbin/mingetty tty5
2326 tty6 S 0:00 /sbin/mingetty tty6
2327 ? S 0:00 /usr/sbin/nscd
2328 ? S 0:00 /usr/sbin/nscd
2329 ? S 0:00 /usr/sbin/nscd
2330 ? S 0:00 /usr/sbin/nscd
2331 ? S 0:00 /usr/sbin/nscd
4718 ? S 0:00 SCREEN
4721 ? S 0:00 SCREEN
4722 pts/5 S 0:00 /bin/bash
4723 pts/6 S 0:00 /bin/bash
4734 ? S 0:00 SCREEN
4735 pts/8 S 0:00 /bin/bash
16924 ? S 0:00 qmgr -l -t fifo -u
1463 ? S 0:00 pickup -l -t fifo -u
1632 ? R 0:11 /usr/X11R6/bin/X vt7 -auth /var/lib/xdm/authdir/authf
1633 ? S 0:00 -:0
1662 ? S 0:00 /bin/sh /usr/X11R6/bin/kde
1678 ? S 0:00 /opt/gnome/bin/medusa-idled
1691 ? S 0:00 kdeinit: Running...
1694 ? S 0:00 kdeinit: dcopserver --nosid
1697 ? S 0:00 kdeinit: klauncher
1700 ? S 0:00 kdeinit: kded
1707 ? S 0:00 kdeinit: klaptopdaemon
1709 ? S 0:00 /opt/kde3/bin/artsd -F 10 -S 4096 -s 5 -m artsmessage
1715 ? S 0:00 kdeinit: knotify
1716 ? S 0:00 kwrapper ksmserver
1718 ? S 0:00 kdeinit: ksmserver
1719 ? S 0:00 kdeinit: kwin -session 117f00000200010661263670000015
1721 ? S 0:00 kdeinit: kwrited
1723 ? S 0:00 kdeinit: kdesktop
1726 ? S 0:00 kdeinit: kicker
1728 ? S 0:00 kdeinit: kio_file file /tmp/ksocket-root/klauncheryKw
1730 ? S 0:00 appletproxy --configfile taskbar_panelappletrc --call
1731 ? S 0:00 appletproxy --configfile sysguard_panelappletrc --cal
1732 ? S 0:00 appletproxy --configfile lockout_panelapplet_sjewt42n
1733 ? S 0:00 ksysguardd
1734 ? S 0:00 appletproxy --configfile systemtray_panelappletrc --c
1735 ? S 0:00 appletproxy --configfile clock_panelapplet_b3oupwvtnu
1738 ? S 0:00 kdeinit: klipper
1739 ? S 0:00 kgpg
1742 ? S 0:00 kinternet -caption Kinternet -icon kinternet.png -min
1745 ? S 0:00 susewatcher -caption SuSE Update Checker -icon kinter
1755 ? S 0:01 kdeinit: konqueror --preload
1757 ? S 0:00 kalarmd --login
1827 ? R 0:00 kdeinit: konsole
1828 pts/1 S 0:00 /bin/bash
1890 ? S 0:00 kdeinit: kio_http http /tmp/ksocket-root/klauncheryKw
1891 ? S 0:00 kdeinit: kio_http http /tmp/ksocket-root/klauncheryKw
1892 ? S 0:00 kdeinit: kio_http http /tmp/ksocket-root/klauncheryKw
1893 ? S 0:00 kdeinit: kio_http http /tmp/ksocket-root/klauncheryKw
1894 ? S 0:00 kdeinit: kio_http http /tmp/ksocket-root/klauncheryKw
1897 pts/1 T 0:00 man ps
1901 pts/1 T 0:00 sh -c { export MAN_PN LESS; MAN_PN='ps(1)'; LESS="-Pm
1902 pts/1 T 0:00 less
1922 pts/1 R 0:00 ps -ax
Just restarted and it doesn't work! Same error as in the first post. I think the modprobe commands work to some extent (i.e. no errors and allows me to open the battery icon). However they have no persistence when rebooting the laptop. How can I make modprobe ac and modprobe battery work on bootup?
Any help would be much apprecitated - I'm still searching looking for answers, and as ever I'll post if I find anything as I am sure the next man with this laptop could run into this prob.
linux:~ # /usr/sbin/acpid -a -d /proc/acpi
/usr/sbin/acpid: invalid option -- a
Usage: acpid [OPTIONS]
-c, --confdir Set the configuration directory.
-d, --debug Run daemon in the foreground.
-e, --eventfile Use the specified file for events.
-g, --socketgroup Set the group on the socket file.
-l, --logfile Use the specified log file.
-m, --socketmode Set the permissions on the socket file.
-s, --socketfile Use the specified socket file.
-S, --nosocket Do not listen on a UNIX socket (overrides -s).
-v, --version Print version information.
-h, --help Print this message.
Hmmm... funny i'm running as root as well so it looks like the -a isn't supported. Any ideas of files, packages etc... i should search for install?? I'm stuck!
create an executable script in /etc called rc.modules
This is what mine looks like.
# Load working ACPI modules (no fan ACPI control for this laptop)
modprobe ac
modprobe battery
modprobe button
modprobe processor
modprobe thermal
modprobe i8k
modprobe speedstep > /dev/null 2>&1 || modprobe speedstep-ich
modprobe snd-card-0
Then, you need acpid scripts to control each of these modules.
Originally posted by Alex Housley linux:~ # /usr/sbin/acpid -a -d /proc/acpi
/usr/sbin/acpid: invalid option -- a
Usage: acpid [OPTIONS]
-c, --confdir Set the configuration directory.
-d, --debug Run daemon in the foreground.
-e, --eventfile Use the specified file for events.
-g, --socketgroup Set the group on the socket file.
-l, --logfile Use the specified log file.
-m, --socketmode Set the permissions on the socket file.
-s, --socketfile Use the specified socket file.
-S, --nosocket Do not listen on a UNIX socket (overrides -s).
-v, --version Print version information.
-h, --help Print this message.
Hmmm... funny i'm running as root as well so it looks like the -a isn't supported. Any ideas of files, packages etc... i should search for install?? I'm stuck!
Thanks for your help!
Alex
omit the -a, my mistake
and indeed, a simple script that's executable in rc.d for your modprobing needs
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.