---
name: "device_suspend"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/device_suspend"
---

# device\_suspend(9)

Save state and stop all devices in system.

## NAME

device\_suspend - Save state and stop all devices in system.

## SYNOPSIS

**int device\_suspend(pm\_message\_t** *state***);**

## ARGUMENTS

*state*

new power management state

## DESCRIPTION

Prevent new devices from being registered, then lock all devices and suspend them.

## COPYRIGHT
