Re: [systemd-devel] firmware update check script

2016-08-04 Thread Stéphane ANCELOT
Hi,

I am already doing this with other init systems with modern usb , I am able 
doing this with my TV, soundbar...
The only bad thing is that systemd has sprayed in some recent distributions 
(where are the benefits ?)

Unfortunately in today's world, there are more commercial people than 
technician people.

No matter, I will not debate more, I gave and made myself an  opinion regarding 
 systemd.

Regards,
S.Ancelot

- Mail original -
De: "Lennart Poettering" <lenn...@poettering.net>
À: "Stéphane ANCELOT" <sance...@free.fr>
Cc: systemd-devel@lists.freedesktop.org
Envoyé: Jeudi 4 Août 2016 12:21:27
Objet: Re: [systemd-devel] firmware update check script

On Thu, 04.08.16 09:45, Stéphane ANCELOT (sance...@free.fr) wrote:

> You are right, but that's only  systemd that is incompatible with
> this feature (and some more).

No, that has little to do with systemd. It's a systematic change how
today's hardware works, and that probing is asynchronous and USB the
way USB is.

The only difference with systemd is that we don't pretend that
hardware would work a way it doesn't work.




Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] firmware update check script

2016-08-04 Thread Stéphane ANCELOT
You are right, but that's only  systemd that is incompatible with this feature 
(and some more).
As some people and some articles I have read on the web, it is time for myself 
switching my system to a professional initscript service.



- Mail original -
De: "Lennart Poettering" <lenn...@poettering.net>
À: "Stéphane ANCELOT" <sance...@free.fr>
Cc: systemd-devel@lists.freedesktop.org
Envoyé: Mercredi 3 Août 2016 16:47:09
Objet: Re: [systemd-devel] firmware update check script

On Tue, 02.08.16 10:19, Stéphane ANCELOT (sance...@free.fr) wrote:

> Hi,
> 
> It looks like very complicated making easy thing
> 
> I would need only setting up a script that looks for usb media and launch a 
> script if available on it (firmware upgrade)
> 
> unfortunately, it looks like, graphic display is launched in parallel and i 
> am not able doing this in a text only mode, before continuing boot process
> 
> I would need some help to going on.

This cannot work and is incompatible with how modern computers
work. USB devices can take any time they want to initialize, and that
means there's no point in time at boot where all USB sticks are known
to have shown up, since there could always be more still popping up.

You can order your service before the display manager of your choice,
and use Type=oneshot to make sure your tool finishes before the
activation of the DM is attempted, but this will be very racy because
of the aforementioned issue that USB devices can take any time they
like to initialize.

Sorry,

Lennart



-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] firmware update check script

2016-08-02 Thread Stéphane ANCELOT
Hi,

It looks like very complicated making easy thing

I would need only setting up a script that looks for usb media and launch a 
script if available on it (firmware upgrade)

unfortunately, it looks like, graphic display is launched in parallel and i am 
not able doing this in a text only mode, before continuing boot process

I would need some help to going on.

Regards,
Steph
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel