Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313433 Details for
Bug 447725
Synaptics drivers resetting when pushing caps lock while moving cursor
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Change synaptics read method
nonblock_read.patch (text/plain), 959 bytes, created by
Peter Hutterer
on 2008-08-05 07:40:55 UTC
(
hide
)
Description:
Change synaptics read method
Filename:
MIME Type:
Creator:
Peter Hutterer
Created:
2008-08-05 07:40:55 UTC
Size:
959 bytes
patch
obsolete
>diff --git a/eventcomm.c b/eventcomm.c >index e3257cd..6fb7381 100644 >--- a/eventcomm.c >+++ b/eventcomm.c >@@ -130,17 +130,19 @@ EventQueryHardware(LocalDevicePtr local, struct SynapticsHwInfo *synhw) > static Bool > SynapticsReadEvent(struct CommData *comm, struct input_event *ev) > { >- int i, c; >- unsigned char *pBuf, u; >- >- for (i = 0; i < sizeof(struct input_event); i++) { >- if ((c = XisbRead(comm->buffer)) < 0) >- return FALSE; >- u = (unsigned char)c; >- pBuf = (unsigned char *)ev; >- pBuf[i] = u; >+ int len; >+ if (xf86WaitForInput(comm->buffer->fd, >+ comm->buffer->block_duration) > 0) >+ { >+ len = read(comm->buffer->fd, ev, sizeof(struct input_event)); >+ if (len != sizeof(struct input_event)) >+ { >+ xf86Msg(X_ERROR, "Read error: %s\n", strerror(errno)); >+ return FALSE; >+ } >+ return TRUE; > } >- return TRUE; >+ return FALSE; > } > > static Bool
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 447725
:
312468
|
312469
| 313433