MacBook Pro camera not working on Ubuntu 18.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















I've tried the solution on this website https://medium.com/@racter/how-to-install-ubuntu-16-04-on-a-retina-macbook-11-2-74e7779c0e47:



$ cd /etc/local/src
$ git clone https://github.com/patjak/bcwc_pcie.git
$ cd bcwc_pcie/firmware
$ sudo make
$ sudo make install
$ cd ..
$ sudo make
$ sudo install
$ sudo depmod
$ sudo modprobe -r bdc_pci
$ sudo modprobe facetimehd


However, I get the following error after the first sudo make.



Checking dependencies for driver download...
/usr/bin/xzcat
/bin/cpio
Makefile:34: recipe for target 'AppleCameraInterface' failed
make: *** [AppleCameraInterface] Error 1









share|improve this question


















  • 2





    Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

    – waltinator
    Jun 30 '18 at 22:26


















4















I've tried the solution on this website https://medium.com/@racter/how-to-install-ubuntu-16-04-on-a-retina-macbook-11-2-74e7779c0e47:



$ cd /etc/local/src
$ git clone https://github.com/patjak/bcwc_pcie.git
$ cd bcwc_pcie/firmware
$ sudo make
$ sudo make install
$ cd ..
$ sudo make
$ sudo install
$ sudo depmod
$ sudo modprobe -r bdc_pci
$ sudo modprobe facetimehd


However, I get the following error after the first sudo make.



Checking dependencies for driver download...
/usr/bin/xzcat
/bin/cpio
Makefile:34: recipe for target 'AppleCameraInterface' failed
make: *** [AppleCameraInterface] Error 1









share|improve this question


















  • 2





    Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

    – waltinator
    Jun 30 '18 at 22:26














4












4








4








I've tried the solution on this website https://medium.com/@racter/how-to-install-ubuntu-16-04-on-a-retina-macbook-11-2-74e7779c0e47:



$ cd /etc/local/src
$ git clone https://github.com/patjak/bcwc_pcie.git
$ cd bcwc_pcie/firmware
$ sudo make
$ sudo make install
$ cd ..
$ sudo make
$ sudo install
$ sudo depmod
$ sudo modprobe -r bdc_pci
$ sudo modprobe facetimehd


However, I get the following error after the first sudo make.



Checking dependencies for driver download...
/usr/bin/xzcat
/bin/cpio
Makefile:34: recipe for target 'AppleCameraInterface' failed
make: *** [AppleCameraInterface] Error 1









share|improve this question














I've tried the solution on this website https://medium.com/@racter/how-to-install-ubuntu-16-04-on-a-retina-macbook-11-2-74e7779c0e47:



$ cd /etc/local/src
$ git clone https://github.com/patjak/bcwc_pcie.git
$ cd bcwc_pcie/firmware
$ sudo make
$ sudo make install
$ cd ..
$ sudo make
$ sudo install
$ sudo depmod
$ sudo modprobe -r bdc_pci
$ sudo modprobe facetimehd


However, I get the following error after the first sudo make.



Checking dependencies for driver download...
/usr/bin/xzcat
/bin/cpio
Makefile:34: recipe for target 'AppleCameraInterface' failed
make: *** [AppleCameraInterface] Error 1






drivers 18.04 webcam






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 30 '18 at 22:05









peacefulmepeacefulme

213




213








  • 2





    Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

    – waltinator
    Jun 30 '18 at 22:26














  • 2





    Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

    – waltinator
    Jun 30 '18 at 22:26








2




2





Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

– waltinator
Jun 30 '18 at 22:26





Use less -N Makefile and see what line 34 references. Execute sudo lshw (read man lshw) to see what the system thinks your camera is. BTW, Your sudo install line is probably incorrect.

– waltinator
Jun 30 '18 at 22:26










3 Answers
3






active

oldest

votes


















3














Try installing curl. I also got the same problem and then I figured out that it is because curl is not installed default in Ubuntu 18.04.



sudo apt-get install curl





share|improve this answer
























  • sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

    – Dilawar
    Mar 19 at 7:44



















0














If it still gives error try the following for ubuntu 18.04 , Macbook pro worked like a charm



cd /etc/local/src
$ git clone https://github.com/patjak/bcwc_pcie.git
$ cd bcwc_pcie/firmware
$ sudo make
$ sudo make install
$ cd ..
$ sudo make
$ sudo make install (Update with make install for 18.04)
$ sudo depmod
$ sudo modprobe -r bdc_pci
$ sudo modprobe facetimehd





share|improve this answer

































    0














    Can confirm this works on Macbook Pro 13 mid 2014.
    My src folder was in /usr/local



    Doesn't run after reboot. Apparently need to update the /etc/modules file but I don't what to enter??



    Edit: To get webcam working after boot, in terminal:




    1. sudo nano -w /etc/modules or sudo gedit /etc/modules

    2. add 'facetimehd' on a new line (without quotes).

    3. Save and reboot..






    share|improve this answer


























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1051079%2fmacbook-pro-camera-not-working-on-ubuntu-18-04%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Try installing curl. I also got the same problem and then I figured out that it is because curl is not installed default in Ubuntu 18.04.



      sudo apt-get install curl





      share|improve this answer
























      • sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

        – Dilawar
        Mar 19 at 7:44
















      3














      Try installing curl. I also got the same problem and then I figured out that it is because curl is not installed default in Ubuntu 18.04.



      sudo apt-get install curl





      share|improve this answer
























      • sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

        – Dilawar
        Mar 19 at 7:44














      3












      3








      3







      Try installing curl. I also got the same problem and then I figured out that it is because curl is not installed default in Ubuntu 18.04.



      sudo apt-get install curl





      share|improve this answer













      Try installing curl. I also got the same problem and then I figured out that it is because curl is not installed default in Ubuntu 18.04.



      sudo apt-get install curl






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jul 6 '18 at 13:35









      Vishnu PradeeshVishnu Pradeesh

      312




      312













      • sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

        – Dilawar
        Mar 19 at 7:44



















      • sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

        – Dilawar
        Mar 19 at 7:44

















      sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

      – Dilawar
      Mar 19 at 7:44





      sudo make does not import the proxy variables from your .bashrc. Run sudo -E make (if you are behind proxy).

      – Dilawar
      Mar 19 at 7:44













      0














      If it still gives error try the following for ubuntu 18.04 , Macbook pro worked like a charm



      cd /etc/local/src
      $ git clone https://github.com/patjak/bcwc_pcie.git
      $ cd bcwc_pcie/firmware
      $ sudo make
      $ sudo make install
      $ cd ..
      $ sudo make
      $ sudo make install (Update with make install for 18.04)
      $ sudo depmod
      $ sudo modprobe -r bdc_pci
      $ sudo modprobe facetimehd





      share|improve this answer






























        0














        If it still gives error try the following for ubuntu 18.04 , Macbook pro worked like a charm



        cd /etc/local/src
        $ git clone https://github.com/patjak/bcwc_pcie.git
        $ cd bcwc_pcie/firmware
        $ sudo make
        $ sudo make install
        $ cd ..
        $ sudo make
        $ sudo make install (Update with make install for 18.04)
        $ sudo depmod
        $ sudo modprobe -r bdc_pci
        $ sudo modprobe facetimehd





        share|improve this answer




























          0












          0








          0







          If it still gives error try the following for ubuntu 18.04 , Macbook pro worked like a charm



          cd /etc/local/src
          $ git clone https://github.com/patjak/bcwc_pcie.git
          $ cd bcwc_pcie/firmware
          $ sudo make
          $ sudo make install
          $ cd ..
          $ sudo make
          $ sudo make install (Update with make install for 18.04)
          $ sudo depmod
          $ sudo modprobe -r bdc_pci
          $ sudo modprobe facetimehd





          share|improve this answer















          If it still gives error try the following for ubuntu 18.04 , Macbook pro worked like a charm



          cd /etc/local/src
          $ git clone https://github.com/patjak/bcwc_pcie.git
          $ cd bcwc_pcie/firmware
          $ sudo make
          $ sudo make install
          $ cd ..
          $ sudo make
          $ sudo make install (Update with make install for 18.04)
          $ sudo depmod
          $ sudo modprobe -r bdc_pci
          $ sudo modprobe facetimehd






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 13 at 16:17









          Mr Shunz

          2,49121922




          2,49121922










          answered Mar 13 at 15:32









          kotakkotak

          1




          1























              0














              Can confirm this works on Macbook Pro 13 mid 2014.
              My src folder was in /usr/local



              Doesn't run after reboot. Apparently need to update the /etc/modules file but I don't what to enter??



              Edit: To get webcam working after boot, in terminal:




              1. sudo nano -w /etc/modules or sudo gedit /etc/modules

              2. add 'facetimehd' on a new line (without quotes).

              3. Save and reboot..






              share|improve this answer






























                0














                Can confirm this works on Macbook Pro 13 mid 2014.
                My src folder was in /usr/local



                Doesn't run after reboot. Apparently need to update the /etc/modules file but I don't what to enter??



                Edit: To get webcam working after boot, in terminal:




                1. sudo nano -w /etc/modules or sudo gedit /etc/modules

                2. add 'facetimehd' on a new line (without quotes).

                3. Save and reboot..






                share|improve this answer




























                  0












                  0








                  0







                  Can confirm this works on Macbook Pro 13 mid 2014.
                  My src folder was in /usr/local



                  Doesn't run after reboot. Apparently need to update the /etc/modules file but I don't what to enter??



                  Edit: To get webcam working after boot, in terminal:




                  1. sudo nano -w /etc/modules or sudo gedit /etc/modules

                  2. add 'facetimehd' on a new line (without quotes).

                  3. Save and reboot..






                  share|improve this answer















                  Can confirm this works on Macbook Pro 13 mid 2014.
                  My src folder was in /usr/local



                  Doesn't run after reboot. Apparently need to update the /etc/modules file but I don't what to enter??



                  Edit: To get webcam working after boot, in terminal:




                  1. sudo nano -w /etc/modules or sudo gedit /etc/modules

                  2. add 'facetimehd' on a new line (without quotes).

                  3. Save and reboot..







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 21 at 1:02

























                  answered Mar 21 at 0:53









                  CoZza89CoZza89

                  32




                  32






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1051079%2fmacbook-pro-camera-not-working-on-ubuntu-18-04%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Human spaceflight

                      Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                      張江高科駅