no USB HID touchscreen's event on IMX8

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

no USB HID touchscreen's event on IMX8

742 次查看
MickyHe
Contributor III

HI,NXP:

我们在android auto 9的基线上插入USB HID touchscreen ,能识别USB HID PID,VID,但就是没有触摸事件通过USB传到SOC。这个USB HID touchscreen在WIN电脑与手机OTG上都能正常识别并使用触摸。

请帮忙看下是否基线的USB协议不完整或者有什么patch,或者需要哪个基线版本来验证?

0 项奖励
5 回复数

684 次查看
MickyHe
Contributor III

Hi, Dhruvit:

We use the IMX8QM MEK board with flashing android_P9.0.0_2.3.5-auto demo image from NXP.com release version.

the attach is the kernel log

0 项奖励

649 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @MickyHe,

I hope you are doing well.
Thanks for the details.

->Please kindly check with the latest Android Auto OS-12.1.0_1.1.0, It is recommended to use it Because it's more feasible and reliable than the older one.
->One can check the difference between the 2 versions of the file with the below-given command.
git diff master..otherbranch > myDiffFile.diff

This will help you.

Thanks & Regards,
Dhruvit Vasavada

0 项奖励

685 次查看
MickyHe
Contributor III

Hi, Dhruvit:

Android auto 11 is ok, but Android auto 9 is error.pls check the attach file for kernel log.

Is there any relevant patch on the Android auto 9? The baseline that we currently use is the android_P9.0.0_2.3.5-auto.

 

 

0 项奖励

693 次查看
MickyHe
Contributor III

Hi NXP:

. config file and PID, VID is OK, SOC recognizes USB HID PID, VID, but there is no touch event passed to the SOC via USB.

Is there any other modification or other information required by us?

0 项奖励

713 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @MickyHe,

I hope you are doing well.

Please make sure to run make menuconfig and have enabled USB Touch screen to rebuild the kernel.

Device Drivers -> HID Devices -> Special HID drivers -> HID Multitouch panels as an embedded driver (*) in Kernel configuration, and then add touchscreen's Vendor ID and Device/Product ID to kernel drivers table and rebuilt the Kernel.


Please take a look at the changes made in the .config file.

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_POLLDEV=y
#
# HID support
#
CONFIG_HID=y
CONFIG_HID_GENERIC=y
#
# USB HID support
#
CONFIG_USB_HID=y

Please make sure to check the device tree configuration at the below location. (for reference)
<Linux_src_code>/Documentation/usb/gadget_hid.rst

I hope this information helps you.

Thanks & Regards,
Dhruvit Vasavada
0 项奖励