how to start the function of i2c_hid_open()

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

how to start the function of i2c_hid_open()

Jump to solution
788 Views
hyun-moyang
Contributor III

Hi all,

Currently, I am porting the software about the touchscreen input for HID-I2C-OVER in iMX8QM B/D and the android platform about android_11.0.0.

I have got the touchscreen input over HID-OVER-I2C.

But I can't report the touchscreen input over the hid_input_report() function.

So, I'd like to know how to start the i2c_hid_open() from the framework, the application, or the configuration file as like *.mek in the android platform version of android_11_0_0.

Please help me to resolve this issue.

Best Regards

HM

 

 

 

0 Kudos
1 Solution
758 Views
hyun-moyang
Contributor III

I have got the solution to this issue.

Thanks for your help.

Regards

HM

View solution in original post

0 Kudos
3 Replies
759 Views
hyun-moyang
Contributor III

I have got the solution to this issue.

Thanks for your help.

Regards

HM

0 Kudos
769 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Did you test if your porting is correct under linux(not aosp)?

0 Kudos
783 Views
hyun-moyang
Contributor III

Hi, all

I have added the hid-generic in input-port-associations.xml as like,

<ports>

<port display="0" input=hid-generic/input0"/>

</ports>

0 Kudos