Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Comma Device
460dd3cc9d
cleanup tici_init in launch script
...
old-commit-hash: 03ac5bb4e3
3 years ago
George Hotz
2621c00ec1
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 814741dafe
3 years ago
Willem Melching
2eded18267
C3: detect metered Android hotspot ( #23734 )
...
* C3: detect metered networks
* show in ui
* fix text layout
* bump cereal
* revert ui changes
* set networkMetered
* add athena method
* add metered logging to uploader
* use in athena uploader
* remove param
* use networkmanager properties to set cell to unmetered
* fix indentation
* no need to check
* bump cereal
* review
* bump cereal
old-commit-hash: da5a0c41a0
3 years ago
Willem Melching
db3eef978f
athena: add suport for download bandwith setting ( #23727 )
...
* athena: add suport for download bandwith setting
* clean ingress rules
old-commit-hash: 0d099e07aa
3 years ago
Willem Melching
fb18d7b789
Add setUploadLimit method to athena ( #23693 )
...
* Add setUploadLimit method to athena
* add comments
* move to hw abstraction layer
* move to hw
* better errors
old-commit-hash: 4c406cdbe5
3 years ago
Willem Melching
efc06c6290
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
old-commit-hash: 3ce4976db7
3 years ago
Adeeb Shihadeh
37985cb592
tici: higher cpu freq while offroad ( #23151 )
...
old-commit-hash: c8e64b2c62
3 years ago
Adeeb Shihadeh
c01f1a8f31
tici: use powersave CPU governor while offroad ( #23146 )
...
* tici: use powersave CPU governor while offroad
* fix path
old-commit-hash: 5e20a46db6
3 years ago
George Hotz
5d990ad509
thermald: track power usage / pmic temps ( #23013 )
...
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6462ced209
3 years ago
Willem Melching
8075022d8e
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
old-commit-hash: 14f0df0f22
4 years ago
Adeeb Shihadeh
18b2d1fee0
thermald: log screen brightness ( #22570 )
...
* thermald: log screen brightness
* bump cereal
old-commit-hash: d708b5b546
4 years ago
Adeeb Shihadeh
afe88f7552
only run get_nvme_temps on C3 ( #22464 )
...
* only run get_nvme_temps on C3
* temperatures
* fix imports
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 493e32431c
4 years ago
Robbe Derks
4827dea04c
Log modem temps on Tici ( #22281 )
...
* log max modem temp
* not sure what happened here
* fix this
* make modem temps a list
* this is not needed
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6117c7ce81
4 years ago
Adeeb Shihadeh
48f53addbf
tici: set amplifier config after exiting power save ( #21920 )
...
old-commit-hash: 3193396969
4 years ago
Willem Melching
cf2f6b964d
Athena getNetworks method ( #21597 )
...
* add iwlist scan
* return using athena
* add lte
* add last one too
* unused
* add release files
* more compact
* typo
* remove debug code
* different file
* array
* rebase mistake
old-commit-hash: a7aa22253b
4 years ago
robbederks
6e867a05cf
Tici: amplifier config ( #21596 )
...
* amplifier config on boot
* add to release
* another spot
* add debug when running separately
* rename for clarity
old-commit-hash: cbae2899df
4 years ago
Willem Melching
d136144d45
hardware: only create dbus objects when needed ( #21576 )
...
* only create dbus objects when needed
* fix typo
* use cached_property
old-commit-hash: 45d4f8301b
4 years ago
Willem Melching
f973c0bc04
cloudlog modem version ( #21562 )
...
* log modem version
* whitespace
old-commit-hash: fb8f0ac092
4 years ago
Willem Melching
30fff7fead
Log gpu usage ( #21404 )
...
* Log gpu usage
* 100 total
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad7f0207ac
4 years ago
Adeeb Shihadeh
28c60666ff
tici: differentiate ethernet and tethering ( #21391 )
...
* differentiate ethernet
* fix tethering
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 050a89e598
4 years ago
Willem Melching
47b1b6042b
add modem state to NetworkInfo
...
old-commit-hash: 7a8c7505d0
4 years ago
Willem Melching
caabd56607
Add engineering output to deviceState.networkInfo ( #20948 )
...
* Add engineering output to deviceState.networkInfo
* update cereal
old-commit-hash: e8641f6430
4 years ago
Willem Melching
46315123bd
get_network_info: check response length
...
old-commit-hash: def141571c
4 years ago
Willem Melching
b3873f00a4
thermald: fetch more detailed network info ( #20928 )
...
old-commit-hash: f6cf350d3a
4 years ago
Adeeb Shihadeh
31d818b39a
tici: offline big cluster while offroad ( #20668 )
...
* tici: offline big cluster while offroad
* shuffling
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9edda6fbc1
4 years ago
Adeeb Shihadeh
4fef6d01a6
tici power saving ( #20644 )
...
* start power saving
* set power save in thermald
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b0bd123445
4 years ago
Adeeb Shihadeh
b3f8b886cb
fix tici sound card check
...
old-commit-hash: 59ea5eade9
4 years ago
Willem Melching
46ecd68beb
needs to be int
...
old-commit-hash: ff1cd3de1e
4 years ago
Willem Melching
f0da92ba5c
set brightness, catch exceptions
...
old-commit-hash: 0d02e85873
4 years ago
Willem Melching
3844c5a2e7
tici fix ambient temperature zone
...
old-commit-hash: 0d635bd59d
4 years ago
robbederks
2db03fdbe2
Turn up brightness a little when UI crashes ( #20142 )
...
* implement ui check and brightness set in thermald
* fix bugs
* only set once
* duh
* forgot factor for tici
old-commit-hash: 4c243da019
4 years ago
robbederks
0f73681f8d
Fix tici powerdown and add support for forcing ( #20132 )
...
* also shutdown on tici
* force powerdown
* bump panda
* abstract out shutdown and thermal config
* add comment on tici shutdown
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ad1c793d1
4 years ago
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
4 years ago
Willem Melching
946b669ec5
Qt ui: set timeout on all dbus interfaces in wifiManager ( #20090 )
...
* set timeout on all dbus interfaces in network
* fix hardcoded timeout
* lower timeout in thermald
old-commit-hash: cf3cd54b68
4 years ago
Adeeb Shihadeh
43d680c9c5
add device type to clouglog ctx ( #19890 )
...
* add device type to clouglog ctx
* remove is_eon
* str
old-commit-hash: c9679222ae
4 years ago
Adeeb Shihadeh
c20cd542eb
uninstall from qt offroad ( #19538 )
...
* more offroad
* implement uninstall
* just uninstall for now
old-commit-hash: 8d9be50bcc
4 years ago
Adeeb Shihadeh
80d2ba19c0
tici: implement sound check
...
old-commit-hash: 97b2eae01f
4 years ago
Willem Melching
4fb90a9722
Add timeout to dbus calls
...
old-commit-hash: cd6f26664c
4 years ago
Willem Melching
5a1f57c490
Add exception handlers to dbus network stats
...
old-commit-hash: dbd7b10bae
4 years ago
Adeeb Shihadeh
349429836c
agnos updater ( #2600 )
...
* agnos updater
* add manifest
* fix path
* get manifest from overlay
* update manifest
* remove merge markers
* add streaming decompressor
* dont need read all
* Unsparsify
* Fix output filename
* Optimization
* cleanup
* Small cleanup
* Read manifest from merged overlay
* Write hash at end of partition
* Sync before writing hash
* Write bytes in file
* add manifest with image sizes
* Fix manifest path
* File was closed already
* Format string
* Put raw hash
* Read hashes in launch script
* update launch script
* should be agnos version
* fix slot
* Make sure we clear the hash
* Verify partition size
* move updated
* Standalone flasher
* Don't rely on ordering
* Get path
* Debug log
* Download agnos
* Info is enough
* update manifest
* Remove f
* Check downloader return code
* Exit on wrong manifest
* Fix typos
* Set pythonpath before hardware init
* move agnos into hardware folder
* remove comments
* Fix abstractmethod
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b276881fcd
4 years ago
Adeeb Shihadeh
c4bff3f93b
manager cleanup ( #2634 )
...
* start cleanup
* add uninstall to hw abstraction layer
* cleanup
* litte more
* don't build at import time
* fix tests
* don't build by default
* sync
old-commit-hash: 220853730d
4 years ago
Adeeb Shihadeh
b950cab874
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
4 years ago
Adeeb Shihadeh
d5ad6237cf
Revert "Handle python-dbus not installed"
...
This reverts commit fd22f01b1f21005846bef211851d17f602a7c600.
old-commit-hash: a2c6fdd14c
4 years ago
Willem Melching
d47396f4da
Handle python-dbus not installed
...
old-commit-hash: 25054cdc05
4 years ago
Willem Melching
442c569812
hardware.py: get network info over dbus ( #2727 )
...
* Get network stuff using dbus
* most people would call EDGE 2G
* Small cleanup
old-commit-hash: c3b5ef8d4b
4 years ago
robbederks
3209380a23
Move thermald hardware calls into HW abstraction layer ( #2630 )
...
* abstracted away hardware calls
* oopsie
* remove bugs
* remove bugs #2
* fix unit test
* removed print
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e64484aecd
4 years ago
Willem Melching
bc62d8c2e2
tici: reboot
...
old-commit-hash: 3fe3ec7949
5 years ago
Willem Melching
d455516765
Tici hardware abstraction layer ( #2183 )
...
* rename android hardware
* add tici class
* elif
* read correct serial number
* Update release files
* Get IMEI
* Refactor AT command
* move get_cmdline into base class
* Remove unused import
* Small cleanup
old-commit-hash: c90cb1b529
5 years ago
Willem Melching
fffb8042a6
hardware.py: PC is wifi so uploader works
...
old-commit-hash: c8e0cd3ddd
5 years ago