Puppy 2.10 on a toshiba tecra 8100
pentium3 750 MHz
128 MB ram
Wifi : Netgear WG511v3
Wifi card has 100% functionality and reliability with ndiswrapper
-add this line to /etc/rc.d/rc.local to activate card at boot:
modprobe ndiswrapper
Power management
puppy acpi=force boot parameter
-type this at boot if booting from CD
-add this to the /boot/grub/menu.lst entry for puppy if booting from HDD
then :
modprobe ac
modprobe battery
modprobe fan
modprobe processor
modprobe thermal
-add the above lines to /etc/rc.d/rc.local to activate the sensors at boot
*this means you dont need to type them in on every subsequent boot
open a terminal (rxvt)
type : wmpower
a little box will appear with a meter showing remaining power/time, an icon to display whether you are under battery or AC power and fan speed and cpu temp display.
suspend function:
copy this text to a text file and save it as /usr/sbin/suspend.sh
then drag it to the desktop to create a desktop icon for it
------------------------------------------------
#!/bin/sh
# discover video card's ID
ID=`lspci | grep VGA | awk '{ print $1 }' | sed -e 's@0000:@@' -e 's@:@/@'`
# securely create a temporary file
TMP_FILE=`mktemp /var/tmp/video_state.XXXXXX`
trap 'rm -f $TMP_FILE' 0 1 15
# switch to virtual terminal 1 to avoid graphics
# corruption in X
chvt 1
# write all unwritten data (just in case)
sync
# dump current data from the video card to the
# temporary file
cat /proc/bus/pci/$ID > $TMP_FILE
# suspend
echo -n mem > /sys/power/state
# restore video card data from the temporary file
# on resume
cat $TMP_FILE > /proc/bus/pci/$ID
# switch back to virtual terminal 7 (running X)
chvt 7
# remove temporary file
rm -f $TMP_FILE
----------------------------------------------
click the icon - laptop suspends to ram, click the on/off button - laptop powers up again but will stop on a blank screen
ctrl-alt-F3
session will be restored
puppy 2.10 on toshiba tecra 8100 with ACPI power saving
How to do things, solutions, recipes, tutorials
Message
Author
Return to “HOWTO ( Solutions )”
Jump to
- House Training
- ↳ Beginners Help ( Start Here)
- ↳ Users ( For the regulars )
- ↳ Für deutschsprachige Anhänger
- ↳ Pour les francophones
- ↳ Usuarios de habla Hispana
- ↳ HOWTO ( Solutions )
- ↳ Bugs ( Submit bugs )
- Advanced Topics
- ↳ Additional Software (PETs, n' stuff)
- ↳ Package Collections / Repositories
- ↳ REQUESTS
- ↳ Browsers and Internet
- ↳ Business
- ↳ Compiling
- ↳ Desktop
- ↳ Documents
- ↳ Drivers
- ↳ Educational
- ↳ Engineering/Science/Simulation
- ↳ Eye Candy
- ↳ Filesystem
- ↳ Games
- ↳ Graphics
- ↳ Multimedia
- ↳ Network
- ↳ Security/Privacy
- ↳ System
- ↳ Utilities
- ↳ Virtualization
- ↳ Unsorted
- ↳ Cutting edge
- ↳ Multi-session live-CD/DVD
- ↳ Hardware
- ↳ Audio
- ↳ Networking
- ↳ Dialup
- ↳ Ethernet
- ↳ Wireless
- ↳ Printers
- ↳ Video
- ↳ Puppy Derivatives
- ↳ Puppy Projects
- ↳ Next Puppy Development
- ↳ 4.x
- ↳ Bugs (4.x dev)
- ↳ Usability Issues (4.x dev)
- ↳ 5.x
- ↳ Bugs (5.x dev)
- ↳ Usability Issues (5.x dev)
- ↳ Localization Project
- ↳ Documentation Project
- Taking the Puppy out for a walk
- ↳ Announcements
- ↳ Puppy Power
- ↳ Suggestions
- ↳ Misc
- Off-Topic Area
- ↳ Programming
- ↳ Security
- ↳ Truly off-topic conversations
- ↳ Spam reports