You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:** Unlike the `.deb` and `.rpm` packages, the tar.gz installation requires manual setup of the PC/SC daemon. If you see "No readers found", ensure `pcscd` is running (`systemctl status pcscd`).
102
102
103
-
**Atomic Linux Distributions (Fedora Silverblue, Kinoite, etc.) with Distrobox:**
103
+
**Kernel Module Fix (tar.gz installations only)**
104
104
105
-
For immutable/atomic distributions, you can run NFC Agent inside a distrobox container while applying kernel fixes on the host OS:
105
+
The `.deb` and `.rpm` packages automatically install the kernel module blacklist and unload conflicting modules. For tar.gz installations, you need to do this manually:
106
106
107
-
1.**On the host OS** - Apply the kernel module blacklist (required for ACR122U and similar readers):
108
-
```bash
109
-
# Create blacklist file on the host
110
-
echo -e "blacklist pn533_usb\nblacklist pn533\nblacklist nfc"| sudo tee /etc/modprobe.d/blacklist-pn533.conf
3.**Run from distrobox** - Start NFC Agent from within the container:
129
-
```bash
130
-
distrobox enter fedora
131
-
nfc-agent
132
-
```
114
+
# Restart PC/SC daemon
115
+
sudo systemctl restart pcscd
116
+
```
133
117
134
-
> **Note:**The kernel module blacklist must be applied on the host OS because the kernel is shared between the host and containers. The pcscd service also runs on the host and is accessible from within distrobox.
118
+
> **Atomic Distributions (Fedora Silverblue, Kinoite, etc.):**You can run NFC Agent inside a distrobox container. Install the `.rpm` package in the container—the blacklist file will be installed to the shared `/etc/modprobe.d/` on the host. Alternatively, apply the kernel module fix manually on the host OS, then run `nfc-agent`from the container.
135
119
136
120
## Quick Start
137
121
@@ -308,28 +292,11 @@ NFC Agent uses the PC/SC (Personal Computer/Smart Card) interface to communicate
308
292
```
309
293
3. Try unplugging and reconnecting the reader
310
294
311
-
**Linux: Kernel NFC modules conflict (ACR122U)**
312
-
313
-
The Linux kernel's NFC subsystem (`pn533_usb`) may claim ACR122U readers before pcscd can access them. Check with:
314
-
```bash
315
-
lsmod | grep pn533
316
-
```
295
+
**Linux: Kernel NFC modules conflict**
317
296
318
-
If modules are loaded, unload them and blacklist:
319
-
```bash
320
-
# Temporary fix
321
-
sudo modprobe -r pn533_usb pn533 nfc
322
-
sudo systemctl restart pcscd
297
+
The Linux kernel's NFC subsystem may claim certain readers before pcscd can access them. The `.deb` and `.rpm` packages handle this automatically. For tar.gz installations, check with `lsmod | grep pn533`—if modules are loaded, follow the **Kernel Module Fix** steps in the [Linux installation section](#linux).
323
298
324
-
# Permanent fix - create blacklist file
325
-
echo -e "blacklist pn533_usb\nblacklist pn533\nblacklist nfc"| sudo tee /etc/modprobe.d/blacklist-pn533.conf
326
-
```
327
-
328
-
**Arch Linux with ACS readers:** Install the `acsccid` driver from AUR:
329
-
```bash
330
-
yay -S acsccid
331
-
sudo systemctl restart pcscd
332
-
```
299
+
**Arch Linux with ACS readers:** Install the `acsccid` driver from AUR (`yay -S acsccid`) and restart pcscd.
0 commit comments