Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] X11 without udev/eudev
Date: Mon, 23 Aug 2021 22:36:22
Message-Id: 20210823223612.6F9388517F54@turkos.aspodata.se
In Reply to: Re: [gentoo-user] X11 without udev/eudev by "Canek Peláez Valdés"
1 Dr. Canek Peláez Valdés:
2 > On Mon, Aug 23, 2021 at 11:07 AM <karl@××××××××.se> wrote:
3 ...
4 > > Regarding udev, it has never
5 > > supported serial mice, so it doesn't help me.
6 > What are you talking about? Udev doesn't "support" any hardware; as the
7 > manual page states[1], it: "supplies the system software with device
8 > events, manages permissions of device nodes and may create additional
9 > symlinks in the /dev/ directory, or renames network interfaces".
10
11 Why would I need such a thing, I don't need any changes to /dev.
12 Even if I pop in a usb-disk, I just mount it.
13 Udev do not in the slightest solve any of my needs.
14 So why are you telling me that I must have it, yes, software
15 dependancies are a problem. I'm interested in answers that tells me how
16 to solve that without calling in extra software and deamons.
17
18 > If the kernel supports the hardware, udev will supply the corresponding
19 > event, so udev will generate the corresponding event for serial mice also
20 > (probably close to boot time).
21
22 You can try gpm to do that.
23 Udev do not do any way of serial mouce detection, never has.
24
25 > > Poeple write whatever software they want to or are paid to do. It is my
26 > > call if I want to use that software or not.
27 > Well, yeah; but if you want to use software X, and X depends on Y, then you
28 > either use software Y or don't use software X. The dependency chain can and
29 > will grow depending on several factors, and it's the situation here if I'm
30 > not mistaken: you want to keep using keyboard and mice, those depend on
31 > libinput, and libinput depends on udev.
32
33 I'm not a passive consumer in this as you seem to believe.
34 If I decide I will resurrect thoose x11 drivers, I will do so.
35 ...
36
37 > > As I wrote before, udev does not handle serial mice, so udev does not
38 > > solve anything for me nor does it help me in any way to run my systems.
39 > You are saying it wrong, you mean to say: "to handle serial mice, I don't
40 > need udev". And that is 100% completely true; you can keep a static /dev,
41 > don't use udev and create the device nodes by hand. But serial mice
42 > work great under udev also.
43
44 Yea, it does, simply because udev doesn't touch any serial mouse,
45 you have to fill in your own xorg.conf section for that or use gpm
46 in a console. Udev just cares about the serial port, not what is
47 attached to that port
48
49 > It's not only USB; it's Bluetooth, Thunderbolt, eSATA and eSATAp, etc. The
50 > computing world is dominated by dynamic hardware; it has been so for at
51 > least the last two decades.
52
53 Bluetooth adapters mostly comes in as a usb device, thought there might
54 be thoose with an i2c connection for the embedded market.
55 I don't know about thunderbolt.
56 esata as well as sata just works well without udev.
57
58 And I do not need a deamon to handle that.
59
60 > > Serial ports are darn easy to implement in hardware and softwere.
61 ..
62 > Yes: but the software that *uses* mice doesn't care *ONLY* about serial
63 > port mice. They care about USB mice (which is the majority) and Bluetooth
64 > mice (which has the second place). Right now, serial mice have to be a
65 > distant third place, if at all.
66
67 Well, "if at all", so you agree with me that udev isn't for me.
68 What I'm looking for is alternatives.
69
70 > So the developers of software that deals with mice don't need to worry
71 > *ONLY* about your case; they need to worry about the general case. Which
72 > includes USB and Bluetooth (and whatever they invent in the future).
73
74 So, udev isn't for me, what do you complain about.
75 I don't say to others to not use udev, I don't care about that.
76
77 I ask, how can I make my case work without udev, because honsestly,
78 it doesn't bring me shit and I'm not interesed in using software that
79 doesn't do anything for me. The problem of device nodes and permission
80 is already solved, I don't need pop-ups, I don't want automounting.
81 Serial ports have been working for the last 70 years or more.
82 So stop this, I never asked about udev or how to make that work.
83 You are answering the wrong question.
84
85 Regards,
86 /Karl Hammar