Fix I2C addresses in TUI demo and device screen

demo.py: hotplug mock used [0x08, 0x50, 0x51, 0x61], corrected to
[0x08, 0x10, 0x51] per hardware bus scan. 0x50 was never on the bus;
0x61 was speculative.

device.py: known device map had 0x60 "BCM3440 tuner" and 0x61
"ISL6421 LNB controller" — neither appears on the SkyWalker-1 I2C bus.
Replaced with 0x10 "Tuner / LNB controller" per confirmed scan.
This commit is contained in:
Ryan Malloy 2026-02-17 17:52:03 -07:00
parent 33fe955834
commit 1df2be8a43
2 changed files with 6 additions and 7 deletions

View File

@ -602,14 +602,14 @@ class DemoDevice:
def get_hotplug_status(self, reset: bool = False,
force_scan: bool = False) -> dict:
"""Simulated I2C hot-plug detection."""
# Standard SkyWalker-1 I2C devices: BCM4500 (0x08), EEPROM (0x50),
# tuner (0x61), LNB controller (0x08 shares)
# Standard SkyWalker-1 I2C devices confirmed by bus scan (0xB4):
# BCM4500 demod (0x08), tuner/LNB (0x10), EEPROM (0x51)
bitmap = bytearray(16)
for addr in [0x08, 0x50, 0x51, 0x61]:
for addr in [0x08, 0x10, 0x51]:
bitmap[addr >> 3] |= (1 << (addr & 0x07))
current = bytes(bitmap)
previous = current # no changes in demo
addrs = [0x08, 0x50, 0x51, 0x61]
addrs = [0x08, 0x10, 0x51]
result = {
"current_bitmap": current,
"previous_bitmap": previous,

View File

@ -1163,9 +1163,8 @@ class DeviceScreen(Container):
# Known device identification
known = {
0x08: "BCM4500 demodulator",
0x51: "Boot EEPROM (24Cxx)",
0x60: "BCM3440 tuner",
0x61: "ISL6421 LNB controller",
0x10: "Tuner / LNB controller",
0x51: "24Cxx EEPROM (config/serial)",
}
parts = []
for addr in addresses: