Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a potential problem with acpi (screws my usb device allocation and usb doesnt accept address...gives error -110). I've downloaded a patch called bk.acpi.patch.
I've read up on it but dont quite get how i apply this patch.
I've tried doing
# patch -p1 -R bk-acpi.patch
When I did this it just sits there for a long time, i've tried two times and after about half an hour and then terminated it. Next, I tried this modification,
# patch -p1 -R -i bk.acpi.patch
and then it asks me to enter a file to patch. Now I'm completely lost.
Help me!!! since I really want to get this patch and get done with my USB problems
Well, a patch is supposed to modify a file. If it asks what file, you are in the right way. All you have to do is return to the site where you downloaded this and search for the name of the file to be patched.
You can also try to open the patch with a text editor and search for clues.
Ok, go to the directory of the file you're going to patch (it's most likely going to be the source directory of where the file resides... you're most likely going to be patching a *.c, and *.h file).
Then try doing this... patch -p0 < /path/to/patch/patchname.diff
(While you're inside of the directory)
Sorry for the long response... I dunno if you figured it out already but it should work. I'm going to probably be wrong on this but the .diff extention is for an undified diff file. Although I could be wrong. Someone can correct me if I'm wrong here. The '.patch' extention should work.
I tried a compile with .patch file. The kernel compile went like a charm and used the new kernel but again the same problem. I probably didnt apply the patch correctly. I'll do it again and give the feedback.
Thanks for replying,
and yes you dont have to be sorry for not responding quickly, I understand that we all have other things to do. Thanks for bearing with me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.