how to start the function of i2c_hid_open()

cancel
Showing results for 
Search instead for 
Did you mean: 

how to start the function of i2c_hid_open()

Jump to solution
150 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
120 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
121 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
131 Views
nxf65025
NXP Employee
NXP Employee

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

0 Kudos
145 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