Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/uep.4
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 25, 2010 | .Dd August 5, 2018 | ||||
.Dt UEP 4 | .Dt UEP 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm uep | .Nm uep | ||||
.Nd eGalax touchscreen driver | .Nd eGalax touchscreen driver | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
To compile this driver into the kernel, place the following lines into | To compile this driver into the kernel, place the following lines into | ||||
your kernel configuration file: | your kernel configuration file: | ||||
.Bd -ragged -offset indent | .Bd -ragged -offset indent | ||||
.Cd "device uep" | .Cd "device uep" | ||||
.Cd "device usb" | .Cd "device usb" | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
Alternatively, to load the driver as a | Alternatively, to load the driver as a | ||||
module at boot time, place the following line in | module at boot time, place the following line in | ||||
.Xr loader.conf 5 : | .Xr loader.conf 5 : | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
uep_load="YES" | uep_load="YES" | ||||
.Ed | .Ed | ||||
.Pp | |||||
To compile this driver with evdev support enabled, place the | |||||
following lines into the kernel configuration file: | |||||
.Bd -ragged -offset indent | |||||
.Cd "options EVDEV_SUPPORT" | |||||
.Cd "device evdev" | |||||
.Ed | |||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
driver provides support for the eGalax onscreen touch panels. | driver provides support for the eGalax onscreen touch panels. | ||||
.Pp | .Pp | ||||
The driver is stub. | The driver is a stub. | ||||
It just probes and attaches to USB device, creates device entry | It just probes and attaches to USB device, creates a device entry | ||||
and feeds reassembled packets from the hardware to it. | and feeds reassembled packets from the hardware to it. | ||||
Depending on compile-time kernel options it supports either native | |||||
or evdev operation modes. | |||||
.Pp | .Pp | ||||
To get mouse working in | To get the mouse working in | ||||
.Xr X 7 , | .Xr X 7 | ||||
one needs to install | in native mode, install | ||||
.Pa ports/x11-drivers/xf86-input-egalax . | .Pa ports/x11-drivers/xf86-input-egalax . | ||||
.Pp | |||||
To get the mouse working in | |||||
.Xr X 7 | |||||
in evdev mode, install | |||||
.Pa ports/x11-drivers/xf86-input-evdev . | |||||
.Sh FILES | .Sh FILES | ||||
.Nm | .Nm | ||||
creates a blocking pseudo\-device file, | creates a blocking pseudo-device file, | ||||
.Pa /dev/uep0 . | .Pa /dev/uep0 | ||||
in native mode or | |||||
.Pa /dev/input/eventN | |||||
in evdev mode. | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr usb 4 , | .Xr usb 4 , | ||||
.Xr loader.conf 5 , | .Xr loader.conf 5 , | ||||
.Xr xorg.conf 5 Pq Pa ports/x11/xorg , | .Xr xorg.conf 5 Pq Pa ports/x11/xorg , | ||||
.Xr egalax 4 Pq Pa ports/x11-drivers/xf86-input-egalax . | .Xr egalax 4 Pq Pa ports/x11-drivers/xf86-input-egalax , | ||||
.Xr evdev 4 Pq Pa ports/x11-drivers/xf86-input-evdev . | |||||
.Sh AUTHORS | .Sh AUTHORS | ||||
.An -nosplit | .An -nosplit | ||||
The | The | ||||
.Nm | .Nm | ||||
driver was written by | driver was written by | ||||
.An Gleb Smirnoff Aq Mt glebius@FreeBSD.org . | .An Gleb Smirnoff Aq Mt glebius@FreeBSD.org . | ||||
.Sh BUGS | .Sh BUGS | ||||
.Nm | .Nm | ||||
can't act like | cannot act like | ||||
.Xr sysmouse 4 , | .Xr sysmouse 4 , | ||||
since the latter does not support absolute motion events. | as | ||||
.Xr sysmouse 4 | |||||
does not support absolute motion events. |