Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by gbr-app-1.alpinelinux.org (Postfix) with SMTP id 42CB322368D for <~alpine/devel@lists.alpinelinux.org>; Fri, 5 Dec 2025 19:23:57 +0000 (UTC) Received: (qmail 60605 invoked from network); 5 Dec 2025 19:24:23 -0000 Received: from laubervilliers-659-1-78-109.w80-14.abo.wanadoo.fr. (HELO ?IPv6:::ffff:192.168.0.2?) (80.14.125.109) by alyss.skarnet.org. with SMTP; 5 Dec 2025 19:24:23 -0000 From: "Laurent Bercot" To: "Farooq Karimi Zadeh" , ~alpine/devel@lists.alpinelinux.org Subject: Re: The chosen driver for ethernet being incorrect in Alpine ISO on Amlogic A311D Date: Fri, 05 Dec 2025 19:23:52 +0000 Message-Id: In-Reply-To: <997b2c1f-d580-484e-820a-ebb1a78a1531@riseup.net> References: <997b2c1f-d580-484e-820a-ebb1a78a1531@riseup.net> Reply-To: "Laurent Bercot" User-Agent: eM_Client/10.3.2619.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >It seems that `mdev` is responsible for choosing drivers. Am I right? I ne= eded some hints to write and send a patch. > >Please don't give me fish, instead teach me how to fish. The first step is = that how should I realize who is responsible for managing device drivers i= n Linux/Alpine. By default, it is mdev, yes. You can select what device manager you use by running /usr/sbin/setup-devd. You can keep using eudev with Alpine if it works for you. If you use mdev or mdevd, the file that configures their behaviour is /etc/mdev.conf, but that's not what explains that they would choose another driver than what eudev would. For that, some investigation into the uevent itself, and the udev rules, would be necessary. It's possible that eudev has an exception coded that chooses a different driver than what the uevent would naturally say. -- Laurent