From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 29 20:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A125F40D for ; Thu, 29 Aug 2013 20:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 804BD2654 for ; Thu, 29 Aug 2013 20:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7TKK0T8009057 for ; Thu, 29 Aug 2013 20:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7TKK0ba009056; Thu, 29 Aug 2013 20:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 29 Aug 2013 20:20:00 GMT Resent-Message-Id: <201308292020.r7TKK0ba009056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8750721F for ; Thu, 29 Aug 2013 20:16:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6E2261E for ; Thu, 29 Aug 2013 20:16:24 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7TKGLJv018731 for ; Thu, 29 Aug 2013 20:16:21 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7TKGLqc018730; Thu, 29 Aug 2013 20:16:21 GMT (envelope-from nobody) Message-Id: <201308292016.r7TKGLqc018730@oldred.freebsd.org> Date: Thu, 29 Aug 2013 20:16:21 GMT From: Jan Beich To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181660: [patch][xorg-dev] x11-servers/xorg-server: fix typos and new xorg support in config/devd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 20:20:00 -0000 >Number: 181660 >Category: ports >Synopsis: [patch][xorg-dev] x11-servers/xorg-server: fix typos and new xorg support in config/devd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 29 20:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: >Organization: >Environment: # xorg-server-1.14.3,1 actually WITH_NEW_XORG=1 >Description: >How-To-Repeat: # no driver issue (II) config/devd: Adding input device Comfort Curve Keyboard 3000 (/dev/ukbd0) (II) No input driver specified, ignoring this device. (II) This device may have been added with another device file. (II) config/devd: Adding input device USB Laser Mouse (/dev/ums0) (II) No input driver specified, ignoring this device. (II) This device may have been added with another device file. (II) config/devd: Adding input device Comfort Curve Keyboard 3000 (/dev/uhid0) (II) No input driver specified, ignoring this device. (II) This device may have been added with another device file. # wrong driver issue (II) config/devd: Adding input device Comfort Curve Keyboard 3000 (/dev/ukbd0) (II) LoadModule: "kdb" (WW) Warning, couldn't open module kdb (II) UnloadModule: "kdb" (II) Unloading kdb (EE) Failed to load module "kdb" (module does not exist, 0) (EE) No input driver matching `kdb' >Fix: --- fix.diff begins here --- Index: x11-servers/xorg-server/files/patch-config-devd =================================================================== --- x11-servers/xorg-server/files/patch-config-devd (revision 1097) +++ x11-servers/xorg-server/files/patch-config-devd (working copy) @@ -1,6 +1,6 @@ --- /dev/null 2013-08-03 00:44:23.000000000 +0200 +++ config/devd.c 2013-08-03 00:45:15.162836806 +0200 -@@ -0,0 +1,478 @@ +@@ -0,0 +1,480 @@ +/* + * Copyright © 2012 Baptiste Daroussin + * @@ -72,8 +72,8 @@ +}; + +static struct hw_type hw_types[] = { -+ { "ukbd", ATTR_KEYBOARD, "kdb" }, -+ { "atkbd", ATTR_KEYBOARD, "kdb" }, ++ { "ukbd", ATTR_KEYBOARD, "kbd" }, ++ { "atkbd", ATTR_KEYBOARD, "kbd" }, + { "ums", ATTR_POINTER, "mouse" }, + { "psm", ATTR_POINTER, "mouse" }, + { "uhid", ATTR_POINTER, "mouse" }, @@ -275,6 +275,8 @@ + +#if XORG_VERSION_CURRENT < 10800000 + add_option(&options, "driver", hw_types[i].xdriver); ++#else ++ options = input_option_new(options, "driver", hw_types[i].xdriver); +#endif + + if (asprintf(&config_info, "devd:%s", line) == -1) { --- fix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: