UsbGadget implementation in hal

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UsbGadget implementation in hal

2,559 次查看
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 项奖励
回复
1 回复

2,367 次查看
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 项奖励
回复