Skip to content

Commit

Permalink
Switch back to [email protected]
Browse files Browse the repository at this point in the history
Fixes USB hotplug. Prebuilt, but at least works fine
  • Loading branch information
rtd1250 committed Jun 5, 2022
1 parent 8fd4e52 commit ef442fe
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ PRODUCT_PACKAGES += \

# USB
PRODUCT_PACKAGES += \
[email protected]
[email protected] \
[email protected]

# Vibrator
PRODUCT_PACKAGES += \
Expand Down
10 changes: 10 additions & 0 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,16 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
<fqname>@1.1::IUsb/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.vibrator</name>
<transport>hwbinder</transport>
Expand Down
4 changes: 4 additions & 0 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,10 @@ vendor/etc/init/[email protected]
vendor/lib/[email protected]
vendor/lib64/[email protected]

# USB
vendor/bin/hw/[email protected]
vendor/etc/init/[email protected]

# Voiceprint
vendor/lib64/[email protected]

Expand Down
1 change: 1 addition & 0 deletions sepolicy/vendor/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.3-radio-service\.samsung u:object_r:hal_radio_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@1\.1-service\.wahoo u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/nxp\.android\.hardware\.nfc@1\.1-service u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-a70q u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.biometrics\.fingerprint@3\.0-service\.a70q u:object_r:hal_fingerprint_default_exec:s0
Expand Down

0 comments on commit ef442fe

Please sign in to comment.