Commit Graph

298 Commits

Author SHA1 Message Date
Alfonso Gamboa
9d618c6a99 add wifi driver support for atomcam2 testing 2022-07-07 22:14:57 -07:00
Alfonso Gamboa
9e73f7d252 update libcallback.so
Fix a bug only present in wyze devices, which have enhanced soundcard support, conflicting with recent changes to the kernel made for an upcoming libcallback release
2022-07-05 20:26:18 -07:00
Alfonso Gamboa
478b1ceba0 enable libcallback by default
libcallback is now enabled by default..  libcallback commands, such as cmd <function> are now operational, independent of the rtsp server
2022-07-02 02:08:25 -07:00
Alfonso Gamboa
b6276ca1df add comments, clean up 2022-07-02 01:45:13 -07:00
Alfonso Gamboa
973cc4d8e7 update kernel and modules
Update kernel and modules, disabled CONFIG_KALLSYMS_ALL to reduce kernel size, stripped modules of debug symbols
2022-07-02 00:19:11 -07:00
Alfonso Gamboa
6c8f59f741 Reduce log level of 8189 driver
8189 driver spams logs with debug info, reduce the level so only the initialization information is logged.
2022-07-01 21:42:24 -07:00
gtxaspec
f1c0e3725e
Merge pull request #149 from skilau/Fix_Workaround_Issue_145
Fix (workaround) for issue #145.
2022-07-01 20:26:01 -07:00
Alfonso Gamboa
19ff6e3fcd Backup /configs & /params
Backup /configs & /params partitions to <sd_root>/.wz_backup
2022-07-01 20:22:50 -07:00
Scott Kilau
986fcc447d Merge branch 'master' into Fix_Workaround_Issue_145 2022-07-01 15:07:45 -05:00
Alfonso Gamboa
5db0faf000 change wz_post.sh execution order
Change the order in which wz_post.sh runs, before we used to execute right before mounting /configs, now we execute after /configs and /params, but before app_init.sh
2022-07-01 00:06:50 -07:00
Alfonso Gamboa
d87d43241f add DISABLE_MOTOR function for motorized devices 2022-06-30 23:31:32 -07:00
Scott Kilau
1d75c9f4fd Fix (workaround) for issue #145. 2022-06-30 17:35:14 -05:00
Alfonso Gamboa
43f6e7dba8 update t20 modules: 2022-06-29 02:22:50 -07:00
Alfonso Gamboa
de484789ae netfilter on t20 uses modules now 2022-06-29 01:33:46 -07:00
Alfonso Gamboa
999210e385 add 8189es for panv1
Add a newer version of the 8189es driver for the PanV1
2022-06-28 21:39:57 -07:00
Alfonso Gamboa
c5c93d27f2 fix rtmp-stream stalling execution
Run rtmp-stream.sh in the background, preventing wz_user.sh from completing execution
2022-06-27 23:55:27 -07:00
Alfonso Gamboa
f1fe733db6 change libcallback loading
Since we now hook and bind our own copy of app_init.sh, we no longer need to copy iCamera to a staging directory to load libcallback
2022-06-27 23:54:39 -07:00
Alfonso Gamboa
f42a38794e disable rndis if usb ethernet is also enabled
Disable USB RNDIS mode if USB Ethernet support is also enabled.  They are not compatible
2022-06-27 22:07:18 -07:00
Alfonso Gamboa
d330294c1d update wz_mini.conf.dist
Update the wz_mini.conf template with the latest version
2022-06-27 21:35:19 -07:00
gtxaspec
f392d1b109
Merge pull request #103 from skilau/DetectAndAutoLoadEthernetDrivers
Add support for auto detecting the USB Ethernet adapter, and loading its respective driver
2022-06-27 21:02:33 -07:00
Alfonso Gamboa
f4174f39d8 fix watch_up log spam
send output of watch_up.sh to /dev/null unless debug mode is specifically enabled in the script
2022-06-26 20:53:44 -07:00
Alfonso Gamboa
65e839b6a9 update bonding functions, add fail_over_mac option 2022-06-26 20:02:06 -07:00
Alfonso Gamboa
2a0515761f fix variable typos in rtmp scripts 2022-06-26 01:34:05 -07:00
Alfonso Gamboa
7de1b43616 enable wifi drivers on upgrade 2022-06-24 19:11:30 -07:00
Scott Kilau
cb4871b06b Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-24 20:38:33 -05:00
Alfonso Gamboa
13ebe9bc0c update 8189fs module, disable power saving mode 2022-06-24 17:36:13 -07:00
Alfonso Gamboa
ec50893e19 fix upgrades from previous versions 2022-06-24 11:13:40 -07:00
Scott Kilau
983a8d39a6 Fix typos, (ie, missing $'s) 2022-06-24 11:12:41 -05:00
Scott Kilau
d0aae1aed7 Set default Ethernet value to false 2022-06-24 09:29:06 -05:00
Scott Kilau
c69c19621d Create new AUTODETECT variable, so as to be very specific what will happen 2022-06-24 09:25:16 -05:00
Scott Kilau
c58ce37637 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-24 09:22:26 -05:00
Alfonso Gamboa
1fa3b9a88f enable drivers when variable is missing 2022-06-24 00:49:44 -07:00
Alfonso Gamboa
5858bd6e22 fix upgrade mode to prevent deleted wz_mini dir on failed upgrade 2022-06-23 23:46:47 -07:00
Alfonso Gamboa
a571a051bc merge wifi branch: 2022-06-23 23:08:26 -07:00
Alfonso Gamboa
de38d87458 update bonding to work with usb_direct 2022-06-23 21:14:54 -07:00
Alfonso Gamboa
596e48fe10 add branch option to upgrade script 2022-06-23 10:07:24 -07:00
Alfonso Gamboa
660174301c set default config new drivers on 2022-06-22 23:08:52 -07:00
Alfonso Gamboa
61c78d3c72 recompile kernels and corresponding modules, new wifi drivers, iptables conntrack crash fixeds 2022-06-22 22:47:52 -07:00
Alfonso Gamboa
2b74217bb5 add atbm603x driver option to wz_mini.conf 2022-06-22 08:08:16 -07:00
Scott Kilau
20d0995a04 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-21 17:18:15 -05:00
Alfonso Gamboa
cf02d1aeb9 add additional file verification to upgrade-run.sh to prevent broken upgrades 2022-06-21 14:00:11 -07:00
Alfonso Gamboa
f5ed108c62 add dnsmasq 2022-06-21 13:22:41 -07:00
Scott Kilau
98cc19a228 Fix typo. 2022-06-21 09:21:15 -05:00
Scott Kilau
618018fc05 Allow for the user to override the auto-detect Ethernet code.
Also, update README for this change
2022-06-21 09:01:45 -05:00
Scott Kilau
0bd0c36401 Merge branch 'master' into DetectAndAutoLoadEthernetDrivers 2022-06-21 08:45:08 -05:00
Alfonso Gamboa
10a27ca01f fix night drop early boot 2022-06-20 20:25:50 -07:00
Alfonso Gamboa
e3fc6d3f39 fix no rtsp video on old rtsp firmware 2022-06-20 20:25:45 -07:00
Alfonso Gamboa
a4ec416c67 v4l2rtspserver add -F0, don't modify FPS fed by camera 2022-06-20 20:25:38 -07:00
Alfonso Gamboa
b224ebc7dd add unattended flag to upgrade script 2022-06-20 20:25:34 -07:00
Alfonso Gamboa
de3fadebc9 night drop feature 2022-06-20 20:25:31 -07:00
Alfonso Gamboa
33fef73458 remove fd after upgrade script exit 2022-06-20 20:25:28 -07:00
Alfonso Gamboa
7279817608 prep for atbm driver 2022-06-20 20:25:25 -07:00
Alfonso Gamboa
3dca5d188f add night drop feature 2022-06-20 20:25:19 -07:00
Scott Kilau
3638cc8c6a Add in all the rest of the supported USB device ids, this should capture all of what is supported, I believe 2022-06-18 11:53:38 -05:00
Scott Kilau
6ecc33efa3 Add support for auto detecting the USB Ethernet adapter, and loading its respective driver 2022-06-18 01:15:37 -05:00
Scott Kilau
5cd3875d25 Merge branch 'master' into StartAddingSupportForBonding 2022-06-17 09:24:47 -05:00
Alfonso Gamboa
e5fc16696d fix custom hostname issues 2022-06-17 01:22:19 -07:00
Alfonso Gamboa
fb2ba96f5b strip passwords from debug logs users can generate 2022-06-17 01:17:39 -07:00
Alfonso Gamboa
a5fd7dc57f clarity waitMotion motion tagging requirement 2022-06-17 00:24:24 -07:00
Alfonso Gamboa
6c3fd8a067 remove old version upgrade script, fix rare over-write upgrade-script issue 2022-06-17 00:06:01 -07:00
Alfonso Gamboa
7d43095b72 change camera model detection 2022-06-16 23:26:14 -07:00
Scott Kilau
60aa017325 Default bonding to false. 2022-06-16 15:19:32 -05:00
Scott Kilau
bd9433a894 Merge branch 'master' into StartAddingSupportForBonding 2022-06-16 15:15:09 -05:00
Scott Kilau
d94a7637d0 Ensure bonding is only used if ethernet is also used. 2022-06-16 10:50:07 -05:00
Scott Kilau
cdc6119fac If we change the primary interface name, ensure we tell the bonding driver about it. 2022-06-16 10:14:49 -05:00
Alfonso Gamboa
fdd98c170f upgrade fixes 2022-06-16 02:35:39 -07:00
Alfonso Gamboa
044eefd838 test changes to upgrade file 2022-06-16 02:07:19 -07:00
Alfonso Gamboa
466e3ee786 always load latest modules in upgrade mode for audio prompts 2022-06-16 01:45:48 -07:00
Alfonso Gamboa
4e1b1c1a60 flash kernel when upgrading v2 2022-06-16 01:37:54 -07:00
Alfonso Gamboa
fe1d56200a fix upgrade mode audio prompts 2022-06-16 01:27:50 -07:00
Alfonso Gamboa
be472d5afa fix upgrading from old layout 2022-06-16 01:15:26 -07:00
Alfonso Gamboa
50d451dec5 fix paths due to adjustments in upgrade-run 2022-06-16 01:07:19 -07:00
Alfonso Gamboa
b4f1416e18 final v2 kernel module set 2022-06-16 00:54:12 -07:00
Alfonso Gamboa
9cc17176e6 final t31 module set 2022-06-15 23:38:42 -07:00
Alfonso Gamboa
143122c793 update kernel to match modules 2022-06-15 23:37:27 -07:00
Alfonso Gamboa
23c3b926da fix module loading 2022-06-15 23:37:04 -07:00
Alfonso Gamboa
be160e323e add mmc vendor info 2022-06-15 23:32:20 -07:00
Alfonso Gamboa
b17e2ccd24 add new ENABLE_RTL8189FS_DRIVER option 2022-06-15 19:54:38 -07:00
Alfonso Gamboa
e4b424c989 revise extra kernel modules path 2022-06-15 19:47:29 -07:00
Scott Kilau
adaa3ccf0b Start to parameterize the Binding values, so users can select them or not. 2022-06-15 21:14:39 -05:00
Alfonso Gamboa
58afbccded move upgrade-run.sh to PATH 2022-06-15 19:13:58 -07:00
Alfonso Gamboa
6a9ff97110 add new driver for rtl8189ftv that solves netfilter crashes on T31 2022-06-15 18:55:46 -07:00
Alfonso Gamboa
3debb7756f fix RTL871X crash due to netfilter modules 2022-06-15 00:37:28 -07:00
Alfonso Gamboa
72b5e2e399 update init file name 2022-06-15 00:36:41 -07:00
Alfonso Gamboa
beb58dfd55 update t31 kernel modules 2022-06-14 23:09:49 -07:00
Alfonso Gamboa
70a62d3a12 fix dbclient path for scp 2022-06-14 22:48:54 -07:00
Alfonso Gamboa
ddecaa13f8 copy factory app_init.sh to allow user modifications 2022-06-14 22:15:34 -07:00
Scott Kilau
9d78ea2ea6 Add wpa_supplicant daemon that works properly for the wlanold interface.
With this addition, the bonding now works correctly.
Ethernet is used when available/connected, and will fallback to Wifi when not.
As soon as Ethernet does become available again, the bonding will switch to it as priority.
2022-06-14 22:52:17 -05:00
Scott Kilau
2736fc299d Start adding support for Bonding Ethernet and Wifi 2022-06-14 20:26:55 -05:00
Alfonso Gamboa
a88b05c626 enable swap earlier 2022-06-14 01:53:27 -07:00
Alfonso Gamboa
7e8ee5a09c revise path to v2 kernel modules 2022-06-14 01:01:47 -07:00
Alfonso Gamboa
c9577c6fcf adjust impdbg to behave on t31 as it does on t20, staggered launch 2022-06-14 00:26:05 -07:00
Alfonso Gamboa
f827a5fbfe fix audio in upgrade script for HL_PAN2 2022-06-13 02:11:57 -07:00
Alfonso Gamboa
9ea262913e add additional option for rcmode validation 2022-06-12 23:34:41 -07:00
Alfonso Gamboa
d68109d1fe add delay on v2 for impdbg commands 2022-06-12 21:44:13 -07:00
Alfonso Gamboa
124cb02522 add copy of default wz_mini.conf file to etc 2022-06-12 21:12:21 -07:00
Alfonso Gamboa
6b76e278e1 add encoder mode parameter validation check 2022-06-12 21:04:57 -07:00
Alfonso Gamboa
b59f85e206 add kernel modules to diag logs 2022-06-12 18:23:02 -07:00
Alfonso Gamboa
b47c67ec5a delete upgrade dir after failed download 2022-06-12 17:47:15 -07:00
Alfonso Gamboa
edac619ae6 fix usb-direct mode on new config 2022-06-12 17:38:13 -07:00