
vuidmice(7M) STREAMS Modules SunOS 5.5
Read Side Behavior M_DATA The messages coming in are queued and converted to Firm events.
M_FLUSH The read queue of the module is flushed of all its data messages and all
data in the record being accumulated are also flushed. The message is
passed upstream.
Write Side Behavior M_IOCTL messages sent downstream as a result of an ioctl(2) system call. There
are two valid ioctl options processed by the vuidmice modules
VUIDGFORMAT and VUIDSFORMAT.
VUIDGFORMAT This option returns the current state of the
STREAMS module. The state of the vuidmice
STREAMS module may either be VUID_NATIVE
(no message processing) or VUID_FIRM_EVENT
(convert to Firm events).
VUIDSFORMAT This option sets the state of the STREAMS module
to VUID_FIRM_EVENT. If the state of the
STREAMS module is already in
VUID_FIRM_EVENT then this option is non-
operational.
It is not possible to set the state back to
VUID_NATIVE once the state becomes
VUID_FIRM_EVENT. To disable message process-
ing, pop theSTREAMS module out by calling
ioctl(fd, 1I_POP, vuid∗).
M_FLUSH The write queue of the module is flushed of all its data messages and the
message is passed downstream.
Mouse
Configurations
Module Protocol Type Device
vuidm3p 3-Byte Protocol
Microsoft 2 Button Serial Mouse /dev/tty∗
vuidm4p 4-Byte Protocol
Logitech 3 Button Mouseman /dev/tty∗
vuidm5p 5-Byte Protocol
Logitech 3 Button Bus Mouse /dev/logi
Microsoft Bus Mouse /dev/msm
vuid2ps2 PS/2 Protocol
2 Button PS/2 Compatible Mouse /dev/kdmouse
vuid3ps2 PS/2 Protocol
3 Button PS/2 Compatible Mouse /dev/kdmouse
SEE ALSO STREAMS Programming Guide
7M-398 modified 17 Dec 1993
Comentários a estes Manuais