vaiopower project homepage
Vaiopower is a tool for power management of Sony Vaio laptop devices, and it is intended for all the users who strive to extend their battery life as much as possible. Vaiopower provides a higher level interface to the power management options offered by the sony-laptop kernel module. Additionally, prior to powering a device down, vaiopower makes sure that the device has been deregistered from the system correctly, it unloads all corresponding kernel modules and stops relevant system services. After powering a device back up, vaiopower restores its previous state. Vaiopower can be invoked manually, and it is also run automatically during boot when it disables all devices set by user in /etc/vaiopower.conf.
- Supported devices: sound card, Bluetooth, DVD drive and WWAN adapter
- Includes a pm-utils script that maintains the power state of all devices across suspends and hibernations
- Monitoring udev events generated by killswitch and preserving users' settings
- Automatic powering down of selected devices at boot time configurable through /etc/vaiopower.conf
- When the laptop is placed in a docking station, the Ethernet interface in the station sometimes does not get detected. Vaiopower watches for these issues (via udev) and automatically fixes them.
Please note that this software is specific for Linux as it depends on certain unique features of the Linux kernel. Unfortunately, it will not work on other operating systems.
vaiopower 0.5.0 (19 May 2011)
Vaiopower uses the SNY5001 (aka Sony Notebook Control or SonyNC) ACPI device for managing DVD and sound card and SNY6001 (aka Sony Programmable I/O Control, SPIC or SonyPI) for Bluetooth and WWAN. However, not all Vaio laptops include these devices, and even if they do, they do not always provide all the functionality. Take a look into the /sys/devices/platform/sony-laptop/ directory to find out whether the corresponding files (cdpower, audiopower, bluetoothpower and wwanpower) are present. If some of these files are missing, then those devices cannot be managed. Please note that virtually all of the currently manufactured Vaio laptops have none of these files, so they are completely unsupported.
- Model lines including both SNY5001 and SNY6001: PCG-C, PCG-F, PCG-GR, PCG-R, PCG-SRX, PCG-TR, VGN-A, VGN-B, VGN-S, VGN-SZ, VGN-T, VGN-TT, VGN-TX, VGN-TZ, VGN-UX, VGN-Z
- Model lines including only SNY5001: PCG-FR, PCG-K, PCG-Z, VGN-AR, VGN-BX, VGN-C, VGN-CR, VGN-CS, VGN-FE, VGN-FJ, VGN-FS, VGN-FW, VGN-FZ, VGN-N, VGN-NR, VGN-NW, VGN-SR, VPCCW, VPCF
- Model lines including only SNY6001: none known
- Model lines including neither SNY5001 nor SNY6001: PCG-FX
If you have any additions (you can confirm a line either to work or not to) or corrections to this list, please submit them to the bug tracker or to the email address below.
Vaiopower is a command line interface tool. Typical uses look like
sudo vaiopower audio off
which disables the audio and powers down the sound card. See the bundled man page or run “vaiopower --help” for further details.
Additionally, vaiopower is invoked at boot time when it powers down all devices set up in /etc/vaiopower.conf. Vaiopower also runs automatically at a few udev events, and hibernating, suspending and resuming, when it works around several glitches in Sony Vaio laptops' power management (such as network card in docking station not being initialized properly, or power states of particular devices not being preserved). Those actions take place silently in the background, and the user does not need to set up anything in this respect.
Released as open source under ISC License.
Copyright © 2009–2011
Please use the bug tracker or the above email address for submitting your comments, suggestions and bug reports.