Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Note: There is no need for a patch if you are running Ubuntu 12.04

I am following these instructions to recompile a kernel with working bluetooth for my Asus Zenbook UX31E. However, when typing patch -p1 linux-3.3-rc5 ./bluetooth.patch (where linux-3.3-rc5 is the folder I unzipped the kernel) as suggested in the 4th step, I get only an error saying:

patch: **** File linux-3.3-rc5 is not a regular file -- can't patch

Am I doing something wrong? I would really want to get bluetooth working on my laptop, otherwise Ubuntu runs flawlessly on it.

share|improve this question

1 Answer 1

Replace Step 4 in the howto with the below:

  1. cd into the uncompressed kernel directory, e.g. cd linux-3.3-rc5
  2. Then paste the following to download and directly apply the patch:

    wget -q -O- http://fenski.pl/zenbook/bluetooth.patch | \ 
    sed -e 's#linux-3.2.5/##g' -e 's#linux-3.2.5.orig/##g' | patch -p0
    
  3. Continue with the howto and compile the kernel!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.