# this is the file that has to be patched accordint to @CoolStar:
FILE=linux-4.13.0/drivers/mfd/intel-lpss-pci.c
LINE='{ PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_i2c_info },'
ADD='{ PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_uart_info },'
sed -i "/$LINE/a $ADD" $FILE
but the value "0xa162" seems not to be there in that file any more!
So I am stuck here.
And at the end can you explain how to recompile and install the new intel-lpss-pci module please?
I tried this instructions: https:/ /wiki.ubuntu. com/Kernel/ BuildYourOwnKer nel
# add sources sources. list ubuntu. com/ubuntu/ ubuntu- $DISTRIB_ CODENAME. git
sed -i "/^#.*deb-src.*main restricted$/s/^# //g" /etc/apt/
apt update
apt source linux-image-$(uname -r)
. /etc/lsb-release
git clone --depth=1 git://kernel.
# this is the file that has to be patched accordint to @CoolStar: 4.13.0/ drivers/ mfd/intel- lpss-pci. c ulong_t) &spt_i2c_ info },' ulong_t) &spt_uart_ info },'
FILE=linux-
LINE='{ PCI_VDEVICE(INTEL, 0xa162), (kernel_
ADD='{ PCI_VDEVICE(INTEL, 0xa162), (kernel_
sed -i "/$LINE/a $ADD" $FILE
but the value "0xa162" seems not to be there in that file any more!
So I am stuck here.
And at the end can you explain how to recompile and install the new intel-lpss-pci module please?