I do some changes(I think dmi check has an impact on the compatibility of most of tongfan chassis), then I succeed in enabling battery feature for KC57/NUC X15/XMG FUSION 15 m22. Out of convinience, I use tcc, but qc71 module has some conflicts with tcc. I am struggling for a separatable battery module. But I chose C as one of my elective course many years ago, I know about C less. I am puzzled about where is the definition of the function ec_read_bytes and ec_write_bytes.
I do some changes(I think dmi check has an impact on the compatibility of most of tongfan chassis), then I succeed in enabling battery feature for KC57/NUC X15/XMG FUSION 15 m22. Out of convinience, I use tcc, but qc71 module has some conflicts with tcc. I am struggling for a separatable battery module. But I chose C as one of my elective course many years ago, I know about C less. I am puzzled about where is the definition of the function
ec_read_bytes
andec_write_bytes
.