FreeBSD Bugzilla – Attachment 10082 Details for
Bug 20352
Configuring a synaptics touchpad
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 985 bytes, created by
Stephen Montgomery-Smith
on 2000-08-02 01:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Stephen Montgomery-Smith
Created:
2000-08-02 01:40:01 UTC
Size:
985 bytes
patch
obsolete
>--- sys-orig/isa/psm.c Mon Jul 31 12:10:50 2000 >+++ sys/isa/psm.c Tue Aug 1 19:18:49 2000 >@@ -1546,6 +1546,32 @@ > /* Perform IOCTL command */ > switch (cmd) { > >+ case MOUSE_SENDREADCMD: >+ data = (mousedata_t *)addr; >+ if (data->len > sizeof(data->buf)/sizeof(data->buf[0])) >+ return EINVAL; >+ >+ error = block_mouse_data(sc, &command_byte); >+ if (error) >+ return error; >+ for (s=0; s<data->len && !error; s++) { >+ if ((send_aux_command(sc->kbdc, data->buf[s])) != PSM_ACK) >+ error = EIO; >+ } >+ if (!error) { >+ for (s = 0; s < sizeof(data->buf)/sizeof(data->buf[0]); s++) { >+ data->buf[s] = read_aux_data(sc->kbdc); >+ if (data->buf[s] < 0) >+ break; >+ } >+ if (s==sizeof(data->buf)/sizeof(data->buf[0])) >+ error = EIO; >+ else >+ data->len=s; >+ } >+ unblock_mouse_data(sc, command_byte); >+ break; >+ > case OLD_MOUSE_GETHWINFO: > s = spltty(); > ((old_mousehw_t *)addr)->buttons = sc->hw.buttons;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20352
:
10081
| 10082