ac6-training, un département d'Ac6 SAS
EN
EnglishFrench
go-up

ac6 ac6-training Operating Systems Linux Power Management in Linux Drivers
D7

Power Management in Linux Drivers

Writing drivers with power management support

Objectives

  • Configure the Linux kernel for optimal power management.
  • Understand how Linux manages the power
    • To write drivers integrated in this scheme
    • To optimize low power modes
  • Install and use power-management utilities
Labs are conducted on target boards, that can be:
    Atmel ARM9-based boards, with Lauterbach JTAG probes.
We use the last linux kernel, as supported by the board.
  • A PC workstation and a target board per two trainees group with Lauterbach JTAG probe.
  • Printed and PDF course material.
  • Documentation and exercises solutions.
  • Good practice of C programming on Linux
  • Basic knowledge of Linux kernel and driver programming (see our D3 - Linux Drivers course)
  • Any embedded systems engineer or technician with the above prerequisites.
  • Prerequisites are checked before the course starts, against the prerequisites published on this page.
  • Throughout the course, learning is assessed continuously: guided lab work, exercises reviewed with the trainer, end-of-section quizzes and direct observation by the trainer.
  • At the end of the course, each participant receives a training completion certificate.

Course Outline

  • Reminders on kernel module development
  • Kernel objects
Exercise:  Writing a kernel module creating and using kernel objects and sets
  • The sysfs file system
Exercise:  Interacting with a kernel module through a kernel object and the sysfs file sytem
  • The APM standard.
  • The ACPI standard.
Exercise:  Writing a user program to shut down the system.
  • Freezing tasks
  • Suspend in RAM
  • Suspend on Disk
  • Hibernate
  • Debugging power management
Exercise:  Writing a kernel module reacting to suspend in RAM and system wakeup
  • Device states vs System state
  • Putting devices in low-power modes
  • Power-management operations in drivers
  • Controling system state changes from drivers
Exercise:  Adapting a device driver to put the device in suspended state when unused
  • The cpufreq user interface.
  • The various governors available.
  • The Idle task.
  • The Idle device concept.
  • CpuIdle governors.
More

To book a training session or for more information, please contact us on info@ac6-training.com.

Registrations are accepted till one week before the start date for scheduled classes. For late registrations, please consult us.

You can also fill and send us the registration form

This course can be provided either remotely, in our Paris training center or worldwide on your premises.

Scheduled classes are confirmed as soon as there is two confirmed bookings. Bookings are accepted until 1 week before the course start.

Last update of course schedule: 27 June 2026

Booking one of our trainings is subject to our General Terms of Sales

On the same topic:

Yocto or Buildroot: how to choose for your embedded Linux project