From: "Vitor Hugo Nunes dos Santos" <vitorhugo@teknik.io>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] X11 without udev/eudev
Date: Mon, 23 Aug 2021 16:14:25 +0000 [thread overview]
Message-ID: <f09b09577770f111c7860a8931819004@teknik.io> (raw)
In-Reply-To: <20210823160738.208C58517F54@turkos.aspodata.se>
Based Karl
Keep the bloaties at bay
Rock on
August 23, 2021 1:08 PM, karl@aspodata.se wrote:
> Dr. Canek Peláez Valdés:
> ...
>
>> Where do you get that impression from? The OP needs handling keyboard and
>> mouse (as per his first email), and to do that in Linux these days, you
>> basically need udev, because xf86-input-mouse and xf86-input-keyboard are
>> going the way of the dodo.
>
> It is inconvenient that thoose two goes away.
> Regarding udev, it has never supported serial mice, so it doesn't help
> me.
>
> ...
>> My point is that it's not his call; it's the call of the developers of the
>> software that he decided to use.
>
> Poeple write whatever software they want to or are paid to do.
> It is my call if I want to use that software or not.
>
>> Yes I take your point, but bloat is bloat, and bloat is a liability.
>>
>> There is no bloat; the developers *need* to handle the dynamic hardware
>> case *and* the static hardware case. With udev, they handle both; otherwise
>> there would be two code routes: one for static and another for dynamic
>> hardware.
>
> ...
>
> As I wrote before, udev does not handle serial mice, so udev does not
> solve anything for me nor does it help me in any way to run my systems.
> Udev is just something pushed on me for no gain except possible to
> satisfy some dependancy touted to be beneficial. So in this very
> specific case it can be considered "bloat" if you wish to use that
> kind of words.
>
> My guess is that it is more useful on laptop than on a desktop box
> or an industrial computer.
>
> ///
>
> As a side note, from what I understand, udev today is mostly about
> usb-devices because that is where the dynamic hardware comes from
> today (at least when we are not talking about hotplugging cpus,
> memory cards, io-cards and such (but that is more of a enterprise
> problem than a small system problem.
>
> Serial ports are darn easy to implement in hardware and
> softwere.
>
> E.g. if I have a program connecting to a device using a serial
> and it is disconnected, I can just reconnect it and nothing
> special happens, noting to be done in software except logging.
> The same device via usb, the dis-/reconnect will close the
> port and make it vanish forcing med to find out find out where the
> new /dev file is and reopen and reinitialize it.
> In hardware, mcu's without usb are cheap and their serial port
> are simpe to program and the serial port "stack" is vanishingly small.
> Just look at the tty_* files in
> http://aspodata.se/git/openhw/libarm
> http://aspodata.se/git/openhw/libarm/stm32
> For usb support, I need an usb stack (which is larger), e.g.
> https://github.com/libopencm3/libopencm3/tree/master/lib/usb
> I need to understand the usb protocol and all thoose structs to fill
> in, and in the end I get a system that is harder to program on the
> host side for no gain other than that +5V is provided by usb.
>
> Regards,
> /Karl Hammar
next prev parent reply other threads:[~2021-08-23 16:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-21 20:17 [gentoo-user] X11 without udev/eudev karl
2021-08-21 21:02 ` antlists
2021-08-21 22:34 ` karl
2021-08-21 21:05 ` Anna “CyberTailor”
2021-08-22 20:31 ` karl
2021-08-22 21:59 ` Canek Peláez Valdés
2021-08-22 23:18 ` antlists
2021-08-22 23:30 ` Rich Freeman
2021-08-22 23:37 ` Canek Peláez Valdés
2021-08-23 16:07 ` karl
2021-08-23 17:01 ` karl
2021-08-23 19:51 ` Canek Peláez Valdés
2021-08-23 22:36 ` karl
2021-08-23 16:14 ` Vitor Hugo Nunes dos Santos [this message]
2021-08-21 21:51 ` Vitor Hugo Nunes dos Santos
2021-08-21 22:34 ` karl
2021-08-21 22:45 ` Neil Bothwick
2021-08-22 11:01 ` Mart Raudsepp
2021-08-22 20:31 ` karl
2021-08-22 20:31 ` karl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f09b09577770f111c7860a8931819004@teknik.io \
--to=vitorhugo@teknik.io \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox