Skip to content

Commit

Permalink
ipq40xx: add Teltonika RUTX50
Browse files Browse the repository at this point in the history
devpath is only a guess
  • Loading branch information
herbetom committed Sep 2, 2023
1 parent 3de70cc commit e37aa4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/gluon-core/luasrc/lib/gluon/upgrade/250-cellular
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ elseif platform.match('ath79', 'nand', {
setup_ncm_qmi('/dev/ttyACM0', 'ncm', 15)
elseif platform.match('ipq40xx', 'generic', {
'glinet,gl-ap1300',
'teltonika,rutx50',
}) then
setup_ncm_qmi('/dev/cdc-wdm0', 'qmi', 15)
elseif platform.match('ramips', 'mt7621', {
Expand Down
1 change: 1 addition & 0 deletions package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function M.is_cellular_device()
return true
elseif M.match('ipq40xx', 'generic', {
'glinet,gl-ap1300',
'teltonika,rutx50',
}) then
return true
elseif M.match('ramips', 'mt7621', {
Expand Down
7 changes: 7 additions & 0 deletions targets/ipq40xx-generic
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ device('plasma-cloud-pa2200', 'plasmacloud_pa2200', {
})


-- Teltonika

device('teltonika-rutx50', 'teltonika_rutx50', {
factory = false,
})


-- ZyXEL

device('zyxel-nbg6617', 'zyxel_nbg6617')
Expand Down

0 comments on commit e37aa4a

Please sign in to comment.