Originally posted by: bersl2
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
You have to put in mind I have never done anything like that before, I am patchineg the file to the kernel src tree, the patch man seems so laid out and simple, then again for somone that knows some main parts about how linux runs, I don't know what I am patching the file against exactly , how all works I am still learning it all so please be nicer about it.
You be nicer. Read the man pages, use google, try things on your own, and ask intelligent questions. Stop the newbie whining crap, it's annoying.
Originally posted by: The Linuxator
If you know the answer already then tell me, and then maybe I can see what I am missing in here and how we got to the point, but then again I can't interpret it correctly myself it's beyond what I know and I don't want to screw my configurations up, just like that without asking anyone how to get it right.
You're not interested in doing anything yourself are you? You just want the answer handed to you?
Download the kernel source files and unpack them in your home directory. I'll call that Linux-xxx from now on.
patch.diff is the patch file you downloaded.
Try this:
cd Linux-xxx/
patch -p0 < ~/patch.diff
If it asks you for a file to patch, try:
~/Linux-xxx/drivers/input/mouse/trackpoint.c
Modify the directory structure as necessary (I have neither the Linux kernel or a Linux machine to test this with, ATM).
WOW, you are annoying you SNOB, how smart you think you are ? This forum is about getting help and especially if you are a noobie, you are such an arrogant
POS
If you want to help out then your help is much appreciated and I will remember it for you, but if you want to sit there and start directing insults at me then take your help and
shove it , getting a trackpint to work isn't worth my dignity.
You get someone and throw a man page at them, full of nothing they have passed on before, WTF ?
OK, man page probably has too much information to cope with. That's why it's important to show just what you understand from it, and just what you don't. The idea is that you surely aren't helpless; show us how you think things work, and we'll correct wrong ideas as you go; but don't just throw your hands up (or give us such an impression), because we don't like doing things for you.
It's the old "give a man a fish, and you feed him for a day; teach a man to fish, and you feed him for a lifetime" principle.
So, how do you think patch(1) works? What do you think is the structure of a patch file (hint: find other patches, and also play around with diff(1)), and what does this suggest about how the program works? What does Google say about patch (granted, it's a common word, and the idea has many different forms in a computing context)?