Ever wanted to use your phone's NFC reader on Linux? Now you can β€” right from GNOME! I built a minimal NFC app using neard and D-Bus β€” no hacks, no proprietary drivers. Just run the daemon, tap a tag, and it works. πŸ‘‰ https://gitlab.gnome.org/dh/gnfc/ 1/2 #nfc #LinuxMobile #MobileLinux #Mobian #NixOS #postmarketOS
What works today: read & import vCards from NFC tags, and detect any tag read β€” great for verifying your hardware is actually enabled. It's early but real. Contributions and feedback very welcome β€” let's make Linux NFC happen! 🏷️ 2/2
@okias
do we need yo install sdm845-next kernel for this to work?
@pocketvj Oneplus 6/6T should work with older kernels, some devices still doesn't have NFC enabled, but some (such as Shift 6MQ) will work only with sdm845-next.
@okias @pocketvj so the wiki page https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)#NFC is outdated and it should be changed to just "works" also in the overview table?
OnePlus 6 (oneplus-enchilada) - postmarketOS Wiki

@darkdragon @pocketvj yes, many pmOS devices wiki pages are outdated.
@darkdragon IMHO the wiki page should only changed to "works" once you can just take an edge image, maybe install gnfc, and it works - everything else feels misleading, since the page statuses IMHO should represent the status of @postmarketOS one can get to without fully customizing the install and going beyond it. So if it's "if you compile and install this kernel from over there and this library from somewhere else, and then do this and that, then it works" it's a "partial". @pocketvj @okias
@linmob @postmarketOS @pocketvj @okias based on the previous comment I replied to, this should be the case for OnePlus 6 and no additional customizations should be necessary. Since I don't own such a device, I asked for clarification.
@darkdragon Here's the state on my OnePlus 6 (edge, without the patching suggested on the wiki (the linked patch is for fajita and does not apply):

(That said, on Pixel 3a (wiki also says partial), gNFC and neard basically work - installing the software and enabling/starting neard is enough).
 @postmarketOS @pocketvj @okias
@linmob @darkdragon @postmarketOS @pocketvj pmOS has old kernel, but both OP6/6T should work there. Suggestion would be to try with sdm845-next kernel (sdm845-next or more stable sdm845-linus branch)
@okias Thank you for the reply! If the device wasn't my daily driver, I would be more open for experimentation ;-)  @darkdragon @postmarketOS @pocketvj
@okias @z3ntu does this work with postmarketOS on Fairphone?
@darkdragon @z3ntu should work (depend on FP model, if nfc is implemented in-kernel) on any distribution.
@okias @darkdragon So in short: only Fairphone 3(+) so far, Fairphone 4, 5 and Gen. 6 do not have NFC support in the kernel yet. But there now being an end-user usable way of at least reading NFC tags, there may be some more motivation now (though it's still quite low as there's way more important features that need to be worked on) :)
@okias it doesn't build btw. the wrong filename was referenced here: https://gitlab.gnome.org/dh/gnfc/-/blob/main/data/meson.build#L15
Client Challenge

@okias super cool. I'll try this soon.

Btw, you can (and IMHO should) use zbus_names through zbus::names re-export. 😊

@okias Thanks for this! Will make a good amount of use of this.

Wish we had a good FOSS solution for mobile payments. Would love to implement an app to enable this on mobile Linux, but sadly any real implementation seems to depend on a lot of proprietary infrastructure.