Eek! @Matt_Hartley good callout, I mispoke and now verified, I am on Ubuntu 23.04
Originally no such file, I did not add a quirk manually since my fwupd version was > 1.8.8 (1.8.12). Added the quirk for shiggles & rebooted, output is now:
Iām trying to get working the fingerprint by following this guide from the framework guys.
It did not work out so Iām asking for some help here, thanks in advance and sorry if Iām too verbose!
The third command on the list fails with this error message:
sudo fwupdtool get-devices --plugins goodixmoc
Loading... [- ]21:55:45:0898 FuEngine failed to add device usb:01:00:09: failed to claim interface 0x00: USB error on device 27c6:609c : Resource busy [-6]
Loading... [***************************************]
No detected devices
I kept reading the guide to find out if the rest of the commands maybe could help me find some more info and I see that my fwupdmgr has a very very old version, as in the same guide they claim that being on a version less than 1.8.8 is oldā¦
I guess Iām on the same situation as all Ubuntu 22.04 users so I get the same fwupdmgr version, the one that uses the last call for desperate users wanting this working but here Iām also getting a new error:
sudo fwupdtool get-history
Loading... [- ]22:18:39:0308 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:18:39:0310 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:18:39:0784 FuEngine failed to add device /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0ro: attribute size returned no data
Loading... [***************************************]
No history
In short the question here (just guessing what is all the root of evil) is: How could I update the fwupdmgr?
Last question is about the automatic firmware update (LVFS), is this something we can expect to happen in days, weeks or months?
Then with the older version of fwupdmgr, ran: echo '[USB\VID_27C6&PID_609C]' | sudo tee -a /usr/share/fwupd/quirks.d/goodixmoc.quirk ; echo 'Plugin = goodixmoc' | sudo tee -a /usr/share/fwupd/quirks.d/goodixmoc.quirk
And you verified the output of sudo cat /usr/share/fwupd/quirks.d/goodixmoc.quirk
as seeing:
[USB\VID_27C6&PID_609C]
Plugin = goodixmoc
Ubuntu wants users on snaps and we have tested this on not the snap version (newer). So ideally, you should double check the above steps, reply with the output of each.
juanillo@frameworkillo:~/Baixades$ sudo fwupdtool install --allow-reinstall --allow-older goodix-moc-609c-v01000330.cab
[sudo] contrasenya per a juanillo:
S'estĆ carregant... [- ]22:03:13:0236 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:03:13:0238 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:03:16:0582 FuEngine failed to add device /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0ro: attribute size returned no data
S'estĆ carregant... [***************************************]
S'estĆ descomprimint... [***************************************]
S'estĆ escrivint... [************************************* ]22:03:26:0709 FuEngine failed to update-cleanup after failed update: failed to get device before update cleanup: failed to wait for detach replug: device d432baa2162a32c1554ef24bd8281953b9d07c11 did not come back
failed to write: failed to reply: transfer timed out
Just in case it could be that I had no execute rights on the cab file I added 764 rights for it and then re-run the same command, the output is failing again but I see one extra line:
juanillo@frameworkillo:~/Baixades$ sudo fwupdtool install --allow-reinstall --allow-older goodix-moc-609c-v01000330.cab
S'estĆ carregant... [- ]22:09:13:0324 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:09:13:0326 FuEngine failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
22:09:13:0743 FuEngine failed to add device usb:01:00:09: failed to get firmware version: failed to reply: transfer failed
22:09:16:0643 FuEngine failed to add device /sys/devices/pci0000:00/0000:00:1f.5/spi_master/spi0/spi0.0/mtd/mtd0ro: attribute size returned no data
S'estĆ carregant... [***************************************]
S'estĆ descomprimint... [***************************************]
No supported devices found
Even I saw (you can check) a lot of errors, this time the fingerprint was able to be used by the āActivitiesā->āUsersā->āEnable fingerprint to log inā.
I could register 5 of them and then I got a message that this device was being requested by another process. Then an OS error dialog was suggesting me to send info about the crash, I did.
I logged out and I could log in via fingerprint, so Iād say this works
I have updated the echo to quirks command for those who inadvertently ran it multiple times, thus, spamming the quirks file.
file="/usr/share/fwupd/quirks.d/goodixmoc.quirk"; sudo sed -i '/\[USB\\VID_27C6&PID_609C\]/d' "$file"; sudo sed -i '/Plugin = goodixmoc/d' "$file"; echo -e '[USB\VID_27C6&PID_609C]\nPlugin = goodixmoc' | sudo tee -a "$file" > /dev/null
The above command will put your quirks file to the correct state and deletes anything in that file at all, putting it to the correct state with an empty space, then the two correct lines only - this for those of you on Ubuntu and those with your fwupdmgr --version is older than 1.8.8.
If you suspect youāve run into this, run the above command to correct the quirks file, then reboot, then run
After the first time I tried to install the firmware with the sudo fwupdtool install --allow-reinstall --allow-older goodix-moc-609c-v01000330.cab command, I got the transfer error, and when I checked the version it still said that there was no device found. But inmediatly trying a second time (without restarting or using another line) it completed succesfully and when I checked the version got the correct version.
After that I restarted and the fingerprint reader is now working correctly!
@Matt_Hartley Oy vey! Ran the updated quirks file replacement command (and confirmed with cat after), and also re-installed the cab file. Reboot. Still no dice.
With the update essentially do the same thing, or will that have additional pieces that may solve my issues?
Does the placement of the cab file matter? If so, is there a particular location that youād recommend?
Been waiting for a fix for while. Thanks for all your efforts. So Iāve tried following the steps for LVFS and manual update but my Goodix reader is no longer recognised. Never tried a fw update before and never booted Windows. Yes, tried rebooting - but no joy. Any next step troubleshooting ideas??? (Yes was recognised previously and not opened the 13th gen DIY body since).
Thanks - a Goodix device doesnāt even show up in fwupdmgr get-devices, before or after reboot so thereās nothing for the fw fix to updateā¦ And yes, 13th Gen Intel DIY, UK, arrived in June I think.
TBH feels like youāre shooting in the dark as the feedback from the terminal leads you to beleive that devices are either 1). Not available (when in fact they are!), and 2). Devices are not applying the update (when in fact they are!!). Frankly bonkers - but for those reading this - pls donāt give up and perservere even with eyes closed!.. (Hopefully Framework can make this process feedback a little more intuative and friendly in time, and/or choose a better, and quite reasonably - less buggy, fingerprint hardware vendorā¦ And then give the old proverbial āFingerā to good-ole Goodix!).
I donāt know too much about computers in general so it was hard to tell if there is a fix for the fingerprint reader on ubuntu. Can someone help me please?
Thank you!