LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-28-2004, 11:32 AM   #1
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
ACPI Patch


Hello everyone,

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

Thanks,
Tux
 
Old 08-28-2004, 12:43 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
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.
 
Old 08-28-2004, 01:12 PM   #3
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
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)
 
Old 08-28-2004, 02:25 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Original Poster
Rep: Reputation: 62
Thanks for replying,

Quote:
Then try doing this... patch -p0 < /path/to/patch/patchname.diff
the file I have has a name bk-acpi.patch. Is it okay if I try to apply it with

patch -p0 < bk.acpi.patch
 
Old 08-28-2004, 03:47 PM   #5
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
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.
 
Old 08-28-2004, 07:31 PM   #6
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Original Poster
Rep: Reputation: 62
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.

Tux,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.12.2 and custom acpi patch 6xxx Linux - Laptop and Netbook 0 07-15-2005 03:01 AM
acpi patch for 2.6.9?? 1madstork Debian 2 12-17-2004 10:04 PM
2.6.4 acpi patch for custom dsdt? Outabux Debian 16 04-08-2004 07:56 PM
ACPI patch RH9 2.4.20_30.9 crazibri Linux - Newbie 0 03-25-2004 11:20 PM
ACPI patch ... hunks failing Ianed Linux - Hardware 4 09-04-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration