Actions
Bug #4474
openl1fwd (-remote) tried to read eeprom locally
Status:
In Progress
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/30/2020
Due date:
% Done:
50%
Spec Reference:
Description
THe EEPROM device file is defined in two places:
src/osmo-bts-sysmo/eeprom.c:82:#define EEPROM_DEV "/sys/bus/i2c/devices/i2c-1/1-0050/eeprom"
and
src/osmo-bts-sysmo/misc/sysmobts_par.c:40:#define EEPROM_PATH "/sys/devices/platform/i2c_davinci.1/i2c-1/1-0050/eeprom"
This of course results in errors reading the eeprom, model number band support and calibration tables, that cause osmo-bts-sysmo-remote to error thus:
eeprom fopen: No such file or directory
l1_if.c:1636 Failed to read from EEPROM.
We need some conditional DEFINEs to fix this?
Actions