Skip to contentSkip to conversation

MAINTAINERS: nfc: add Krzysztof Kozlowski as maintainer

PATCH Applied Krzysztof Kozlowski 7 participants 25 messages May 12, 2021 – Jul 16, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 MAINTAINERS: nfc: add Krzysztof Kozlowski as maintainer

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new. I am already maintainer of few other parts: memory controller drivers, Samsung ARM/ARM64 SoC and some drviers. I have a kernel.org account and my GPG key is:
https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/tree/keys/1B93437D3B41629B.asc

Best regards,
Krzysztof

---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
index cc81667e8bab..adc6cbe29f78 100644
@@ -12899,8 +12899,9 @@ F:	include/uapi/linux/nexthop.h
 F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
+M:	Krzysztof Kozlowski <[email protected]>
 L:	[email protected]
-S:	Orphan
+S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/
 F:	drivers/nfc/
 F:	include/linux/platform_data/nfcmrvl.h
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 MAINTAINERS: nfc: include linux-nfc mailing list

Keep all NFC related patches in existing [email protected] mailing list.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index adc6cbe29f78..83f18e674880 100644
@@ -12900,6 +12900,7 @@ F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
 M:	Krzysztof Kozlowski <[email protected]>
+L:	[email protected] (moderated for non-subscribers)
 L:	[email protected]
 S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/
Signature · 1 line
2.25.1
Acked-by on v1 2/2
#2 lore raw

Re: [linux-nfc] [PATCH 2/2] MAINTAINERS: nfc: include linux-nfc mailing list

Quoted 13 lines · Krzysztof Kozlowski

Keep all NFC related patches in existing [email protected] mailing list.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index adc6cbe29f78..83f18e674880 100644

MAINTAINERS F: net/ipv4/nexthop.c · line 12906

Quoted 7 lines
MAINTAINERS +1 -0
@@ -12900,6 +12900,7 @@ F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
 M:	Krzysztof Kozlowski <[email protected]>
+L:	[email protected] (moderated for non-subscribers)
 L:	[email protected]
 S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/

FWIW,

#3 lore raw
In reply to Krzysztof Kozlowski
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Quoted 26 lines

I am already maintainer of few
other parts: memory controller drivers, Samsung ARM/ARM64 SoC and some drviers. I have a kernel.org account and my GPG key is:
https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/tree/keys/1B93437D3B41629B.asc

Best regards,
Krzysztof

---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
index cc81667e8bab..adc6cbe29f78 100644
@@ -12899,8 +12899,9 @@ F:	include/uapi/linux/nexthop.h
 F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
+M:	Krzysztof Kozlowski <[email protected]>
 L:	[email protected]
-S:	Orphan
+S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/
 F:	drivers/nfc/
 F:	include/linux/platform_data/nfcmrvl.h
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#4 lore raw
Quoted 9 lines · Daniel Lezcano
Quoted 8 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

Quoted 9 lines
Quoted 2 lines

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Best regards,
Krzysztof

#5 lore raw
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Daniel Lezcano
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

Quoted 8 lines
Quoted 6 lines

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Krzysztof, the NFC portion of the kernel has a counterpart in userspace called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git

Mark
--

#6 lore raw
Quoted 23 lines · Mark Greer
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Daniel Lezcano
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

Quoted 8 lines
Quoted 6 lines

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Quoted 8 lines

Krzysztof, the NFC portion of the kernel has a counterpart in userspace called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git

Thanks for sharing this. Let me take a look@it first, before committing to something too big.

Best regards,
Krzysztof

#7 lore raw
In reply to Mark Greer
Quoted 23 lines · Mark Greer
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Daniel Lezcano
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

Quoted 8 lines
Quoted 6 lines

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Quoted 8 lines

Krzysztof, the NFC portion of the kernel has a counterpart in userspace called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git

I guess none of us have problem of too much spare time :), so it took me a while before I looked at neard.

With newer Gcc, neard did not even compile (which I am fixing now). I set up a fork:
https://github.com/krzk/neard
However I can give early disclaimer - playing with GLib userspace code is not something I am in long term interested. If this was written in Rust, would be different story. :)

I also configured basic CI (or rather continuous building):
https://github.com/krzk/neard/actions/runs/1014641944

However I still do not have proper testing setup. No hardware. Would be nice if Samsung. ST, NXP or Intel could spare some development board with the NFC chip supported by kernel. Till then, I will try the NFC simulator and virtual NCI drivers.

My next plan for neard is to extend the CI. There is no way I (or anyone else I believe) can keep good quality of releases without automated checks. I'll add some more distros, clang and later many some linters or cppcheck.

Best regards,
Krzysztof

#8 lore raw
Quoted 51 lines · Krzysztof Kozlowski
Quoted 23 lines · Mark Greer
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Daniel Lezcano
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

Quoted 8 lines
Quoted 6 lines

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Quoted 8 lines

Krzysztof, the NFC portion of the kernel has a counterpart in userspace called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git

I guess none of us have problem of too much spare time :), so it took me a while before I looked at neard.

With newer Gcc, neard did not even compile (which I am fixing now). I set up a fork:
https://github.com/krzk/neard
However I can give early disclaimer - playing with GLib userspace code is not something I am in long term interested. If this was written in Rust, would be different story. :)

I also configured basic CI (or rather continuous building):
https://github.com/krzk/neard/actions/runs/1014641944

However I still do not have proper testing setup. No hardware. Would be nice if Samsung. ST, NXP or Intel could spare some development board with the NFC chip supported by kernel. Till then, I will try the NFC simulator and virtual NCI drivers.

Quoted 4 lines

My next plan for neard is to extend the CI. There is no way I (or anyone else I believe) can keep good quality of releases without automated checks. I'll add some more distros, clang and later many some linters or cppcheck.

Hi Krzysztof, I see you've been busy. Thanks for that.

FYI, I made a repo on github some time back but never announced it. The only reason I mention it is because the name/link looks more official:

https://github.com/linux-nfc/neard

Let see what happens with permssion on kernel.org and go from there.

Re: hardware - I don't have much reader hardware either. I almost exclusively use BeagleBone[Black] + RF Cape + trf7970atb. I also have a USB dongle with a pn533, FWIW. I do have a decent collection of NFC tags, though. I'll contact you privately to arrange to send some to you.

For peer-to-peer testing, your smartphone probably has an NFC reader but you'll have to play around to find the sweet spot where they put the antenna (older phones were notoriously bad for NFC antenna design; newer ones are generally better).

I will review your patch sets but the earliest I will get to them will be Sunday.

Mark
--

#9 lore raw
Quoted 57 lines · Mark Greer
Quoted 51 lines · Krzysztof Kozlowski
Quoted 23 lines · Mark Greer
Quoted 13 lines · Krzysztof Kozlowski
Quoted 12 lines · Daniel Lezcano
Quoted 10 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new.

Quoted 8 lines
Quoted 6 lines

NFC has been lost in the limbos since a while. Good to see someone volunteering to take care of it.

May I suggest to create a simple nfc reading program in the 'tools' directory (could be a training exercise ;)

Noted, thanks. I also need to get a simple hardware dongle for this....

Quoted 8 lines

Krzysztof, the NFC portion of the kernel has a counterpart in userspace called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git

I guess none of us have problem of too much spare time :), so it took me a while before I looked at neard.

With newer Gcc, neard did not even compile (which I am fixing now). I set up a fork:
https://github.com/krzk/neard
However I can give early disclaimer - playing with GLib userspace code is not something I am in long term interested. If this was written in Rust, would be different story. :)

I also configured basic CI (or rather continuous building):
https://github.com/krzk/neard/actions/runs/1014641944

However I still do not have proper testing setup. No hardware. Would be nice if Samsung. ST, NXP or Intel could spare some development board with the NFC chip supported by kernel. Till then, I will try the NFC simulator and virtual NCI drivers.

Quoted 4 lines

My next plan for neard is to extend the CI. There is no way I (or anyone else I believe) can keep good quality of releases without automated checks. I'll add some more distros, clang and later many some linters or cppcheck.

Quoted 8 lines

Hi Krzysztof, I see you've been busy. Thanks for that.

FYI, I made a repo on github some time back but never announced it. The only reason I mention it is because the name/link looks more official:

https://github.com/linux-nfc/neard

Let see what happens with permssion on kernel.org and go from there.

For the kernel.org I think you need an account @kernel.org (which itself requires your key to be signed by someone), but I am not sure.

I am happy to move entire development to github and keep kernel.org only for releases till some distro packages notice the change. If Github, then your linux-nfc looks indeed nicer.

Quoted 4 lines

Re: hardware - I don't have much reader hardware either. I almost exclusively use BeagleBone[Black] + RF Cape + trf7970atb. I also have a USB dongle with a pn533, FWIW. I do have a decent collection of NFC tags, though. I'll contact you privately to arrange to send some to you.

Thanks! I managed to do some testing with nfc-sim modules, although I am not sure how much is supported.

Quoted 7 lines

For peer-to-peer testing, your smartphone probably has an NFC reader but you'll have to play around to find the sweet spot where they put the antenna (older phones were notoriously bad for NFC antenna design; newer ones are generally better).

I will review your patch sets but the earliest I will get to them will be Sunday.

I just sent one more set :)

Best regards,
Krzysztof

#10 lore raw
Quoted 6 lines · Krzysztof Kozlowski
Quoted 2 lines · Mark Greer
Quoted 1 line · Krzysztof Kozlowski

On 12/05/2021 18:49, Mark Greer wrote:

For the kernel.org I think you need an account @kernel.org (which itself requires your key to be signed by someone), but I am not sure.

Yeah, I just ran into this yesterday. You need a key signed by at least two people who already have k.o accounts. With that, and your name in the MAINTAINERS file, you can get an acct pretty quickly. I need to set that up and get some signatures. That will take a while for me.

Quoted 3 lines

I am happy to move entire development to github and keep kernel.org only for releases till some distro packages notice the change. If Github, then your linux-nfc looks indeed nicer.

Okay, lets do that. I'm the owner so I can give permissions to whoever needs them (e.g., you :).

Quoted 4 lines
Quoted 2 lines

I will review your patch sets but the earliest I will get to them will be Sunday.

I just sent one more set :)

Awesome, thanks.

Mark
--

#11 lore raw
Quoted 6 lines · Mark Greer
Quoted 3 lines

I am happy to move entire development to github and keep kernel.org only for releases till some distro packages notice the change. If Github, then your linux-nfc looks indeed nicer.

Okay, lets do that. I'm the owner so I can give permissions to whoever needs them (e.g., you :).

Then please assign some to the account "krzk" on Github. Thanks!

Best regards,
Krzysztof

#12 lore raw
Quoted 9 lines · Krzysztof Kozlowski
Quoted 6 lines · Mark Greer
Quoted 3 lines

I am happy to move entire development to github and keep kernel.org only for releases till some distro packages notice the change. If Github, then your linux-nfc looks indeed nicer.

Okay, lets do that. I'm the owner so I can give permissions to whoever needs them (e.g., you :).

Then please assign some to the account "krzk" on Github. Thanks!

Done.

Acked-by on v1 1/2
#13 lore raw
In reply to Krzysztof Kozlowski
Quoted 25 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new. I am already maintainer of few other parts: memory controller drivers, Samsung ARM/ARM64 SoC and some drviers. I have a kernel.org account and my GPG key is:
https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/tree/keys/1B93437D3B41629B.asc

Best regards,
Krzysztof

---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +0 -0
index cc81667e8bab..adc6cbe29f78 100644

MAINTAINERS F: include/uapi/linux/nexthop.h · line 12907

Quoted 10 lines
MAINTAINERS +2 -1
@@ -12899,8 +12899,9 @@ F:	include/uapi/linux/nexthop.h
 F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
+M:	Krzysztof Kozlowski <[email protected]>
 L:	[email protected]
-S:	Orphan
+S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/
 F:	drivers/nfc/
 F:	include/linux/platform_data/nfcmrvl.h

FWIW,

#14 lore raw
In reply to Krzysztof Kozlowski
Quoted 3 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

That's great, thanks!

Maybe you also want to have a look@the userspace side and talk to Mark Greer (on cc). He recently said, that he is supposed to be taking over maintenance for the neard daemon (see this thread: [1]) which currently looks like it's close to being dead (no release for several years, etc.).

I don't know much about the NFC stack and if/how people use it, but without reliable and maintained userspace tooling, the whole thing seems of little use in the long run. Qt has already dropped their neard support for Qt 6 [2], which basically means the mainline NFC stack won't be supported anymore in one of the most common application frameworks for IoT/embedded.

[1] https://lists.01.org/hyperkitty/list/[email protected]/thread/OHD5IQHYPFUPUFYWDMNSVCBNO24M45VK/
[2] https://bugreports.qt.io/browse/QTBUG-81824

Quoted 33 lines

---

I admit I don't have big experience in NFC part but this will be nice opportunity to learn something new. I am already maintainer of few other parts: memory controller drivers, Samsung ARM/ARM64 SoC and some drviers. I have a kernel.org account and my GPG key is:
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Fdocs%2Fkernel%2Fpgpkeys.git%2Ftree%2Fkeys%2F1B93437D3B41629B.asc&amp;data=04%7C01%7Cfrieder.schrempf%40kontron.de%7Cb7a843cdd3a9421a4fa908d9155456fe%7C8c9d3c973fd941c8a2b1646f3942daf1%7C0%7C0%7C637564274699221204%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=dJy3BljqfnZfwekCSGDdUy2kNcr7XxoDUUXJJwydq9c%3D&amp;reserved=0

Best regards,
Krzysztof

---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
index cc81667e8bab..adc6cbe29f78 100644
@@ -12899,8 +12899,9 @@ F:	include/uapi/linux/nexthop.h
 F:	net/ipv4/nexthop.c
 
 NFC SUBSYSTEM
+M:	Krzysztof Kozlowski <[email protected]>
 L:	[email protected]
-S:	Orphan
+S:	Maintained
 F:	Documentation/devicetree/bindings/net/nfc/
 F:	drivers/nfc/
 F:	include/linux/platform_data/nfcmrvl.h
#15 lore raw
Quoted 5 lines · Frieder Schrempf
Quoted 3 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

Quoted 8 lines

That's great, thanks!

Maybe you also want to have a look@the userspace side and talk to Mark Greer (on cc). He recently said, that he is supposed to be taking over maintenance for the neard daemon (see this thread: [1]) which currently looks like it's close to being dead (no release for several years, etc.).

I don't know much about the NFC stack and if/how people use it, but without reliable and maintained userspace tooling, the whole thing seems of little use in the long run. Qt has already dropped their neard support for Qt 6 [2], which basically means the mainline NFC stack won't be supported anymore in one of the most common application frameworks for IoT/embedded.

[1] https://lists.01.org/hyperkitty/list/[email protected]/thread/OHD5IQHYPFUPUFYWDMNSVCBNO24M45VK/
[2] https://bugreports.qt.io/browse/QTBUG-81824

Re: QT - I've already talked to Alex Blasche from QT (CC'd). With some work we can get Linux NFC/neard back into their good graces. I/we need to find time to put in the work, though.

An example of the issues they have seen is:

	https://bugreports.qt.io/browse/QTBUG-43802

Another issue I have--and I suspect you, Krzysztof, have as well--is lack of hardware. If anyone reading this wants to volunteer to be a tester, please speak up.

To help get everyone on the same page, this is a response I made to Krzysztof in another email:

"Krzysztof, the NFC portion of the kernel has a counterpart in userspace
called neard. I'm supposed to be maintaining it but I have next to no time to do so. If you have spare cycles, any help would be appreciated.

Anyway, in neard, there are some simple test scripts (python2 - I/we need to update to python3). The current home of neard is:

git://git.kernel.org/pub/scm/network/nfc/neard.git"

Thanks,

Mark
--

#16 lore raw
Quoted 19 lines · Mark Greer
Quoted 5 lines · Frieder Schrempf
Quoted 3 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

Quoted 8 lines

That's great, thanks!

Maybe you also want to have a look@the userspace side and talk to Mark Greer (on cc). He recently said, that he is supposed to be taking over maintenance for the neard daemon (see this thread: [1]) which currently looks like it's close to being dead (no release for several years, etc.).

I don't know much about the NFC stack and if/how people use it, but without reliable and maintained userspace tooling, the whole thing seems of little use in the long run. Qt has already dropped their neard support for Qt 6 [2], which basically means the mainline NFC stack won't be supported anymore in one of the most common application frameworks for IoT/embedded.

[1] https://lists.01.org/hyperkitty/list/[email protected]/thread/OHD5IQHYPFUPUFYWDMNSVCBNO24M45VK/
[2] https://bugreports.qt.io/browse/QTBUG-81824

Re: QT - I've already talked to Alex Blasche from QT (CC'd). With some work we can get Linux NFC/neard back into their good graces. I/we need to find time to put in the work, though.

Quoted 7 lines

An example of the issues they have seen is:

	https://bugreports.qt.io/browse/QTBUG-43802

Another issue I have--and I suspect you, Krzysztof, have as well--is lack of hardware. If anyone reading this wants to volunteer to be a tester, please speak up.

Yes, testing would be very appreciated. I don't know how many unit tests neard has, but maybe some mockups with unit testing would solve some of problems?

Best regards,
Krzysztof

#17 lore raw
Quoted 10 lines · Krzysztof Kozlowski
Quoted 8 lines · Mark Greer

Re: QT - I've already talked to Alex Blasche from QT (CC'd). With some work we can get Linux NFC/neard back into their good graces. I/we need to find time to put in the work, though.

An example of the issues they have seen is:

	https://bugreports.qt.io/browse/QTBUG-43802
Quoted 7 lines
Quoted 3 lines

Another issue I have--and I suspect you, Krzysztof, have as well--is lack of hardware. If anyone reading this wants to volunteer to be a tester, please speak up.

Yes, testing would be very appreciated. I don't know how many unit tests neard has, but maybe some mockups with unit testing would solve some of problems?

I'm not sure what you mean by this. Do you mean creating some tests that sit directly on top of the kernel and test the kernel parts (e.g., use netlink)? If so, that would be useful but you may end up implementing some of the NFC stack. If you mean more/better tests that use neard to exercise the whole stack then that would be really good too.

Speaking of NFC stack, the NFC forum has their specs paywalled which is a real bummer/pain. I can try reaching out to them to see if they will help us help their mission but I'm not hopeful.

FYI, most of the issues that I ran into and know still exist are timing/race issues in neard. I'm sure if we tested more, we could find some in the kernel though.

Mark
--

#18 lore raw

Re: Testing wanted for Linux NFC subsystem

In reply to Mark Greer

Hi!

Quoted 19 lines · Mark Greer
Quoted 5 lines · Frieder Schrempf
Quoted 3 lines · Krzysztof Kozlowski

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

Quoted 8 lines

That's great, thanks!

Maybe you also want to have a look at the userspace side and talk to Mark Greer (on cc). He recently said, that he is supposed to be taking over maintenance for the neard daemon (see this thread: [1]) which currently looks like it's close to being dead (no release for several years, etc.).

I don't know much about the NFC stack and if/how people use it, but without reliable and maintained userspace tooling, the whole thing seems of little use in the long run. Qt has already dropped their neard support for Qt 6 [2], which basically means the mainline NFC stack won't be supported anymore in one of the most common application frameworks for IoT/embedded.

[1] https://lists.01.org/hyperkitty/list/[email protected]/thread/OHD5IQHYPFUPUFYWDMNSVCBNO24M45VK/
[2] https://bugreports.qt.io/browse/QTBUG-81824

Re: QT - I've already talked to Alex Blasche from QT (CC'd). With some work we can get Linux NFC/neard back into their good graces. I/we need to find time to put in the work, though.

Quoted 8 lines

An example of the issues they have seen is:

	https://bugreports.qt.io/browse/QTBUG-43802

Another issue I have--and I suspect you, Krzysztof, have as well--is lack of hardware. If anyone reading this wants to volunteer to be a tester, please speak up.

Glad to see that Linux NFC might be somewhat less dead now :)

I have a couple of "recycled" smartphones running mainline Linux and some of them do have NFC chips. I have two with NXP PN547 (supported by nxp,nxp-nci-i2c), one with Samsung S3FWRN5 (samsung,s3fwrn5-i2c) and even one with Broadcom BCM2079x I think (this one does not have a driver for the Linux NFC subsystem sadly).

+Cc [email protected], in case other people there are interested in NFC :)

The NXP/Samsung ones seems to work just fine. However, since there are barely any userspace tools making use of Linux NFC all my testing so far was limited to polling for devices with "nfctool" and being happy enough when it realizes that I hold some NFC tag close to the device. :S

I would be happy to do some more testing if someone has something useful that can be tested. However, I guess ideally we would have someone who actually uses Linux NFC actively for some real application. :)

The QT integration might be useful for people running postmarketOS [1] on these smartphones, but so far I haven't really seen any useful NFC Qt applications either. :/

Thanks!
Stephan

[1]: https://postmarketos.org

#19 lore raw

Re: Testing wanted for Linux NFC subsystem

Quoted 1 line · Stephan Gerhold

Hi!

Hi Stephan and thanks for stepping up.

Quoted 6 lines

I have a couple of "recycled" smartphones running mainline Linux and some of them do have NFC chips. I have two with NXP PN547 (supported by nxp,nxp-nci-i2c), one with Samsung S3FWRN5 (samsung,s3fwrn5-i2c) and even one with Broadcom BCM2079x I think (this one does not have a driver for the Linux NFC subsystem sadly).

Quoted 7 lines

+Cc [email protected], in case other people there are interested in NFC :)

The NXP/Samsung ones seems to work just fine. However, since there are barely any userspace tools making use of Linux NFC all my testing so far was limited to polling for devices with "nfctool" and being happy enough when it realizes that I hold some NFC tag close to the device. :S

There is a user-level daemon that is the counterpart for the in-kernel NFC subsystem. It is called neard and is available here:

git://git.kernel.org/pub/scm/network/nfc/neard.git

There are a few test script in it that will let you read and write NFC tags, and do some other things. We can add some more tests to that set as we go.

Quoted 3 lines

I would be happy to do some more testing if someone has something useful that can be tested. However, I guess ideally we would have someone who actually uses Linux NFC actively for some real application. :)

Ideally, you should have some NFC tags of various types. Types 2, 3, 4A, 4B, and 5 tags are supported. Peer-to-peer mode is supported too so you should be able to transfer data from one of your phones to the other over NFC (and do a BT hand-over, if you're interested).

Note that the specified range for NFC is only 4 cm and poor antenna design, etc. means that the actual range is usually much less (e.g., they amost have to touch). Also note that there are timing constraints so you may need to make the scheduling priority of the interrupt thread of your NFC driver real-time.

Mark
--

#20 lore raw

Re: Testing wanted for Linux NFC subsystem

Quoted 15 lines · Mark Greer
Quoted 6 lines · Stephan Gerhold

I have a couple of "recycled" smartphones running mainline Linux and some of them do have NFC chips. I have two with NXP PN547 (supported by nxp,nxp-nci-i2c), one with Samsung S3FWRN5 (samsung,s3fwrn5-i2c) and even one with Broadcom BCM2079x I think (this one does not have a driver for the Linux NFC subsystem sadly).

Quoted 7 lines

+Cc [email protected], in case other people there are interested in NFC :)

The NXP/Samsung ones seems to work just fine. However, since there are barely any userspace tools making use of Linux NFC all my testing so far was limited to polling for devices with "nfctool" and being happy enough when it realizes that I hold some NFC tag close to the device. :S

Quoted 9 lines

There is a user-level daemon that is the counterpart for the in-kernel NFC subsystem. It is called neard and is available here:

git://git.kernel.org/pub/scm/network/nfc/neard.git

There are a few test script in it that will let you read and write NFC tags, and do some other things. We can add some more tests to that set as we go.

Yeah, I packaged that for Alpine Linux / postmarketOS. "nfctool" also comes from "neard" as far as I can tell :)

I think I also played with the Neard test scripts a bit at some point, and managed to read some NFC tag thing inside an old Yubikey NEO that I found, but didn't really know what else to do.

Quoted 9 lines
Quoted 3 lines

I would be happy to do some more testing if someone has something useful that can be tested. However, I guess ideally we would have someone who actually uses Linux NFC actively for some real application. :)

Ideally, you should have some NFC tags of various types. Types 2, 3, 4A, 4B, and 5 tags are supported. Peer-to-peer mode is supported too so you should be able to transfer data from one of your phones to the other over NFC (and do a BT hand-over, if you're interested).

I guess this is where I kind of lack hardware as well at the moment, I don't have any programmable NFC tags at the moment (although I guess those should be quite cheap). I might play with the peer-to-peer mode a bit when I find time.

Quoted 6 lines

Note that the specified range for NFC is only 4 cm and poor antenna design, etc. means that the actual range is usually much less (e.g., they amost have to touch). Also note that there are timing constraints so you may need to make the scheduling priority of the interrupt thread of your NFC driver real-time.

Yeah I noticed, always need to search for a while to find the right spot on the phone. :)

Stephan

#21 lore raw

Re: Testing wanted for Linux NFC subsystem

Quoted 26 lines · Stephan Gerhold
Quoted 15 lines · Mark Greer
Quoted 6 lines · Stephan Gerhold

I have a couple of "recycled" smartphones running mainline Linux and some of them do have NFC chips. I have two with NXP PN547 (supported by nxp,nxp-nci-i2c), one with Samsung S3FWRN5 (samsung,s3fwrn5-i2c) and even one with Broadcom BCM2079x I think (this one does not have a driver for the Linux NFC subsystem sadly).

Quoted 7 lines

+Cc [email protected], in case other people there are interested in NFC :)

The NXP/Samsung ones seems to work just fine. However, since there are barely any userspace tools making use of Linux NFC all my testing so far was limited to polling for devices with "nfctool" and being happy enough when it realizes that I hold some NFC tag close to the device. :S

Quoted 9 lines

There is a user-level daemon that is the counterpart for the in-kernel NFC subsystem. It is called neard and is available here:

git://git.kernel.org/pub/scm/network/nfc/neard.git

There are a few test script in it that will let you read and write NFC tags, and do some other things. We can add some more tests to that set as we go.

Quoted 6 lines

Yeah, I packaged that for Alpine Linux / postmarketOS. "nfctool" also comes from "neard" as far as I can tell :)

I think I also played with the Neard test scripts a bit@some point, and managed to read some NFC tag thing inside an old Yubikey NEO that I found, but didn't really know what else to do.

Yeah, there isn't a whole lot you can do but beyond reading/writing tags and peer-to-peer, there are things like Bluetooth and Wifi handover, Android Application Record support, and@least some support for Secure Engine.

Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

I would be happy to do some more testing if someone has something useful that can be tested. However, I guess ideally we would have someone who actually uses Linux NFC actively for some real application. :)

Ideally, you should have some NFC tags of various types. Types 2, 3, 4A, 4B, and 5 tags are supported. Peer-to-peer mode is supported too

I should have mentioned type 1 as well but I don't have the hardware to test it.

Quoted 8 lines
Quoted 3 lines

so you should be able to transfer data from one of your phones to the other over NFC (and do a BT hand-over, if you're interested).

I guess this is where I kind of lack hardware as well@the moment, I don't have any programmable NFC tags@the moment (although I guess those should be quite cheap). I might play with the peer-to-peer mode a bit when I find time.

Please let me/us know how it goes.

Quoted 9 lines
Quoted 6 lines

Note that the specified range for NFC is only 4 cm and poor antenna design, etc. means that the actual range is usually much less (e.g., they amost have to touch). Also note that there are timing constraints so you may need to make the scheduling priority of the interrupt thread of your NFC driver real-time.

Yeah I noticed, always need to search for a while to find the right spot on the phone. :)

Yeah, it can be an Easter egg hunt on many phones. :)

Mark
--

#22 lore raw

Re: Testing wanted for Linux NFC subsystem

Le vendredi 14 mai 2021 à 08:23 -0700, Mark Greer a écrit :

Quoted 30 lines · Stephan Gerhold
Quoted 29 lines · Mark Greer
Quoted 15 lines · Stephan Gerhold
Quoted 6 lines

I have a couple of "recycled" smartphones running mainline Linux and some of them do have NFC chips. I have two with NXP PN547 (supported by nxp,nxp-nci-i2c), one with Samsung S3FWRN5 (samsung,s3fwrn5-i2c) and even one with Broadcom BCM2079x I think (this one does not have a driver for the Linux NFC subsystem sadly).

Quoted 7 lines

+Cc [email protected], in case other people there are interested in NFC :)

The NXP/Samsung ones seems to work just fine. However, since there are barely any userspace tools making use of Linux NFC all my testing so far was limited to polling for devices with "nfctool" and being happy enough when it realizes that I hold some NFC tag close to the device. :S

Quoted 9 lines

There is a user-level daemon that is the counterpart for the in-kernel NFC subsystem.  It is called neard and is available here:

        git://git.kernel.org/pub/scm/network/nfc/neard.git

There are a few test script in it that will let you read and write NFC tags, and do some other things.  We can add some more tests to that set as we go.

Yeah, I packaged that for Alpine Linux / postmarketOS. "nfctool" also comes from "neard" as far as I can tell :)

Quoted 8 lines
Quoted 3 lines

I think I also played with the Neard test scripts a bit at some point, and managed to read some NFC tag thing inside an old Yubikey NEO that I found, but didn't really know what else to do.

Yeah, there isn't a whole lot you can do but beyond reading/writing tags and peer-to-peer, there are things like Bluetooth and Wifi handover, Android Application Record support, and at least some support for Secure Engine.

Could sniffing and injection work, like for wifi ?
Guess that depends on specific chip drivers, and libpcap support for sniffing ?

https://wiki.wireshark.org/SampleCaptures#Radio_Frequency_Identification_.28RFID.29.2C_and_Near-Field_Communication_.28NFC.29

https://code.google.com/archive/p/wireshark-nfc/

#23 lore raw
In reply to Krzysztof Kozlowski
This series was applied to netdev/net.git (refs/heads/master):

Hello:

This series was applied to netdev/net.git (refs/heads/master):

Quoted 8 lines · On Wed, 12 May 2021 10:43:18 -0400 you wrote:

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

[...]

Here is the summary with links:
- [1/2] MAINTAINERS: nfc: add Krzysztof Kozlowski as maintainer

    https://git.kernel.org/netdev/net/c/8aa5713d8b2c
  - [2/2] MAINTAINERS: nfc: include linux-nfc mailing list
    https://git.kernel.org/netdev/net/c/4a64541f2ceb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

#24 lore raw
Quoted 12 lines · On 12/05/2021 17:20, [email protected] wrote:

Hello:

This series was applied to netdev/net.git (refs/heads/master):

Quoted 7 lines · On Wed, 12 May 2021 10:43:18 -0400 you wrote:

The NFC subsystem is orphaned. I am happy to spend some cycles to review the patches, send pull requests and in general keep the NFC subsystem running.

Quoted 7 lines
Quoted 1 line

[...]

Here is the summary with links:
- [1/2] MAINTAINERS: nfc: add Krzysztof Kozlowski as maintainer

    https://git.kernel.org/netdev/net/c/8aa5713d8b2c
  - [2/2] MAINTAINERS: nfc: include linux-nfc mailing list
    https://git.kernel.org/netdev/net/c/4a64541f2ceb

Hi David and Jakub,

Thanks for taking the patches above. Can you share your view (or point me to the docs) about maintenance process you would like to have?

For example:
1. Do you expect pull requests or only reviews?
2. Shall I update anything on patchwork (or pwbot will take care about it entirely)?
https://patchwork.kernel.org/project/netdevbpf/list/

Best regards,
Krzysztof