Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 3D78D22407F for <~alpine/devel@lists.alpinelinux.org>; Fri, 5 Dec 2025 23:23:00 +0000 (UTC) Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-6574d7e451dso1630389eaf.0 for <~alpine/devel@lists.alpinelinux.org>; Fri, 05 Dec 2025 15:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764976977; x=1765581777; darn=lists.alpinelinux.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BjT6ACkGTGxItvyxEDUWla8tJCJM8iQ2vFW84sxiUAw=; b=d7R2GPyGanwXtHzG6HoFdwFxaLxJU0WojF/DW/4G/VOtZGpuccd9/OVxJGi0cq5eio 6D3XJWRyK+xngK21zH1A5tXQife38CCvmTVgKNfzlfzCMmCoLjobQ71aEI032Yn743Dc 1Wf66vSSekkmsjBL8o0fWcveOz8FOG7NihJNv2rL+l68CuXfIrjqd6Ps7IFUhZBhyXk+ XPaTK4I6Cyt+jzt1o4sn3bP1+enZ8brz3FiRO4kzOSVPkLPYQi5laZn8tjH4MP/fnmtO aokK+aXiUJAMm/lketea19neLNxHV/HWSmPAUJ4SGn8jUMDERS5Ldq76GEF+c3IBCB20 8NyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764976977; x=1765581777; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BjT6ACkGTGxItvyxEDUWla8tJCJM8iQ2vFW84sxiUAw=; b=BjiVqq6qXnI5pVDNluoWTJKlPzfbJqeWrym/L5eMJm5Hqok7xH1COdd7BoXpOFfxpt P2Btdu4RWEuH2O4Jw9Banst+2w+DLbwRR9jJxknaY21NV6NO2i9VDQ8fEw8nyuDmxYv5 DNUPmDfV6sCb0Ks7NnpzbFi4AHXaUgilDDmgAYzcyfu9o5SgfTstXcFsFekQbW1irokX HdpydmQthpID+hI2/PP0BCdphO1CtXVSXu8tz+msBKv8PFP7k9lCrR4m6gfTRwcpisjZ 3gNVGz8WH6q4Sq/3erWYFnLfQOPTj5Sl5+y3Eh8MvIm8HRZb2RXYYoFNBYOaqO4RAJbn UQAg== X-Gm-Message-State: AOJu0Yztt+ND+WRAV7K8o46yU8oxVr9ZrhHwwI5QDxM/PKwo07Kd4o4f RR8FmBi9Ym/kFkvYn5yaWxXk4a1UQrcyeCg/4+fnPCzmgo24gJ5jzVKi3avKUf2w+LAYRsF7cs2 Vot7DN52B6uqvHLtvHo45f7q7k4WLN3k= X-Gm-Gg: ASbGncv8GKfgrFXAjk3pxEULrOStT4spO1j7S1y5Q8Ytgwh9e94mQ/rJ5zfI9qZ31MS CTEaP41OQ6GHVorUbtWCkN/2orlbhrit/P2O//K7d26junkVaZ5bEZBpZ/nn4RXSiMBjSu64Z8Q 4psC3/7UrKBKtRt3ZYcLmo0o6g7DpQZUH0sHIPfqDwgKhyq+iqx9gIqwbbD0c52TMLpKoCa+VE+ 3CX08TFNi3J7JcWqJcbdie3eV3B9tko6IpdLjBbdXT5oOF3Jl9N4bvYJIDBIpzJwhg7 X-Google-Smtp-Source: AGHT+IE/ereeGz9SEKK6Rk9dXCji5xwN3SNTkFiIBl8EHitBSdNzIoD+cX+240GbQGRr4dfgwH3pmNtdNs4FOiuZ2w0= X-Received: by 2002:a05:6820:818e:b0:659:9a49:8f50 with SMTP id 006d021491bc7-6599a90200cmr413678eaf.21.1764976977407; Fri, 05 Dec 2025 15:22:57 -0800 (PST) MIME-Version: 1.0 References: <997b2c1f-d580-484e-820a-ebb1a78a1531@riseup.net> In-Reply-To: From: Will Sinatra Date: Fri, 5 Dec 2025 18:22:44 -0500 X-Gm-Features: AWmQ_bkgBnM6YLG0DfvTACNzxS2B-Z6M0nrJm0mH9g6akacnFUnR1VKPgSIvLZk Message-ID: Subject: Re: The chosen driver for ethernet being incorrect in Alpine ISO on Amlogic A311D To: Farooq Karimi Zadeh Cc: ~alpine/devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="000000000000c672d006453cb9b6" --000000000000c672d006453cb9b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable We're working to revamp the official documentation, it's part of our 3.24 release milestone. The wiki is currently a good resource for this, it's entirely community driven, so if you see something is missing and are actively figuring it out contributing an article is a huge help! You can access that here: https://wiki.alpinelinux.org/wiki/Main_Page Of course there's absolutely nothing wrong with asking for help here or on IRC! IRC tends to be the fastest way to get help in my experience. On Fri, Dec 5, 2025, 2:35=E2=80=AFPM Farooq Karimi Zadeh = wrote: > On 12/5/25 22:53, Laurent Bercot wrote: > >> It seems that `mdev` is responsible for choosing drivers. Am I right? > >> I needed 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 in 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 possibl= e > > that eudev has an exception coded that chooses a different driver than > > what the uevent would naturally say. > > > > -- > > Laurent > > > Thanks. I got good clues! > > Where can I read about overall architecture of Alpine? > > There is https://docs.alpinelinux.org but I can't find much in it. > > In general, when I have a question about Alpine internals, how do > > I find me answer instead of asking directly from people? > > > Best Regards, > > Farooq. > > --000000000000c672d006453cb9b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
We're working to revamp the official documentation, i= t's part of our 3.24 release milestone.

The wiki is currently a good resource for this, it's enti= rely community driven, so if you see something is missing and are actively = figuring it out contributing an article is a huge help! You can access that= here:=C2=A0https://wiki.alpinelinux.org/wiki/Main_Page<= /a>

On 12/5/25 22:53, Laurent Bercot wrote:
>> It seems that `mdev` is responsible for choosing drivers. Am I rig= ht?
>> I needed some hints to write and send a patch.
>>
>> Please don't give me fish, instead teach me how to fish. The f= irst
>> step is that how should I realize who is responsible for managing =
>> device drivers in Linux/Alpine.
>
> =C2=A0By 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.
>
> =C2=A0If you use mdev or mdevd, the file that configures their behavio= ur
> is /etc/mdev.conf, but that's not what explains that they would ch= oose
> another driver than what eudev would. For that, some investigation int= o
> the uevent itself, and the udev rules, would be necessary. It's po= ssible
> that eudev has an exception coded that chooses a different driver than=
> what the uevent would naturally say.
>
> --
> =C2=A0Laurent
>
Thanks. I got good clues!

Where can I read about overall architecture of Alpine?

There is https://docs.alpinelinux.org but I ca= n't find much in it.

In general, when I have a question about Alpine internals, how do

I find me answer instead of asking directly from people?


Best Regards,

Farooq.

--000000000000c672d006453cb9b6--