Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #76318 > unrolled thread
| Started by | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| First post | 2022-09-19 16:10 +0200 |
| Last post | 2022-09-21 10:40 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.debian.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#1020276: linux-image-5.19.0-1-amd64: NFC device not detected Diederik de Haas <didi.debian@cknow.org> - 2022-09-19 16:10 +0200
Bug#1020276: linux-image-5.19.0-1-amd64: NFC device not detected Diederik de Haas <didi.debian@cknow.org> - 2022-09-19 16:30 +0200
Bug#1020276: linux-image-5.19.0-1-amd64: NFC device not detected Diederik de Haas <didi.debian@cknow.org> - 2022-09-21 10:40 +0200
| From | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| Date | 2022-09-19 16:10 +0200 |
| Subject | Bug#1020276: linux-image-5.19.0-1-amd64: NFC device not detected |
| Message-ID | <F7pDb-8DPX-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On maandag 19 september 2022 09:46:41 CEST Oliver Sander wrote: > I have a ThinkPad X1 Yoga (4th gen). It has an NFC device built in. > The NFC device appears in the BIOS, and it is enabled there. > However, I cannot see it from Debian at all. Neither lsusb nor > lspci show anything ressembling an NFC device. I would gladly help > to debug this, but I don't know what to do in such a situation. What is needed is finding out which NFC chip(s/set) is being used in your device. Assuming it is supported on Linux, it could be as simple as enabling a kernel config option. I'm guessing the device came initially with Windows and if you still have that, it could be that it can tell you which NFC hardware is being used. Another option is asking Lenovo directly. You could also try "modprobe nfc" and see whether dmesg (f.e.) outputs something which would give a clue as to the NFC hardware.
[toc] | [next] | [standalone]
| From | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| Date | 2022-09-19 16:30 +0200 |
| Message-ID | <F7pWx-8DWz-1@gated-at.bofh.it> |
| In reply to | #76318 |
[Multipart message — attachments visible in raw view] — view raw
On maandag 19 september 2022 15:55:13 CEST Diederik de Haas wrote: > What is needed is finding out which NFC chip(s/set) is being used in your > device. Assuming it is supported on Linux, it could be as simple as enabling > a kernel config option. Right after sending that I found https://wiki.archlinux.org/title/ Lenovo_ThinkPad_X1_Yoga_(Gen_4)#NFC which points to https://github.com/nfc-tools/libnfc/issues/455 and from that it seems highly likely that the chip that is used is a NXP NCP300 and is likely/probably using an I2C interface. In drivers/nfc/nxp-nci/Kconfig there are 2 options: - NFC_NXP_NCI which mentions NPC300 explicitly - NFC_NXP_NCI_I2C which is needed when an I2C interface is used. If you know how to build a Debian kernel, you can add those 2 options and verify whether that indeed makes your NFC device available (and working).
[toc] | [prev] | [next] | [standalone]
| From | Diederik de Haas <didi.debian@cknow.org> |
|---|---|
| Date | 2022-09-21 10:40 +0200 |
| Message-ID | <F83qV-92it-1@gated-at.bofh.it> |
| In reply to | #76319 |
[Multipart message — attachments visible in raw view] — view raw
Hi Oliver, On Monday, 19 September 2022 16:17:28 CEST Diederik de Haas wrote: > On maandag 19 september 2022 15:55:13 CEST Diederik de Haas wrote: > > What is needed is finding out which NFC chip(s/set) is being used in your > > device. Assuming it is supported on Linux, it could be as simple as > > enabling a kernel config option. > > In drivers/nfc/nxp-nci/Kconfig there are 2 options: > - NFC_NXP_NCI which mentions NPC300 explicitly > - NFC_NXP_NCI_I2C which is needed when an I2C interface is used. > > If you know how to build a Debian kernel, you can add those 2 options and > verify whether that indeed makes your NFC device available (and working). I have a Thinkpad (but an X1 4th gen) and found that I apparently also have an NFC chip. https://salsa.debian.org/diederik/linux/-/tree/enable-nfc-bug-1020276 contains the branch I made to enable it. Turns out that NFC_NCI is needed as well. Booting into the kernel built with those options and I did see various nxp modules being loaded and it also showed up in dmesg. The output of `lspci` and `lsusb` didn't change however.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web