OK, there is nothing spooky about this.
First, you have to open the Software Center or Manager or whatever it is called and enable source repositories.
Then issue following commands in terminal (while in your home directory):
Code:
sudo apt-get install dpkg-dev
mkdir src
cd src
apt-get source linux-image-$(uname -r)
This will download and unpack kernel sources into current directory.
Now type
cd linux and hit the Tab key, followed by Enter. You should be in the source directory now.
Proceed to edit the source file.
Code:
nano drivers/usb/misc/sisusbvga/sisusb.c
OK, from here I was thinking it is going to be easy sailing.
NOT. Mint I'm using has no /proc/config.gz. It is essential to have it to build anything in kernel sources,
make defconfig will not cut it.
Conclusion. Ubuntu is not friendly distro when it comes to tinkering.
I will leave this post here in case someone wants to correct me and knows a way how to obtain .config file for running kernel.