#1660 NORM Trial-2: Xorg post-1.3: Patch, package and invoke respeclaration
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jun 8 17:08:38 EDT 2007
#1660: Xorg post-1.3: Patch, package and invoke respeclaration
--------------------+-------------------------------------------------------
Reporter: bernie | Owner: ajax
Type: defect | Status: new
Priority: normal | Milestone: Trial-2
Component: distro | Version: Git as of bug date
Keywords: | Verified: 0
--------------------+-------------------------------------------------------
Upstream is here:
git://anongit.freedesktop.org/users/daniels/respeclaration
We all know it's a hack, but how do we do the initial configuration
of devices without it? Let's not delegate Sugar for these things,
otherwise we won't ever be able to run an xterm-only session on this
machine.
The .xinit session should invoke respeclaration as follows:
respeclaration --add-all-devices 0
Patch for respeclaration here:
{{{
diff --git a/respeclaration.c b/respeclaration.c
index 15b9db6..2276e47 100644
--- a/respeclaration.c
+++ b/respeclaration.c
@@ -259,6 +259,8 @@ static int get_capabilities(LibHalContext *ctx, const
char *udi) {
ret |= CAPABILITY_KEYBOARD;
else if (strcmp(capabilities[i], "input.mouse") == 0)
ret |= CAPABILITY_MOUSE;
+ else if (strcmp(capabilities[i], "input.tablet") == 0)
+ ret |= CAPABILITY_MOUSE;
}
libhal_free_string_array(capabilities);
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/1660>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list