rosemary: Switch to common USB service

This commit is contained in:
bengris32
2024-02-19 12:03:41 +01:00
committed by Matsvei Niaverau
parent ca04059c6c
commit 28461e23f7
5 changed files with 0 additions and 45 deletions

View File

@@ -1,13 +0,0 @@
on boot
chown root system /sys/class/typec/port0/power_role
chown root system /sys/class/typec/port0/data_role
chown root system /sys/class/typec/port0/port_type
chmod 664 /sys/class/typec/port0/power_role
chmod 664 /sys/class/typec/port0/data_role
chmod 664 /sys/class/typec/port0/port_type
service vendor.usb-hal-1-2 /vendor/bin/hw/android.hardware.usb@1.2-service-mediatekv2
class hal
user root
group root system shell mtp
capabilities

View File

@@ -1,20 +0,0 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.usb</name>
<transport>hwbinder</transport>
<version>1.3</version>
<interface>
<name>IUsb</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.usb.gadget</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IUsbGadget</name>
<instance>default</instance>
</interface>
</hal>
</manifest>