1

I need to modify some sensors driver code in the Android linux kernel. I am able to get the logical name of sensors present in the phone from getevent or "sys" file system like "gyro","lighsenors" etc. But how can I get the actual chip name of sensors like (mxt224_ts) which maps to these logical names.

When I looked in linux driver directory, I found that it has separate files for each chip but many chip can implement the functionality for single sensor. Therefore I am unable to identify the actual file which is being used in the device(phone).

1 Answer 1

0

The sysfs directory has an entry named name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.