PDA

View Full Version : wrong hw detection



EnoSat
22-12-23, 23:17
Hi,
why does the log show this information?

< 457.4354> [OpenWebif] -D- tuner '0' 'Availink AVL6261' 'Tuner A'
< 457.4355> [OpenWebif] -D- tuner '1' 'Availink AVL6862' 'Tuner B'
< 457.5102> [OpenWebif] wrong hw detection

Huevos
23-12-23, 15:53
OpenWebIf is not our plugin. You need to ask the plugin author.

el bandido
23-12-23, 16:13
From defaults.py:


def getDefaultRcu():
remotetype = "standard"
if comp_config.misc.rcused.value == 0:
remotetype = "advanced"
else:
try:
# FIXME remove HardwareInfo
from Tools.HardwareInfo import HardwareInfo
if HardwareInfo().get_device_model() in ("xp1000", "formuler1", "formuler3", "et9000", "et9200", "hd1100", "hd1200"):
remotetype = "advanced"
except: # nosec # noqa: E722
print("[OpenWebif] wrong hw detection")
return remotetype

Lol.
I would not lose any sleep over that error!

birdman
23-12-23, 18:27
From defaults.py:


def getDefaultRcu():
remotetype = "standard"
if comp_config.misc.rcused.value == 0:
remotetype = "advanced"
else:
try:
# FIXME remove HardwareInfo
from Tools.HardwareInfo import HardwareInfo
if HardwareInfo().get_device_model() in ("xp1000", "formuler1", "formuler3", "et9000", "et9200", "hd1100", "hd1200"):
remotetype = "advanced"
except: # nosec # noqa: E722
print("[OpenWebif] wrong hw detection")
return remotetype

Lol.
I would not lose any sleep over that error!The error is because there is no get_device_model() entry and never has been one in OpenVix - but there is one in OpenATV and OpenPLi).
So it's really the error message which is wrong.

Huevos
23-12-23, 19:01
The error is because there is no get_device_model() entry and never has been one in OpenVix - but there is one in OpenATV and OpenPLi).
So it's really the error message which is wrong.Feel free to add it.