bambuddy/spoolbuddy/daemon
maziggy c1123365da fix(spoolbuddy): tolerate SPI_NO_CS rejection on Pi 5 (#1424)
Reporter on a Raspberry Pi 5 couldn't read NFC tags — gauge worked,
  SPI bus and wiring fine, but PN5180 transfers didn't complete.
  Manually commenting out `self._spi.no_cs = True` restored
  communication. Root cause: Pi 5's RP1 southbridge SPI driver
  (spi-rp1) doesn't honour the SPI_NO_CS ioctl the way the historical
  Broadcom driver on Pi 4 did.

  Safe to relax Pi-wide. SpoolBuddy's PN5180 NSS line is wired to
  GPIO23 (manual CS in _cs_low / _cs_high — the kernel's default
  auto-CS timing doesn't meet the PN5180's 5µs setup / 100µs hold
  spec). The hardware CE0 line (GPIO8) is not connected to the
  reader, so whether the kernel auto-toggles it is electrically
  invisible. The no_cs = True call was always cosmetic on this
  hardware.

  Wraps the assignment in try/except OSError in both the daemon and
  the diagnostic script; the daemon logs at debug level so future
  Pi-5-specific triage is greppable. README updated to drop the
  "spidev.no_cs = True resolves this" sentence and explain the
  manual GPIO23 CS scheme carries the timing on its own.
2026-05-19 12:33:33 +02:00
..
systemd Add systemd script for Spoolbuddy daemon 2026-02-22 15:42:05 +01:00
__init__.py Fix SpoolBuddy daemon reporting stale version in update check 2026-03-22 13:08:45 +01:00
api_client.py Add SpoolBuddy System tab with live OS stats from Raspberry Pi 2026-03-26 09:57:09 +01:00
config.py Fix SpoolBuddy scale calibration lost after reboot 2026-03-01 13:27:04 +01:00
display_control.py fix(spoolbuddy): apply screen-blank timeout changes live without kiosk restart 2026-05-05 13:50:08 +02:00
main.py Draft commit message: 2026-05-03 09:22:35 +02:00
nau7802.py Spoolbuddy init and diagnostic improvements (#814) 2026-03-26 16:16:09 +01:00
nfc_reader.py Fix SpoolBuddy NFC write rejecting NTAG 215 tags with SAK=0x04 2026-03-25 13:10:11 +01:00
pn5180.py fix(spoolbuddy): tolerate SPI_NO_CS rejection on Pi 5 (#1424) 2026-05-19 12:33:33 +02:00
scale_reader.py Fix SpoolBuddy scale first reading and extract hardware drivers 2026-03-25 11:57:28 +01:00
system_stats.py Add SpoolBuddy System tab with live OS stats from Raspberry Pi 2026-03-26 09:57:09 +01:00
tag_parser.py Add SpoolBuddy integration as optional filament management add-on 2026-02-22 15:27:54 +01:00