Adeeb Shihadeh
038d34aa7f
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
c25ce02639
tici: turn off fan after boot ( #27680 )
...
* tici: turn off fan after boot
* tmp if
---------
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
922bedaf47
tici: remove hardcoded max brightness ( #26859 )
...
* tici: remove hardcoded max brightness
* fix that one
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
3d44b6b3ac
alt amp config ( #26858 )
...
* alt amp config
* fix
* not executable
* comment
* consistency
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Shane Smiskol
060b69ee2f
micd: revert check playing sound (high cpu usage) ( #26672 )
...
* don't use hardware
* check micd proc
* use pactl package
* cleanup
* Revert "cleanup"
This reverts commit baf9887e2d
.
* Revert "use pactl package"
This reverts commit 0c1f3a4b86
.
* Revert "micd: don't update filtered sound level if playing sound (#26652 )"
This reverts commit 86cd919a57
.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42
.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Cameron Clough
86cd919a57
micd: don't update filtered sound level if playing sound ( #26652 )
...
* add is_sound_playing to hardware.py
* micd: don't update filtered sound level if playing sound
2 years ago
Adeeb Shihadeh
4478241bea
spi goes on boardd core
2 years ago
Adeeb Shihadeh
b549e8174e
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
2 years ago
Adeeb Shihadeh
8ba9a5107b
boardd: SPI support ( #26374 )
...
* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
1f5187892f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
dc65f8a60a
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
3 years ago
Willem Melching
84a3c355e5
sensord: use interrupts to improve LSM6DS3 timing accuracy ( #24525 )
...
* change LSM6DS3TR(-c) gyroscope and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
3 years ago
Adeeb Shihadeh
28cb1897cb
USB power mode cleanup ( #25619 )
...
* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
3 years ago
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
Willem Melching
b2c1098cd8
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
3 years ago
Robbe Derks
684d4b75a1
Log SOM power draw ( #24975 )
...
* log SOM power draw
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Adeeb Shihadeh
5f00c6eca7
tici: always configure modem as data-centric ( #24663 )
...
According to the Quectel docs, this is how it should be configured
for both AT&T and T-Mobile (and likely any other carriers).
3 years ago
Adeeb Shihadeh
4ef94a436f
affine aux panda IRQ to boardd core ( #24600 )
3 years ago
Adeeb Shihadeh
6a48a7acef
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
3 years ago
George Hotz
ed3be29bfa
no encoder throttle ( #24457 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
59134c05d6
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
b88fb037ab
tici downclock ( #24088 )
...
* tici downclock
* fix that
* gp ref
* lower that a bit
* that was a scam
* perf
* update power
* increase that
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
c1388636a2
comma three: correctly set initial EPS bearer settings for AT&T sim cards ( #24175 )
...
* 3g sunset
* only for blue prime
* pass
* full att code
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
cf6c0ef19a
tici IRQ tuning ( #24170 )
...
* first pass
* move that back
* move that
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
be35caca61
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
3 years ago
Adeeb Shihadeh
aeb98b3937
bunch of gpu config ( #23932 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
8af20af66d
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
3 years ago
Comma Device
03ac5bb4e3
cleanup tici_init in launch script
3 years ago
George Hotz
814741dafe
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
da5a0c41a0
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
3 years ago
Willem Melching
0d099e07aa
athena: add suport for download bandwith setting ( #23727 )
...
* athena: add suport for download bandwith setting
* clean ingress rules
3 years ago
Willem Melching
4c406cdbe5
Add setUploadLimit method to athena ( #23693 )
...
* Add setUploadLimit method to athena
* add comments
* move to hw abstraction layer
* move to hw
* better errors
3 years ago
Willem Melching
3ce4976db7
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
3 years ago
Adeeb Shihadeh
c8e64b2c62
tici: higher cpu freq while offroad ( #23151 )
3 years ago
Adeeb Shihadeh
5e20a46db6
tici: use powersave CPU governor while offroad ( #23146 )
...
* tici: use powersave CPU governor while offroad
* fix path
3 years ago
George Hotz
6462ced209
thermald: track power usage / pmic temps ( #23013 )
...
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
14f0df0f22
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
4 years ago
Adeeb Shihadeh
d708b5b546
thermald: log screen brightness ( #22570 )
...
* thermald: log screen brightness
* bump cereal
4 years ago
Adeeb Shihadeh
493e32431c
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>
4 years ago
Robbe Derks
6117c7ce81
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>
4 years ago
Adeeb Shihadeh
3193396969
tici: set amplifier config after exiting power save ( #21920 )
4 years ago
Willem Melching
a7aa22253b
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
4 years ago
robbederks
cbae2899df
Tici: amplifier config ( #21596 )
...
* amplifier config on boot
* add to release
* another spot
* add debug when running separately
* rename for clarity
4 years ago
Willem Melching
45d4f8301b
hardware: only create dbus objects when needed ( #21576 )
...
* only create dbus objects when needed
* fix typo
* use cached_property
4 years ago
Willem Melching
fb8f0ac092
cloudlog modem version ( #21562 )
...
* log modem version
* whitespace
4 years ago
Willem Melching
ad7f0207ac
Log gpu usage ( #21404 )
...
* Log gpu usage
* 100 total
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
050a89e598
tici: differentiate ethernet and tethering ( #21391 )
...
* differentiate ethernet
* fix tethering
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
7a8c7505d0
add modem state to NetworkInfo
4 years ago
Willem Melching
e8641f6430
Add engineering output to deviceState.networkInfo ( #20948 )
...
* Add engineering output to deviceState.networkInfo
* update cereal
4 years ago