Created attachment 181760 [details]
it has two dmesg.boot files with and without i915kms module
I use 11.0-STABLE on a chromebook. One day I loaded i915kms module at boot time and touchpad broke. I worked via cyapa driver which uses I2C bus.
If I boot the system without i915kms module, which uses I2C too, the cyapa works.
Michael Gmelin suggested me to test CURRENT version, unfortunately, the behaviour was the same.
The kernel shows me messages:
cyapa0: Unable to bring device out of bootstrap
cyapa0: Unable to initialize
iicbus0: <unknown card> at addr 0xce
If 11.0-STABLE booted without i915kms, cyapa works fine, then I start Xorg which loads i915 (kms?) and that all works too.
The attachment contains two files /var/run/dmesg.boot with and without i915kms module. The kernel was booted with -v flag.
Do you use chromebook_platform driver or have wired cyapa via device hints?
(In reply to Andriy Gapon from comment #1)
wired, I guess, cyapa_load="YES" as it described in cyapa(4)
(In reply to Denis Kozadaev from comment #2)
So you have to either change bus number to 14 in device.hints or, much better, comment out the hints and start using chromebook_platform driver.
(In reply to Andriy Gapon from comment #3)
indeed, chromebook_platform_load="YES" in /boot/loader.conf returns cyapa to the life ;-)
and its bus number is 14:
cyapa0: <Cypress APA I2C Trackpad> at addr 0xce on iicbus14
Thanks for the help
(In reply to Denis Kozadaev from comment #4)
@avg: I didn't notice you managed to finished the chromebook_platform module, very nice. Maybe it would make sense to add a comment about this in the cyapa man page?
(In reply to Michael Gmelin from comment #5)
Michael, it sure would! I should have done it from the very start. I am a bit busy right now. If you could do it that would be great. Otherwise I'll probably get around to it in May.