Commit Graph

369 Commits

Author SHA1 Message Date
virmaior
51102719c9
Merge branch 'gtxaspec:master' into master 2022-07-15 17:54:29 +09:00
Alfonso Gamboa
f7dcb77d01 add irled and headlight toggle 2022-07-14 21:59:39 -07:00
Alfonso Gamboa
636b3ebac2 update checksum 2022-07-14 16:01:45 -07:00
Alfonso Gamboa
dd32a633e9 update read me with max fw version compatability 2022-07-14 16:01:07 -07:00
Alfonso Gamboa
16e3369ef1 fix script and add car changes to conf.dist 2022-07-14 14:14:39 -07:00
Alfonso Gamboa
84c893e593 add car supports for unsupported devices
added support for tto usecar accessory with devices normally unsupported.  You may control it via the command line.  Unsupported devices will not work using the car app.
2022-07-14 13:56:47 -07:00
virmaior
9c065b078f
Update wz_mini_web.sh 2022-07-14 23:39:25 +09:00
Alfonso Gamboa
3fa72158e7 change order of detection for car 2022-07-13 18:16:09 -07:00
Alfonso Gamboa
77a4bdd8f0 add support for car fw and enable drivers 2022-07-13 18:02:17 -07:00
Alfonso Gamboa
7e56f96e44 include curl 2022-07-13 16:31:44 -07:00
virmaior
815afe9083
Create wz_mini_web.sh 2022-07-13 21:03:30 +09:00
virmaior
df22da013b
Create wz_mini_web.css
css part
2022-07-13 21:02:32 +09:00
Alfonso Gamboa
68b0e2092e new libcallback release 2022-07-13 02:49:26 -07:00
Alfonso Gamboa
79b4b6aaa3 remove atbm log disable statement, we set this using a kernel module parameter now 2022-07-08 19:38:15 -07:00
Claude Meyer
eacf29d905 added support for multiple custom scripts by simply creating them in wz_mini/etc/rc.local.d 2022-07-08 21:12:11 -05:00
Alfonso Gamboa
3dcece0b60 update kernel, modules, and add cp210x serial drivers for car 2022-07-08 19:04:02 -07:00
Alfonso Gamboa
84979cbbbd revert libcallback soundcard changes, updated kernel fixed issue 2022-07-08 18:34:49 -07:00
Alfonso Gamboa
1b924ac39a adjust imp_helper run delay 2022-07-08 17:58:50 -07:00
Alfonso Gamboa
fe1a2f1497 disable wifi driver debug information
disable all debug output from wifi drivers, reducing dmesg log spam
2022-07-08 17:53:54 -07:00
Alfonso Gamboa
c9acdc25bc improve the method of setting variables via the impdbg utility 2022-07-08 17:49:17 -07:00
Alfonso Gamboa
a901c24868 Prepare support to enable fsck.vfat on boot 2022-07-08 16:28:07 -07:00
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
Alfonso Gamboa
3d63b6195e fix v4l2rtspserver ioctl errors 2022-06-12 13:49:27 -07:00
Alfonso Gamboa
996470ff44 script housekeeping and updates 2022-06-12 02:29:12 -07:00
Alfonso Gamboa
9783c33d2a remove root password for debugging 2022-06-12 01:15:17 -07:00
Alfonso Gamboa
449e3eb652 update debug info 2022-06-12 00:29:13 -07:00
Alfonso Gamboa
8309df4d2e don't wait for iCamera to mount mmc in wz_user 2022-06-12 00:27:59 -07:00
Alfonso Gamboa
280491d3e8 add user utility to gather logs for debugging 2022-06-11 20:48:20 -07:00
Alfonso Gamboa
48ce0b6ab7 update cmd with new commands 2022-06-11 20:47:50 -07:00
Alfonso Gamboa
35d106a5c5 add function to delete logs older than 5 boots 2022-06-11 04:36:46 -07:00
Alfonso Gamboa
f37d3a6880 fix module loading order for usb-direct mode 2022-06-08 22:08:00 -07:00
Alfonso Gamboa
d59885eed2 update ffmpeg binary to support mp3 2022-06-08 01:54:24 -07:00
Alfonso Gamboa
1c889f13cc fix imp_control for v2 2022-06-07 19:44:35 -07:00
Alfonso Gamboa
3ab50eb989 add tuning support for imp 2022-06-07 15:51:49 -07:00
Alfonso Gamboa
a933aa9327 add kernel message for local console 2022-06-07 01:50:25 -07:00
Alfonso Gamboa
11c9132d82 add notes to wz_user.sh 2022-06-05 21:11:54 -07:00
Alfonso Gamboa
14c853dc35 fix rtmp stream execution 2022-06-04 06:28:19 -07:00
Alfonso Gamboa
d48578df86 fix rtsp variables for v2 2022-06-04 06:09:50 -07:00
Alfonso Gamboa
8ee7a39e1a make sure we always use latest upgrade script 2022-06-04 05:08:18 -07:00
Alfonso Gamboa
e3091085e5 enhance upgrade script to install the latest version of itself upon extraction 2022-06-04 04:43:23 -07:00
Alfonso Gamboa
80df3561e9 expand and improve rtmp streaming 2022-06-04 04:25:37 -07:00
Alfonso Gamboa
7a108fc734 fix upgrade script when there are line differences between the old and new configs, keep the old config 2022-06-04 04:25:15 -07:00
Alfonso Gamboa
041e7d2663 add volume control 2022-06-04 04:11:59 -07:00
Alfonso Gamboa
429243ed69 update ffmpeg to support hls protocol 2022-06-04 04:00:47 -07:00
Alfonso Gamboa
9e48c98743 add webcam mode for v2 camera 2022-06-04 01:14:37 -07:00
Alfonso Gamboa
6bedd478b5 forgot to fix variables with config changes, fixed and added v2 webcam support 2022-06-04 00:52:47 -07:00
Alfonso Gamboa
6884ad2337 add configs dir to upgrade script 2022-06-01 22:23:14 -07:00
Alfonso Gamboa
a7654ef3df fix audio prompts on panv2 2022-06-01 22:02:14 -07:00
Alfonso Gamboa
47df7e4b3d create configs directory 2022-06-01 22:01:30 -07:00
Alfonso Gamboa
3fb2f409c5 move rtmp-stream.sh to PATH /bin 2022-06-01 00:59:46 -07:00
Alfonso Gamboa
d20d1a23a3 add user selectable ethernet modules to config 2022-05-31 23:46:24 -07:00