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. Thanks.
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.
A commit references this bug: Author: avg Date: Tue Dec 18 21:43:34 UTC 2018 New revision: 342204 URL: https://svnweb.freebsd.org/changeset/base/342204 Log: cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4) PR: 218632 Reported by: Denis Kozadaev <denis@tambov.ru> MFC after: 1 week Changes: head/share/man/man4/cyapa.4 head/share/man/man4/isl.4
A commit references this bug: Author: avg Date: Wed Dec 26 09:21:59 UTC 2018 New revision: 342472 URL: https://svnweb.freebsd.org/changeset/base/342472 Log: MFC r342204: cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4) PR: 218632 Changes: _U stable/12/ stable/12/share/man/man4/cyapa.4 stable/12/share/man/man4/isl.4