Commit graph

20 commits

Author SHA1 Message Date
Brian Norris
1a653acd21 bluejay: Pull init.insmod.*.cfg from vendor_dlkm
We've started pushing init.insmod.*.cfg into the kernel prebuilts, and
installing it to /vendor_dlkm/etc, but it may not be available on all
prebuilt variants (e.g., kernel 5.10).

Here, we:
1. conditionally install our common init.*cfg to /vendor_dlkm (only if
   $(TARGET_KERNEL_DIR) doesn't have a copy)
2. point init at /vendor_dlkm/etc

When we've cycled completely off of kernel 5.10, we can drop #1.

Bug: 369686096
Test: build, boot
Flag: EXEMPT refactor
Change-Id: Iae1690cbc337bcb3dcf9ccb972c96acd778bb9bc
2024-10-08 20:12:22 +00:00
leonardian
743337bafb conf: Enable access for braking time sysfs nodes
Sysfs nodes:
- braking_time_bank
- braking_time_index
- braking_time_ms

Bug: 325121485
Test: Open sysfs nodes successfully during HAL init
Change-Id: Ib1d4a62bf6e0c88c69869a83196c3e9bd003ef47
Signed-off-by: leonardian <leonardian@google.com>
2024-05-22 02:42:35 +00:00
Jacky Liu
128ba0f817 Update i2c device paths
Update i2c device paths with static bus numbers.
Also remove some redundant paths.

Bug: 323447554
Test: Boot to home
Change-Id: I43e374230258ae172677c993405d15763895a991
Signed-off-by: Jacky Liu <qsliu@google.com>
2024-02-06 16:17:49 +00:00
Matt Buckley
9803eae60b Remove rt_uclamp_min and sf_uclamp_min
rt_uclamp_min and sf_uclamp_min have been made redundant in Pixel by
ADPF for sf, so we are just going to remove them outright rather than
worrying about overriding them later

Bug: 285248880
Test: manual
Change-Id: If0ea3e8031205d23698cea8c2aad4e7b541bee2a
2023-06-01 20:50:35 +00:00
chenkris
54644ec14c Move udfps antispoof property to common g7 folder
Bug: 270657514
Test: authenticate fake finger
Change-Id: Ie67c13f6ab9e420b66a8e1dc77a9b27fcde8b6e6
2023-03-23 07:43:51 +00:00
Kris Chen
c1296ab940 Remove the redundant g7 ta loading in init.xxx.rc
Bug: 264646112
Test: fingerprint works fine after device reboot
Change-Id: Ib0e0d55625d6376289d42ef96bbf067ed17715b9
2023-02-21 15:37:47 +08:00
TreeHugger Robot
9eae21b4c3 Merge "conf: setup vibrator permission and init cs40l26 HAL" 2023-02-04 05:17:05 +00:00
Kris Chen
f8b6eb461e Set /dev/goodix_fp permission on early-boot
Bug: 264497933
Test: Passed PtsFingerprintTest#udfpsHalStateCheck.
Change-Id: I4bc8b592b205a37d89d1cbe2a6cc7b918c028c1a
2023-02-01 16:33:52 +08:00
Tai Kuo
05b00d10bf conf: setup vibrator permission and init cs40l26 HAL
Move from hardware/google/pixel/vibrator/cs40l26/

Bug: 264625320
Test: HAL init properly.
Change-Id: I0f39e6213d92db0f402b85aade488a34bf736f0e
2023-01-18 16:36:44 +08:00
Adam Shih
719967bc08 move insmod script to gs-common
Bug: 243763292
Test: boot to home
Change-Id: I16067fe1be303bd452d5dab0c78d652f4149772e
2022-09-05 12:38:50 +08:00
Matt Buckley
0bc99f0f5b Remove existing surfaceflinger uclamp boost configuration
Remove existing surfaceflinger uclamp settings to not interfere with
new adpf cpu hints for surfaceflinger

Bug: b/239477143
Bug: b/195990840

Test: manual
Change-Id: I763f1baec65f0cad341074f461a086776f7a5f5d
2022-07-25 22:16:28 +00:00
Robin Peng
f5bc0892f7 init: remove twoshay HAL init trigger condition 'on late-init'
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I1546537d3e4ed4323cbcdc17382ed0eb3d06cc31
2022-07-20 12:48:04 +08:00
Mark Chang
a630affdd2 B3: Delay twoshay service start stage.
Bug: 225351394
Test: twoshay launched sucessfully in normal mode (P31817375).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If245204c8814df6f2c19abf6b3e5098483063128
2022-03-24 11:54:55 +00:00
Philip Quinn
0ccf1148bd Start twoshay after setting touch_offload permissions. am: 78fa2057ed am: af063cf14f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16743001

Change-Id: Id457818ecb73cbc47ae31241d961e78f94ef9fe8
2022-01-31 19:34:28 +00:00
Philip Quinn
78fa2057ed Start twoshay after setting touch_offload permissions.
On the current trigger, twoshay starts before it has permissions to
read the touch_offload devices and gives the following errors:

twoshay.twoshay_pipeline: Failed to open file with ret = -13
twoshay.twoshay_pipeline: Failed to open file with ret = -13

Bug: 216331251
Test: twoshay starts without the above errors
Change-Id: Iaad7600d3245174157ae01d8959f86bc79cb995e
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
2022-01-29 00:49:16 +00:00
TreeHugger Robot
e0f7c4f271 Merge "conf: remove world writable on speaker.cal" into sc-v2-dev am: b491f183ff am: a072442ee0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bluejay/+/16680851

Change-Id: Iddd8765c47c20a77a5a0ceb8c713024fa5cd41f4
2022-01-21 11:51:16 +00:00
vincenttew
611fc32f3d conf: remove world writable on speaker.cal
Bug: 215489377
Test: do re-calibration and check the speaker.cal is updated.
adb shell crus_sp_cal -d -s -a --device 5 --ambient 27 --num-speaker 2 --verbosity 7
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I96020bd2cae54c117ddd364aaf292ade04770d05
2022-01-20 09:53:02 +00:00
Jack Wu
833f32f87c Set retaildemo settings
move the settings from init.gs101.rc

Bug: 204926279
Test: check demo mode functionality
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I2d9838fb0760021cf5e181a2df6a940142f22580
2022-01-10 12:03:43 +08:00
Alex Hong
d0b00f62dd Set audio.camerasound.force for JP devices
Enable property by value of hw sku

Test: set to JP sku and check No camera sound option
Bug: 207720534
Change-Id: Ia40860e8cc81e85dde94aa0f4fa9395f45108aed
2021-12-01 22:27:30 +08:00
Robin Peng
aed7239a71 [DO NOT MERGE] Move bluejay source code into bluejay device folders
from: f44cabba6aef5b4a4a138d33448734a2f7d511ae

Bug: 206553389
Change-Id: I1bc1f02cf1f8d5e2d93a033737048930d7d3d062
2021-11-22 11:54:30 +08:00