X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id CA37EDC0CA0 for ; Sun, 19 Jul 2015 21:47:52 +0000 (UTC) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 8BDB6DC02EF for ; Sun, 19 Jul 2015 21:47:52 +0000 (UTC) Received: by pdbnt7 with SMTP id nt7so21422323pdb.0 for ; Sun, 19 Jul 2015 14:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=e9Vt8fzfl/WIqzdnQcz87Pa5TjSAFtDhMpK5IGcrXoo=; b=kVWhEMQ6GF4Wp6WlhuAoMkgF/VFhJXqnksewM3Iols6xaNzY9J0QF5fAXt3Vm5+0Kj 0fpQeGxhcVh36ejzxKAu6RshizDonj1U3F9+2CiKq6QmcBbxNvbtCKKrq/KPDhv+LIkc xJ0Xbr1T7TY4jumY3kQ5AlcdJPeD9SJHBQqN9tIkSPPWOcqneanrCi2oOMtyI/1KXlwM TM5SOSVIXqAf7UYIdnl3DVR1hpXCI3+MRr1vRKrvNRw2GXbSlpc4zW104+n01LC+cz2t 2zpbnu93Niz3OtsJT+C18paYJ8kqAIRvsqsXRKagyBxrnNRsC3KVH32vnHMnsagkgHVY hFjQ== X-Received: by 10.70.23.98 with SMTP id l2mr52771170pdf.74.1437342471579; Sun, 19 Jul 2015 14:47:51 -0700 (PDT) Received: from newbook ([50.0.227.100]) by smtp.gmail.com with ESMTPSA id ij17sm18025609pac.4.2015.07.19.14.47.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 14:47:51 -0700 (PDT) Date: Sun, 19 Jul 2015 14:48:10 -0700 From: Isaac Dunham To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] eudev pushed to git master (edge) Message-ID: <20150719214810.GA2207@newbook> References: <20150717115207.72d3a1e6@ncopa-desktop.alpinelinux.org> <20150719204716.GB1862@newbook> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150719204716.GB1862@newbook> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Jul 19, 2015 at 01:47:16PM -0700, Isaac Dunham wrote: > On Fri, Jul 17, 2015 at 11:52:07AM +0200, Natanael Copa wrote: > > Hi, > > > > I pushed eudev to the edge repo. > > > > libkmod will not work with busybox dempod (due to it not yet creates > > the modules.dep.bin), so I disabled this in eudev, assuming that it > > will fall back to fork/exec modprobe instead for modaliases. > > > > It turns out that I was wrong. when built with --disable-libkmod it > > does not load any modaliases at all. This result in no /dev/input/* > > devices and Xorg "hangs". (does not respond to any input). > > > > For now I have forced starting the hwdrivers. This should at least make > > xorg work, but we still do not have proper hotplugging. That is, if you > > hotplug a device that needs a driver, it will not automatically be > > loaded. > > I need to test this, but anyhow... > As far as I can tell, the hotplugging is not hardcoded, but entirely > within rules/80-drivers.rules > If I am correct, you could enable use of Busybox via: > > sed -e 's/RUN{builtin}\(.*\)kmod load/RUN\1modprobe -ab/g' -i \ > "$pkgdir"/lib/udev/rules.d/80-drivers.rules > > Testing that might be...interesting, though. OK! Applied ~ those changes to /{lib=>etc}/udev/rules.d/80-drivers.rules (I used "busybox modprobe" instead of "modprobe"), then disabled interface name mutilation (touch /etc/udev/rules.d/80-net-name-slot.rules), dropped a symlink to busybox in /lib/udev/ (udev apparently execs "/lib/udev/" with the command line from the RUN+=... rule). This apparently works for hotplugging, but coldplugging is not reliable. Specifically, none of my network drivers were loaded...although they would have been borked thanks to persistent interface mutilation. If "mousedev" gets loaded by the initramfs, then coldplugging was probably completely non-functional. Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---