Comment 81 for bug 1700657

Revision history for this message
rubo77 (rubo77) wrote :

I tried this instructions: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

# add sources
sed -i "/^#.*deb-src.*main restricted$/s/^# //g" /etc/apt/sources.list
apt update
apt source linux-image-$(uname -r)
. /etc/lsb-release
git clone --depth=1 git://kernel.ubuntu.com/ubuntu/ubuntu-$DISTRIB_CODENAME.git

# 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?