UsbGadget implementation in hal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UsbGadget implementation in hal

1,534 Views
sunithas
Contributor I

Hi,

I'm trying to implement the HAL part in the vendor just like /vendor/nxp-opensource/imx/usb/ but I am facing the booting issue with the error,

init: Could not find 'android.hardware.usb.gadget@1.0::IUsbGadget/default' for ctl.interface_start
[ 52.809608] init: Received control message 'interface_start' for 'android.hardware.usb.gadget@1.0::IUsbGadget/default' from pid: 3172 (/syst)

I have made the changes in evk_8mq.mk file at UsbHal: 

android.hardware.usb@1.1-service.imx

android.hardware.usb@1.1-service.usbserv

and also at device/fsl/imx8m/sepolicy/file_contexts

/vendor/bin/hw/android\.hardware\.usb@1\.1-service.imx        u:object_r:hal_usb_impl_exec:s0

/vendor/bin/hw/android\.hardware\.usb@1\.1-service.usbserv       u:object_r:hal_usb_impl_exec:s0

Please help me to resolve this.

Regards,

Sunitha.

0 Kudos
1 Reply

1,342 Views
nxf54947
NXP Employee
NXP Employee

Hello sunithas‌,

The USB gadget HAL implementation is currently out of support scope. I would suggest you to contact NXP Professional Engineering Services for developing this kind of project. 


NXP Professional Engineering Services

Kind regards,

Ruben

0 Kudos