| Message ID | 20110318010959.GA20440@barra.bne.redhat.com |
|---|---|
| State | Accepted, archived |
| Commit | fad10cb38ef2433c82f8a43d3b7d64e323728060 |
| Headers | show |
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index e3264e6..2bac33a 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -775,6 +775,8 @@ xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL enable) goto unwind; } + xf86Msg(X_INFO, "Using input driver '%s' for '%s'\n", drv->driverName, pInfo->name); + if (!drv->PreInit) { xf86Msg(X_ERROR, "Input driver `%s' has no PreInit function (ignoring)\n",
On Thu, Mar 17, 2011 at 6:09 PM, Peter Hutterer <peter.hutterer@who-t.net> wrote: > Makes reading the log file a lot easier for those that don't magically > recognise the log spew by the individual drivers. > > Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> > --- > hw/xfree86/common/xf86Xinput.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c > index e3264e6..2bac33a 100644 > --- a/hw/xfree86/common/xf86Xinput.c > +++ b/hw/xfree86/common/xf86Xinput.c > @@ -775,6 +775,8 @@ xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL enable) > goto unwind; > } > > + xf86Msg(X_INFO, "Using input driver '%s' for '%s'\n", drv->driverName, pInfo->name); > + > if (!drv->PreInit) { > xf86Msg(X_ERROR, > "Input driver `%s' has no PreInit function (ignoring)\n", Definitely. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Peter Hutterer <peter.hutterer@who-t.net> (18/03/2011): > Makes reading the log file a lot easier for those that don't magically > recognise the log spew by the individual drivers. > > Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Oh yeah. Reviewed-by: Cyril Brulebois <kibi@debian.org> KiBi.
Makes reading the log file a lot easier for those that don't magically recognise the log spew by the individual drivers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- hw/xfree86/common/xf86Xinput.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)