Unix and Linux Discussions Tagged with device |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
13,565 |
AIX |
|
|
|
4 |
24,460 |
Solaris |
|
|
|
4 |
4,705 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
73,190 |
OS X (Apple) |
|
|
|
11 |
23,083 |
AIX |
|
|
|
1 |
9,318 |
AIX |
|
|
|
4 |
4,074 |
AIX |
|
|
|
9 |
8,490 |
Solaris |
|
|
|
1 |
16,513 |
Debian |
|
|
|
2 |
4,389 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
3,416 |
AIX |
|
|
|
0 |
1,567 |
Complex Event Processing RSS News |
|
|
|
1 |
3,020 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
27,160 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,263 |
IT Security RSS |
|
|
|
3 |
25,606 |
AIX |
|
|
|
0 |
1,485 |
UNIX and Linux RSS News |
|
|
|
0 |
3,876 |
UNIX and Linux Applications |
|
|
|
8 |
17,554 |
Cybersecurity |
|
|
|
0 |
3,240 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,285 |
UNIX and Linux RSS News |
|
|
|
6 |
3,398 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
29,896 |
Solaris |
|
|
|
10 |
7,447 |
Solaris |
|
|
|
2 |
6,041 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,306 |
UNIX and Linux RSS News |
|
|
|
4 |
11,621 |
Linux |
|
|
|
2 |
36,470 |
HP-UX |
|
|
|
2 |
11,786 |
Solaris |
|
|
|
0 |
3,859 |
SCO |
|
|
|
0 |
8,701 |
Solaris |
|
|
|
0 |
3,007 |
IP Networking |
|
|
|
0 |
3,577 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
3,001 |
UNIX for Dummies Questions & Answers |
|
|
|
13 |
10,639 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,199 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
43,514 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
8,273 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,454 |
Programming |
|
|
|
8 |
31,025 |
UNIX for Dummies Questions & Answers |
DEVCTL(8) BSD System Manager's Manual DEVCTL(8)
NAME
devctl -- device control utility
SYNOPSIS
devctl attach device
devctl detach [-f] device
devctl disable [-f] device
devctl enable device
devctl suspend device
devctl resume device
devctl set driver [-f] device driver
DESCRIPTION
The devctl utility adjusts the state of individual devices in the kernel's internal device hierarchy. Each invocation of devctl consists of
a single command followed by command-specific arguments. Each command operates on a single device specified via the device argument. The
device may be specified either as the name of an existing device or as a bus-specific address. More details on supported address formats can
be found in devctl(3).
The following commands are supported:
attach device
Force the kernel to re-probe the device. If a suitable driver is found, it is attached to the device.
detach [-f] device
Detach the device from its current device driver. If the -f flag is specified, the device driver will be detached even if the device
is busy.
disable [-f] device
Disable a device. If the device is currently attached to a device driver, the device driver will be detached from the device, but
the device will retain its current name. If the -f flag is specified, the device driver will be detached even if the device is busy.
enable device
Enable a device. The device will probe and attach if a suitable device driver is found. Note that this can re-enable a device dis-
abled at boot time via a loader tunable.
suspend device
Suspend a device. This may include placing the device in a reduced power state.
resume device
Resume a suspended device to a fully working state.
set driver [-f] device driver
Force the device to use a device driver named driver. If the device is already attached to a device driver and the -f flag is speci-
fied, the device will be detached from its current device driver before it is attached to the new device driver. If the device is
already attached to a device driver and the -f flag is not specified, the device will not be changed.
SEE ALSO
devctl(3), devinfo(8)
HISTORY
The devctl utility first appeared in FreeBSD 11.0.
BSD
February 5, 2015 BSD