Search Linux Wireless

Re: NXP NFC version and ACPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 14, 2019 at 10:17 AM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:
>
> On 14/05/2019 09:49, Sedat Dilek wrote:
> > On Tue, May 14, 2019 at 8:43 AM Daniel Lezcano
> > <daniel.lezcano@xxxxxxxxxx> wrote:
> > [...]
> >
> >> The nxp-nci kernel module is loaded and neard is installed.
> >
> > You have to...
> >
> > # modprobe -v nxp-nci_i2c
> >
> > # lsmod | egrep 'nfc|nci|nxp|i2c' | sort
> > i2c_algo_bit           16384  1 i915
> > i2c_dev                24576  0
> > i2c_i801               32768  0
> > nci                    77824  2 nxp_nci,nxp_nci_i2c
> > nfc                   131072  16 nci,nxp_nci
> > nxp_nci                16384  1 nxp_nci_i2c
> > nxp_nci_i2c            16384  0
> > rfkill                 28672  10 nfc,bluetooth,thinkpad_acpi,cfg80211
>
> I have the same modules except 'rfkill'
>
> > # modinfo nxp_nci_i2c
> > filename:
> > /lib/modules/5.1.1-1-amd64-iniza/kernel/drivers/nfc/nxp-nci/nxp-nci_i2c.ko
> > author:         Oleg Zhurakivskyy <oleg.zhurakivskyy@xxxxxxxxx>
> > author:         Clément Perrochaud <clement.perrochaud@xxxxxxx>
> > description:    I2C driver for NXP NCI NFC controllers
> > license:        GPL
> > alias:          i2c:nxp-nci_i2c
> > alias:          acpi*:NXP7471:*
> > alias:          acpi*:NXP1001:*
> > alias:          of:N*T*Cnxp,nxp-nci-i2cC*
> > alias:          of:N*T*Cnxp,nxp-nci-i2c
> > depends:        nci,nxp-nci
> > retpoline:      Y
> > intree:         Y
> > name:           nxp_nci_i2c
> > vermagic:       5.1.1-1-amd64-iniza SMP mod_unload modversions
>
> Same result for the modinfo.
>
> -----
>
> So the first time I run:
>
> [mark]
> nfctool -d nfc0 -p
> Start polling on nfc0 as initiator
>
> With an error in syslog/dmesg:
> nci: nci_ntf_packet: unknown ntf opcode 0x0
>
>
> The second time:
>
> nfctool -p -d nfc0
> Protocol error
>
> With an error in syslog/dmesg:
> nci: nci_start_poll: failed to set local general bytes
>
> Then I do:
>
> nfctool -0 -d nfc0
>
> it returns to point [mark]
>

I cannot help with (debugging) nci.

I had all I2C and GPIO debug Kconfigs enabled to see a bit more
informations in the logs.
Maybe that helps you.

- Sedat -




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux