On Tue, May 14, 2019 at 8:57 AM Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote: > > On 14/05/2019 08:52, Sedat Dilek wrote: > > [ ... ] > > >>> Please give this a try and report. > >> > >> My laptop is the first one I have with a NFC reader, so I'm not used to > >> test this as it was not working yet. > >> > >> I booted the machine with a 5.1.1, the series applied on top, and the > >> config options set as mentioned above. > >> > >> The nxp-nci kernel module is loaded and neard is installed. > >> > >> I used the sniffing tool with the command libnfc -d nfc0 -n but when > >> passing my NFC devices on the laptop's NFC mark, nothing happens. > >> > >> Is that correct? > >> > > > > Hi Daniel, > > > > I am new to the topic Linux NFC. > > > > I have installed neard (daemon) v0.16 and neard-tools from Debian/buster AMD64. > > > > root@iniza:~# systemctl is-active neard.service > > active > > Same for me > > > root@iniza:~# nfctool --list > > nfc0: > > Tags: [ ] > > Devices: [ ] > > Protocols: [ Felica MIFARE Jewel ISO-DEP NFC-DEP ] > > Powered: No > > RF Mode: None > > lto: 150 > > rw: 15 > > miux: 2047 > > I have: > > nfc0: > Tags: [ ] > Devices: [ ] > Protocols: [ Felica MIFARE Jewel ISO-DEP NFC-DEP ] > Powered: Yes > RF Mode: None > lto: 150 > rw: 15 > miux: 2047 > > The powered field is different. > > > root@iniza:~# nfctool --poll -d nfc0 > > > Start polling on nfc0 as initiator > > > > I have: > > Protocol error > > > And the dmesg show me the errors related to nci: > > [ 343.056021] nci: nci_ntf_packet: unknown ntf opcode 0x0 > ... > [31611.394308] nci: nci_start_poll: failed to set local general bytes > > I cannot say much to this. For the sake of completeness: I have the patch "NFC: fix attrs checks in netlink interface" applied. - Sedat - [1] https://patchwork.kernel.org/patch/10339089/