hello! i'm new to VoodooI2C and kernel extension development in general, and i'm working on a driver for the Goodix touchscreen (https://github.com/lazd/VoodooI2CGoodix/), based mostly on the awesome work @coolstar has done with the AtmelMXT driver. my satellite matches and loads, and although it doesn't do anything useful when you poke it (yet), it does log out some information.
i am able to see this information in the console if i load the kext from the terminal, and i can see the logs scroll by during verbose boot, but i can't see to get log
to show me anything after boot. running log show --last 5m --info --debug --loss --predicate 'eventMessage contains "Goodix"'
shows me the logs from when i loaded it via the terminal, but not the logs from boot. i do see other VoodooI2C logs, but not those from my satellite...
i'm sure it's something simple, any pointers? thanks!
grep
to filter data, no idea how you're filtering
max_x
max_y
x_size_mm
and y_size_mm
is the key to load mt2engine.
hey all, i managed to get I2C communication working with the Goodix device last night, and i'm able to update the transducers with touch coordinates and emit an event, but my touchscreen is acting like a gigantic trackpad, moving the cursor relative to its existing position. how can i configure VooodooI2C's DigitiserTransducers and MultitouchInterface to function like a touchscreen? that is, position the cursor at the exact coordinates of the touch event, tap, etc.
here's where i create transducers: https://github.com/lazd/VoodooI2CGoodix/blob/master/VoodooI2CGoodix/VoodooI2CGoodixTouchDriver.cpp#L112-L116
here's where I update transducers: https://github.com/lazd/VoodooI2CGoodix/blob/master/VoodooI2CGoodix/VoodooI2CGoodixTouchDriver.cpp#L343-L358
here's where i create the MultitouchInterface: https://github.com/lazd/VoodooI2CGoodix/blob/master/VoodooI2CGoodix/VoodooI2CGoodixTouchDriver.cpp#L395-L399
alright, i see the code you're referring to here https://github.com/alexandred/VoodooI2CHID/blob/ee2620720850a652eb493dbd377da16c1fd57fef/VoodooI2CHID/VoodooI2CTouchscreenHIDEventDriver.cpp#L228-L242
should i be implementing something similar in my satellite, or should i somehow be instantiating a VoodooI2CTouchscreenHIDEventDriver
and passing events to it?