Mailinglist Archive: opensuse-bugs (4639 mails)

< Previous Next >
[Bug 637178] xorg: keyboards not accepted
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 19 Sep 2010 11:37:48 +0000
  • Message-id: <20100919113748.5CF44245520@xxxxxxxxxxxxxxxxxxxxxx>

https://bugzilla.novell.com/show_bug.cgi?id=637178

https://bugzilla.novell.com/show_bug.cgi?id=637178#c9


--- Comment #9 from Stefan Dirsch <sndirsch@xxxxxxxxxx> 2010-09-19 11:37:47 UTC
---
config/dbus-core.c
[...]
if (!bus_info.connection || dbus_error_is_set(&error)) {
DebugF("[config/dbus-core] error connecting to system bus: %s (%s)\n",
error.name, error.message);
goto err_begin;
}

Looks like you see this message only when building the Xserver with DEBUG
enabled. :-(

include/os.h
[...]
#ifdef DEBUG
#define DebugF ErrorF
#else
#define DebugF(...) /* */
#endif

==> ./configure --enable-debug

It would be smarter to change it to a xf86ErrorFVerb(...) for a higher verbose
level. See hw/xfree86/common/xf86Helper.c

/* Just like ErrorF, but with the verbose level checked */
void
xf86ErrorFVerb(int verb, const char *format, ...)
{
va_list ap;

va_start(ap, format);
if (xf86Verbose >= verb || xf86LogVerbose >= verb)
LogVWrite(verb, format, ap);
va_end(ap);
}

Default verbose level appears to be 1.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References