Bug#843215: fwupd: Please announce supported hardware using appstream

2016-11-09 Thread Paul Wise
On Wed, 2016-11-09 at 20:35 +, Mario Limonciello wrote:

> This is turning into a bit of a philosophical question, but why package
> flashable FW in Debian in the first place?

You may as well ask "why package anything for Debian?".

> Runtime loadable FW I entirely agree should be packaged so it can be
> loaded when appropriate.  Flashable however I fail to understand why
> the tools shouldn't be directly consuming binaries (.CAB files) and 
> processing them as they're needed.

For proprietary blobs, sure there is little advantage to being in
Debian. For anything that is Free Software, there are numerous
advantages, which are all the same as software that runs on the CPU.

> Yes, understand, but the type of thing that it would be better to have a
> ore proper frontend of fwupd integrated in the different (non-Gnome) 
> GUI's.
> 
> Fwupd runs as a daemon on the system and needs to be pulling updated
> metadata and always checking against the devices plugged in at the time.

Yeah, like apt. I expect the right integration level here is PackageKit.
Beyond that I'm not really sure how the upper layers work.

> Isenkram is more oriented around apps for devices than for FW.

It is simply mapping between software (packages, not apps) and devices.
fwupd provides a mechanism for doing that mapping, which isenkram
should use as an additional mapping mechanism when available.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#843215: fwupd: Please announce supported hardware using appstream

2016-11-08 Thread Mario.Limonciello
Paul,

> I was mainly talking about the devices that can be found in this file:
> 
> /lib/udev/rules.d/90-fwupd-devices.rules
> 
> Those are a static set of devices not determined at runtime.
> I guess for those, prompting the user to install fwupd is a good idea.
> 

On the contrary, I would disagree here.  Those devices just show
information about the current firmware on the device from udev.  
Prompting the user to install fwupd just to see this information
seems like a giant waste of time.  The really valuable ones are 
the ones that you can actually perform an update for.

> > If fwupd can be included by default in Debian I think a better experience
> can
> > be had though.
> 
> For proprietary platforms that seems like a reasonable idea but for
> fairly open platforms like ARM/etc, I would much prefer all firmware to
> be packaged for Debian and flashed using flash-kernel or similar.

Actually ARM platforms I think make a lot of sense too.  

Fwupd can perform updates for USB type devices (DFU & Colorhug) that 
can both be used with ARM platforms.

It also has specific support for Raspberry Pi FW:
https://github.com/hughsie/fwupd/blob/master/src/fu-provider-rpi.c

> 
> > So for now I think it would be better for isenkram to do one of these:
> > 1) Query fwupd for updatable objects if it's installed.
> 
> That sounds like a good idea, could you file a bug with the details?
> I am not aware how that should work.

Actually in looking closer at this, this doesn't really make sense given
what isenkram does.  It duplicates effort from what gnome-software
already does with fwupd.



Bug#843215: fwupd: Please announce supported hardware using appstream

2016-11-07 Thread Paul Wise
On Mon, 2016-11-07 at 19:26 +, Mario Limonciello wrote:

> That's a chicken and egg problem unfortunately.  This type of information is
> dependent upon the machine that fwupd is running on and can't be determined
> at build time.

I was mainly talking about the devices that can be found in this file:

/lib/udev/rules.d/90-fwupd-devices.rules

Those are a static set of devices not determined at runtime.
I guess for those, prompting the user to install fwupd is a good idea.

> If fwupd can be included by default in Debian I think a better experience can
> be had though.

For proprietary platforms that seems like a reasonable idea but for
fairly open platforms like ARM/etc, I would much prefer all firmware to
be packaged for Debian and flashed using flash-kernel or similar.

> So for now I think it would be better for isenkram to do one of these:
> 1) Query fwupd for updatable objects if it's installed.

That sounds like a good idea, could you file a bug with the details?
I am not aware how that should work.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#843215: fwupd: Please announce supported hardware using appstream

2016-11-07 Thread Mario.Limonciello
Paul,

That's a chicken and egg problem unfortunately.  This type of information is
dependent upon the machine that fwupd is running on and can't be determined
at build time.

Fwupd works dynamically with LVFS in detecting hardware that is supported.
for example even if your vendor doesn't post a UEFI capsule update to LVFS
today they may decide to do so a year later.  They might also decide to pull
the update later on as well.

If fwupd can be included by default in Debian I think a better experience can
be had though.

So for now I think it would be better for isenkram to do one of these:
1) Query fwupd for updatable objects if it's installed.
2) Check LVFS on its own.  The metadata is available here:
https://s3.amazonaws.com/lvfsbucket/downloads/firmware.xml.gz


> -Original Message-
> From: Paul Wise [mailto:p...@debian.org]
> Sent: Saturday, November 5, 2016 12:01 AM
> To: bts <sub...@bugs.debian.org>
> Subject: Bug#843215: fwupd: Please announce supported hardware using
> appstream
> 
> Package: fwupd
> Severity: wishlist
> User: p...@hungry.com
> Usertags: appstream-modalias
> X-Debbugs-CC: p...@debian.org
> 
> Please announce the supported hardware via AppStream. That will allow
> users that are using isenkram to know that they might want to install
> fwupd when they plugin a device that can get firmware updates.
> 
> More info about how to do this is available on the wiki page:
> 
> https://wiki.debian.org/AppStream/Guidelines#Announcing_supported_har
> dware
> 
> --
> bye,
> pabs
> 
> https://wiki.debian.org/PaulWise



Bug#843215: fwupd: Please announce supported hardware using appstream

2016-11-04 Thread Paul Wise
Package: fwupd
Severity: wishlist
User: p...@hungry.com
Usertags: appstream-modalias
X-Debbugs-CC: p...@debian.org

Please announce the supported hardware via AppStream. That will allow
users that are using isenkram to know that they might want to install
fwupd when they plugin a device that can get firmware updates.

More info about how to do this is available on the wiki page:

https://wiki.debian.org/AppStream/Guidelines#Announcing_supported_hardware

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part