roadrunner2 / macbook12-spi-driver

Input driver for the SPI touchpad / keyboard found in the 12" MacBook (MacBook8,1 + MacBook9,1) and 2016 through 2018 Macbook Pro's (MacBookPro13,* and 14,*); a Touch Bar driver is also available.
GNU General Public License v2.0
251 stars 49 forks source link

suggestion / question #27

Open ghost opened 5 years ago

ghost commented 5 years ago

it is possible to include the corresponding .c, .h and kernelconf and make files from linux / driver / iio ... (... iio_triggered_buffer ...) for apple-ib-as in the source, so that these together with apple-ib-as compiled, regardless of the user's kernel-config?

roadrunner2 commented 5 years ago

Hmm, why just iio_triggered_buffer? Where do we stop? The drivers depend on a bunch of other drivers (at the very least all the modules and code enabled by SPI_PXA2XX_PCI, MFD_INTEL_LPSS_PCI, IIO, IIO_BUFFER, IIO_TRIGGER, IIO_TRIGGERED_BUFFER, and more). What distro are you running that doesn't have these enabled?

ghost commented 5 years ago

I use PCLinuxOS and Quait(this is for testbuilding before give back drivers and xfce to PCLinuxOS) but Tex was so lovely and have enabled spi_pxa2xx_platform, SPI_PXA2XX_PCI, MFD_INTEL_LPSS_PCI, just for me, also enabled in his kernel-config: CONFIG_IIO=m CONFIG_IIO_BUFFER=y CONFIG_IIO_BUFFER_CB=m CONFIG_IIO_BUFFER_HW_CONSUMER is not set CONFIG_IIO_KFIFO_BUF=m CONFIG_IIO_CONFIGFS is not set CONFIG_IIO_TRIGGER=y CONFIG_IIO_CONSUMERS_PER_TRIGGER=2

so i not found IIO_TRIGGERED_BUFFER But i think, that's needed for apple-ib-als....? a other big fault : i have not MacBook's or so, but a few friends of me use it, the newers from 2016/17 works good with PCLinuxOS, also the facetimehd-cams but not the ambientlight-sensor,