Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iopctl(8) [netbsd man page]

IOPCTL(8)						    BSD System Manager's Manual 						 IOPCTL(8)

NAME
iopctl -- a program to control IOP devices SYNOPSIS
iopctl [-f ctldev] command [tid] DESCRIPTION
The iopctl command can be used to interrogate and control I2O devices. The following options are available: -f ctldev Specify the control device to use. The default is /dev/iop0. The following commands are available: reconfig Reconfigure the IOP: ask all bus ports to rescan their busses, and attach or detach devices to and from the system as necessary. showddmid tid Retrieve and display the DDM (device driver module) identity parameter group from the specified target. showdevid tid Retrieve and display the device identity parameter group from the specified target. showlct Display the driver's private copy of the logical configuration table. This copy of the LCT matches the current device configuration, but is not necessarily the latest available version of the LCT. showstatus Display the current status of the IOP. showtidmap Display the device to TID map. FILES
/dev/iopu control device for IOP unit u SEE ALSO
ioctl(2), iop(4), iopsp(4), ld(4) The sysutils/i2ocfg package. HISTORY
The iopctl command first appeared in NetBSD 1.5.3. BSD
October 1, 2000 BSD

Check Out this Related Man Page

GPIOCTL(1)						    BSD General Commands Manual 						GPIOCTL(1)

NAME
gpioctl -- GPIO control utility SYNOPSIS
gpioctl -l [-f ctldev] [-v] gpioctl -t [-f ctldev] pin gpioctl -c [-f ctldev] pin flag [flag ...] gpioctl [-f ctldev] pin [0|1] DESCRIPTION
The gpioctl utility could be used to manage GPIO pins from userland and list available pins. The options are as follows: -c pin flag [flag ...] Configure pin by setting provided flags. The following flags are currently defined: IN Input pin OUT Output pin OD Open drain pin PP Push pull pin TS Tristate pin PU Pull-up pin PD Pull-down pin II Inverted input pin IO Inverted output pin -f ctldev GPIO controller device to use If not specified, defaults to /dev/gpioc0 -l list available pins -t pin toggle value of provided pin number -v be verbose: for each listed pin print current configuration EXAMPLES
o List pins available on GPIO controller defined by device /dev/gpioc0 gpioctl -f /dev/gpioc0 -l o Set the value of pin 12 to 1 gpioctl -f /dev/gpioc0 12 1 o Configure pin 12 to be input pin gpioctl -f /dev/gpioc0 -c 12 IN SEE ALSO
gpio(4), gpioiic(4), gpioled(4) HISTORY
The gpioctl utility appeared in FreeBSD 9.0. AUTHORS
The gpioctl utility and this manual page were written by Oleksandr Tymoshenko <gonzo@freebsd.org>. BSD
November 7, 2013 BSD
Man Page