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 267811 Details for
Bug 397461
Xorg -configure is broken
[?]
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]
new version of the patch
xserver-1.3.0-avoid-ps2-probe.patch (text/plain), 2.57 KB, created by
Christian Krause
on 2007-11-23 21:39:52 UTC
(
hide
)
Description:
new version of the patch
Filename:
MIME Type:
Creator:
Christian Krause
Created:
2007-11-23 21:39:52 UTC
Size:
2.57 KB
patch
obsolete
>diff -up xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_mouse.c.jx xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_mouse.c >--- xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_mouse.c.jx 2006-09-18 02:04:18.000000000 -0400 >+++ xorg-server-1.3.0.0/hw/xfree86/os-support/linux/lnx_mouse.c 2007-10-11 09:53:33.000000000 -0400 >@@ -45,7 +45,8 @@ typedef enum { > MOUSE_PROTO_SERIAL, > MOUSE_PROTO_PS2, > MOUSE_PROTO_MSC, >- MOUSE_PROTO_GPM >+ MOUSE_PROTO_GPM, >+ MOUSE_PROTO_EXPPS2, > } protocolTypes; > > static struct { >@@ -55,7 +56,8 @@ static struct { > { MOUSE_PROTO_UNKNOWN, NULL }, > { MOUSE_PROTO_PS2, "PS/2" }, > { MOUSE_PROTO_MSC, "MouseSystems" }, >- { MOUSE_PROTO_GPM, "GPM" } >+ { MOUSE_PROTO_GPM, "GPM" }, >+ { MOUSE_PROTO_EXPPS2, "ExplorerPS/2" }, > }; > > static const char * >@@ -87,7 +89,7 @@ FindDevice(InputInfoPtr pInfo, const cha > } > > static const char * >-GuessProtocol(InputInfoPtr pInfo, int flags) >+lnxMouseMagic(InputInfoPtr pInfo) > { > int fd = -1; > const char *dev; >@@ -137,8 +139,10 @@ GuessProtocol(InputInfoPtr pInfo, int fl > } > } > >- if (strcmp(realdev, DEFAULT_PS2_DEV) == 0) >- proto = MOUSE_PROTO_PS2; >+ if (strcmp(realdev, DEFAULT_MOUSE_DEV) == 0) >+ proto = MOUSE_PROTO_EXPPS2; >+ else if (strcmp(realdev, DEFAULT_PS2_DEV) == 0) >+ proto = MOUSE_PROTO_EXPPS2; > else if (strcmp(realdev, DEFAULT_GPM_DATA_DEV) == 0) > proto = MOUSE_PROTO_MSC; > else if (strcmp(realdev, DEFAULT_GPM_CTL_DEV) == 0) >@@ -171,15 +175,14 @@ GuessProtocol(InputInfoPtr pInfo, int fl > close(fd); > } > if (proto == MOUSE_PROTO_UNKNOWN) { >- xf86Msg(X_ERROR, "%s: GuessProtocol: Cannot find mouse protocol.\n", >+ xf86Msg(X_ERROR, "%s: Cannot find mouse protocol.\n", > pInfo->name); > return NULL; > } else { > for (i = 0; i < sizeof(devproto)/sizeof(devproto[0]); i++) { > if (devproto[i].proto == proto) { > xf86Msg(X_INFO, >- "%s: GuessProtocol: " >- "setting mouse protocol to \"%s\"\n", >+ "%s: Setting mouse protocol to \"%s\"\n", > pInfo->name, devproto[i].name); > return devproto[i].name; > } >@@ -188,6 +191,18 @@ GuessProtocol(InputInfoPtr pInfo, int fl > return NULL; > } > >+static const char * >+GuessProtocol(InputInfoPtr pInfo, int flags) >+{ >+ return lnxMouseMagic(pInfo); >+} >+ >+static const char * >+SetupAuto(InputInfoPtr pInfo, int *protoPara) >+{ >+ return lnxMouseMagic(pInfo); >+} >+ > _X_EXPORT OSMouseInfoPtr > xf86OSMouseInit(int flags) > { >@@ -200,6 +215,7 @@ xf86OSMouseInit(int flags) > p->DefaultProtocol = DefaultProtocol; > p->FindDevice = FindDevice; > p->GuessProtocol = GuessProtocol; >+ p->SetupAuto = SetupAuto; > return p; > } >
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 397461
: 267811