pt(4freebsd)

pt4freebsd

Scsi processor type driver

Usage

device pt

Overview

The pt driver provides support for a SCSI processor type device. These are usually scanners and other devices using the SCSI link as a communication interface with device specific commands embedded in the data stream.

A SCSI adapter must be separately configured into the system before this driver can be used.

This device supports read(2) and write(2), and the ioctl(2) calls described below.

Ioctls

The following ioctl(2) calls are supported by the pt driver. They are defined in the header file ⟨sys/ptio.h⟩.

PTIOCGETTIMEOUT

This ioctl allows userland applications to fetch the current pt driver read and write timeout. The value returned is in seconds.

PTIOCSETTIMEOUT

This ioctl allows userland applications to set the current pt driver read and write timeouts. The value should be in seconds.

Files

/dev/ptN

the Nth processor device.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

History

The pt driver appeared in FreeBSD 2.1.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.