kiibohd / controller

Kiibohd Controller
GNU General Public License v3.0
806 stars 270 forks source link

Support for fwupd - Linux Vendor Firmware Service #387

Open shiftee opened 4 years ago

shiftee commented 4 years ago

Would it be possible to support firmware updates via fwupd?

fwupd is an open-source daemon for managing the installation of firmware updates on Linux-based systems: wikipedia

Support for this would provide trivial firmware updates across all Linux distros.

I am happy to help out with this if you wish.

haata commented 4 years ago

I've had some cursory awareness of this project for a number of years now. It seems like things have started to really take off (yay!).

(don't let this wall of text discourage you, I'm genuinely interested; but this might be a bit more complicated than it first seems!)

Some good things about the current architecture

Some potential issues

Some other questions

shiftee commented 4 years ago

Altsettings:

Devices with multiple firmwares are supported. I'm not sure about the alt settings but it is mentioned in the code which bodes well.

Firmware is never updated automatically:

If there are updates that need applying then they are downloaded and the user is notified and the update details are shown in the specified language. The user has to explicitly agree to the firmware update action before the update is performed. Source

I'm not too sure about the rest, I would suggest you go ahead and request an account. If you link to this issue they will hopefully provide a few answers

haata commented 4 years ago

I've put in a request for an account.

shiftee commented 4 years ago

Did you hear anything back?

haata commented 4 years ago

I never got a reply back to the email to info@fwupd.org (sent it on May 11th).

shiftee commented 4 years ago

Let's try poking the bear :) @hughsie

hughsie commented 4 years ago

The bear apologizes profusely. There was 3 weeks where the info@ redirect was sending emails to /dev/null, so we assassinated the sysadmin. Could you please send me the email again please and I'll get things set up for you to experiment with. Thanks!

haata commented 4 years ago

Np, will send again.

hughsie commented 4 years ago

Urgh, on the assumption you've sent it, I've not got it. I've just tested it again, and it's broken: I've got suitably stroppy at the people responsible. Can you sent it to richard@hughsie.com please.

haata commented 4 years ago

Sent to your address.

shiftee commented 4 years ago

Just wondering if there's any update on this?

haata commented 4 years ago

I got everything I needed to start work. I owe hughsie a pcb for testing, and I need to put together a basic firmware for updating. I've been a bit busy though... I might work on this a bit this weekend as a change of pace.