From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MhgJQ-0005Ib-H2 for garchives@archives.gentoo.org; Sun, 30 Aug 2009 09:03:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 871DAE0740; Sun, 30 Aug 2009 14:11:57 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B8CBE0740 for ; Sun, 30 Aug 2009 14:11:57 +0000 (UTC) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id A0AC41C153B5 for ; Sun, 30 Aug 2009 16:11:56 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 6D0A290592 for ; Sun, 30 Aug 2009 16:11:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id LDXfaXtVuQ3H for ; Sun, 30 Aug 2009 16:11:55 +0200 (CEST) Received: from gauss.x.fun (ppp-88-217-104-251.dynamic.mnet-online.de [88.217.104.251]) by mail.nefkom.net (Postfix) with ESMTP for ; Sun, 30 Aug 2009 16:11:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gauss.x.fun (Postfix) with ESMTP id A35EA2464B0 for ; Sun, 30 Aug 2009 16:11:54 +0200 (CEST) From: Matthias Schwarzott To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] About udev-145: new features / extras and kernel requirements Date: Sun, 30 Aug 2009 16:11:52 +0200 User-Agent: KMail/1.9.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200908301611.53087.zzam@gentoo.org> X-Archives-Salt: 7e96b587-8f5b-4c66-a44f-74350389c830 X-Archives-Hash: c3d827863c64b6d144d21c97a2add380 Hi there! The new udev-145 and newer have some new kernel requirements. How should the ebuild verify they are met? Some possible ways: 1. Check config under /usr/src/linux 2. Check /proc/config.gz 3. Print message for user in pkg_postinst Second point: udev-145 bundles a lot of new extras, but they can only be enabled/disabled all or nothing. These extras are: * udev-acl: Apply consolekit permissions to devices for users (audio, video, joysticks, scanner, cameras, ...) * usb-db: Provide udev-rules with device names of pci and usb devices * hid2hci: Special utility to fix resume of some hid devices * keymap: Auto-configure model specific keys found on many laptops ("brightness up", "next song", "www browser", or "suspend") * modem-modeswitch: Switch modems that provide virtual cd-drive with drivers to modem mode * gudev: glib/gobject support for libudev This makes udev depend on these libs: libacl, libglib2, libusb, usbutils, pciutils, gperf Up to now I have just added use-flag "extras" to control these. But I suppose that udev-acl and maybe gudev is a hard requirement for newer hal or devicekit versions. And upstream thinks these should be enabled by default. Are any of these extras considered harmful? Regards Matthias