From 0cdaeaa0c92bf333121f9b93db66ceacf9ae9844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Fri, 23 Sep 2022 18:19:40 +0200 Subject: [PATCH] ath79-generic: add LibreRouter v1 add comments about lacking radios Co-authored-by: Jan-Niklas Burfeind Co-authored-by: Matthias Schiffer --- docs/user/supported_devices.rst | 8 ++++++++ package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 54b8e26e..5f5c0aed 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -57,6 +57,10 @@ ath79-generic - JT-OR750i +* LibreRouter + + - LibreRouter v1 [#missing_radios]_ + * Netgear - WNDR3700 (v1, v2) @@ -500,6 +504,10 @@ Footnotes .. [#lan_as_wan] All LAN ports on this device are used as WAN. +.. [#missing_radios] + This device contains more than two WLAN radios, which is currently + unsupported by Gluon. Only the first two radios will work. + .. [#modular_ethernet] These devices follow a modular principle, which means even basic functionality like ethernet is provided by an expansion-board, diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index 3301319e..e3dae295 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -25,6 +25,7 @@ end function M.is_outdoor_device() if M.match('ath79', 'generic', { 'devolo,dvl1750x', + 'librerouter,librerouter-v1', 'plasmacloud,pa300', 'plasmacloud,pa300e', 'tplink,cpe210-v1', diff --git a/targets/ath79-generic b/targets/ath79-generic index 5fe00861..73ab69f3 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -180,6 +180,12 @@ device('joy-it-jt-or750i', 'joyit_jt-or750i', { factory = false, }) +-- LibreRouter + +-- lacks support for additional radios +device('librerouter-v1', 'librerouter_librerouter-v1', { + factory = false, +}) -- Netgear