ayufan-rock64 / pinebook-pro-keyboard-updater

A keyboard/touchpad firmware updater tool
47 stars 21 forks source link

Maybe write a plugin for fwupd and upload firmware to the LVFS #8

Open hughsie opened 4 years ago

hughsie commented 4 years ago

I'm the developer for fwupd. Would you like to write a plugin for fwupd, so that the hardware can be updated easily using the built-in tool for the Linux distro? I'd be happy to help you, but I don't have any hardware myself for testing. If this sounds interesting to you please see https://www.fwupd.org/ and if needed I can create you an account so you can have a play.

Richard. (LVFS and fwupd maintainer)

hughsie commented 4 years ago

If it helps, I've got a PoC 100% untested branch of fwupd that adds support for the novatek devices. I'd need a lot more support (and hardware!) to be able to upstream something that's actually going to work.

hughsie commented 4 years ago

Of course, the other issue is that the code is currently MIT and fwupd requires all plugins to be LGPLv2+ -- but if you own the code outright (i.e. you wrote it all) then it's easy enough to just tell me I can use the existing flashing code as LGPLv2+.

barthalion commented 3 years ago

I'd be happy to send my PBP to Richard if anyone from Pine64 is interested in supporting fwupd officially.

tllim commented 3 years ago

@hughsie, I am TL Lim, PINE64 community founder. Please email your shipping address, phone (shipping purpose) and email, I will ship the Pinebook Pro to you. Thanks to Aleix Pol ping me and bring up this attention.

hughsie commented 3 years ago

Hey @tllim -- you have email! Before sending hardware I had a few hardware and legal questions, but it's all in the email. Thanks.

hughsie commented 3 years ago

I've been working on a plugin for a few hours now. I've got one question about the source code which might explain some issues other people are hitting: https://github.com/ayufan-rock64/pinebook-pro-keyboard-updater/issues/22

hughsie commented 3 years ago

Hi @tllim. Many thanks for the hardware, it arrived last week. I’ve written a new plugin and created a pull request against fwupd: https://github.com/fwupd/fwupd/pull/2495 – the plugin mostly works, but is incomplete; I need some more information to enumerate the hardware more completely so that it can work with firmware metadata from the LVFS.

Thanks,

Richard.