Adeeb Shihadeh
d92c9aef23
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh
d4bd0a3213
tici: let gpu sleep sooner ( #28698 )
...
Co-authored-by: Comma Device <device@comma.ai >
2023-06-25 19:05:58 -07:00
Adeeb Shihadeh
111b4eee30
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
2023-06-16 13:22:30 -07:00
Adeeb Shihadeh
951bab8e18
AGNOS 7 ( #26908 )
...
* agnos 7
* no caibx
* new build
* agnos 7.1
* prod manifest
2023-05-12 17:22:09 -07:00
Robbe Derks
21bcd7db63
Dynamic device type ( #28011 )
...
* tizi_device_type
* fix test
* also change it in the C versin
2023-05-04 12:12:01 +02:00
Adeeb Shihadeh
8a6312ef14
pandad: support GPIO recovery when in bootstub ( #28090 )
...
pandad: recover when in bootstub
Co-authored-by: Comma Device <device@comma.ai >
2023-05-03 20:27:32 -07:00
Adeeb Shihadeh
f832a71038
pandad: wait for internal panda to come up ( #27705 )
...
* pandad: wait for internal panda to come up
* test
* more checks
2023-04-14 14:18:13 -07:00
Adeeb Shihadeh
8f1753aaab
tizi: enable fan for shutdown ( #27890 )
...
* tizi: enable fan for shutdown
* Update system/hardware/tici/hardware.py
---------
Co-authored-by: Comma Device <device@comma.ai >
2023-04-13 15:35:07 -07:00
Adeeb Shihadeh
fdb3488f6b
tizi: only affine panda USB IRQ when it's used ( #27816 )
...
only affine panda USB IRQ when it's used
Co-authored-by: Comma Device <device@comma.ai >
2023-04-05 21:08:14 -07:00
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 >
2023-04-05 16:35:27 -07:00
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 >
2023-03-24 16:48:07 -07:00
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 >
2023-01-01 19:47:02 -08:00
Adeeb Shihadeh
3d44b6b3ac
alt amp config ( #26858 )
...
* alt amp config
* fix
* not executable
* comment
* consistency
Co-authored-by: Comma Device <device@comma.ai >
2023-01-01 19:15:44 -08:00
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 baf9887e2d3e7dce8c24a93e970bb5a2d3609d50.
* Revert "use pactl package"
This reverts commit 0c1f3a4b865e44052affa57323ae4a21d274d6e3.
* Revert "micd: don't update filtered sound level if playing sound (#26652 )"
This reverts commit 86cd919a57 .
* Revert "check micd proc"
This reverts commit 9ebbe2aa42bdfd2f7f8bf226978a518d984fb154.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2022-12-02 15:25:34 -08:00
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
2022-12-01 12:52:06 -08:00
Adeeb Shihadeh
4478241bea
spi goes on boardd core
2022-11-21 17:17:36 -08:00
Adeeb Shihadeh
b549e8174e
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
2022-11-10 21:10:34 -08:00
Adeeb Shihadeh
8ba9a5107b
boardd: SPI support ( #26374 )
...
* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai >
2022-11-08 13:21:07 -08:00
Adeeb Shihadeh
1f5187892f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai >
2022-10-07 10:39:11 -07:00
Adeeb Shihadeh
dc65f8a60a
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
2022-09-22 15:56:17 -07:00
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 >
2022-09-12 22:29:31 -07:00
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
2022-08-31 21:13:53 -07:00
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
2022-08-30 11:20:55 -07:00
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
2022-07-28 14:58:23 +02:00
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 >
2022-06-27 15:33:46 +02:00
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
2022-06-11 16:38:24 -07:00