Laptop web cam not recognised by Linux Mint











up vote
1
down vote

favorite
1












I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera.



When I try to open the Video4Linux Control Panel, I get the following error:




Unable to open file /dev/video0

Permission denied.











share|improve this question




























    up vote
    1
    down vote

    favorite
    1












    I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera.



    When I try to open the Video4Linux Control Panel, I get the following error:




    Unable to open file /dev/video0

    Permission denied.











    share|improve this question


























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera.



      When I try to open the Video4Linux Control Panel, I get the following error:




      Unable to open file /dev/video0

      Permission denied.











      share|improve this question















      I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera.



      When I try to open the Video4Linux Control Panel, I get the following error:




      Unable to open file /dev/video0

      Permission denied.








      linux laptop






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 24 at 20:18









      Rui F Ribeiro

      38.3k1475126




      38.3k1475126










      asked Apr 21 '11 at 21:29









      Hristo

      612




      612






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          You apparently don't have permission to access the video device as your user.



          The best way to fix this is to put yourself into whatever group owns that devices. A quick and dirty way to do this is with this command: groupadd -A $(whoami) $(stat -c %G /dev/video0) (adds your user to whatever group owns that devices node). On my system that would be video, but beware that if that devices is owned by root, you end up with your user in the root group (not advised!).



          The not so good way to do this but that would work if your distro doesn't have a sensible group ownership of that device node is to open up the device to be read and written by all users with something like sudo chmod 777 /dev/video0.






          share|improve this answer























          • This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
            – Hristo
            Apr 26 '11 at 1:28












          • Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
            – Caleb
            Apr 26 '11 at 7:16










          • My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
            – Hristo
            Apr 26 '11 at 14:52










          • What do you see here: sudo ls -al /dev | grep video
            – Caleb
            Apr 26 '11 at 15:02










          • crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
            – Hristo
            Apr 26 '11 at 15:33













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f11783%2flaptop-web-cam-not-recognised-by-linux-mint%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          You apparently don't have permission to access the video device as your user.



          The best way to fix this is to put yourself into whatever group owns that devices. A quick and dirty way to do this is with this command: groupadd -A $(whoami) $(stat -c %G /dev/video0) (adds your user to whatever group owns that devices node). On my system that would be video, but beware that if that devices is owned by root, you end up with your user in the root group (not advised!).



          The not so good way to do this but that would work if your distro doesn't have a sensible group ownership of that device node is to open up the device to be read and written by all users with something like sudo chmod 777 /dev/video0.






          share|improve this answer























          • This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
            – Hristo
            Apr 26 '11 at 1:28












          • Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
            – Caleb
            Apr 26 '11 at 7:16










          • My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
            – Hristo
            Apr 26 '11 at 14:52










          • What do you see here: sudo ls -al /dev | grep video
            – Caleb
            Apr 26 '11 at 15:02










          • crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
            – Hristo
            Apr 26 '11 at 15:33

















          up vote
          1
          down vote













          You apparently don't have permission to access the video device as your user.



          The best way to fix this is to put yourself into whatever group owns that devices. A quick and dirty way to do this is with this command: groupadd -A $(whoami) $(stat -c %G /dev/video0) (adds your user to whatever group owns that devices node). On my system that would be video, but beware that if that devices is owned by root, you end up with your user in the root group (not advised!).



          The not so good way to do this but that would work if your distro doesn't have a sensible group ownership of that device node is to open up the device to be read and written by all users with something like sudo chmod 777 /dev/video0.






          share|improve this answer























          • This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
            – Hristo
            Apr 26 '11 at 1:28












          • Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
            – Caleb
            Apr 26 '11 at 7:16










          • My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
            – Hristo
            Apr 26 '11 at 14:52










          • What do you see here: sudo ls -al /dev | grep video
            – Caleb
            Apr 26 '11 at 15:02










          • crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
            – Hristo
            Apr 26 '11 at 15:33















          up vote
          1
          down vote










          up vote
          1
          down vote









          You apparently don't have permission to access the video device as your user.



          The best way to fix this is to put yourself into whatever group owns that devices. A quick and dirty way to do this is with this command: groupadd -A $(whoami) $(stat -c %G /dev/video0) (adds your user to whatever group owns that devices node). On my system that would be video, but beware that if that devices is owned by root, you end up with your user in the root group (not advised!).



          The not so good way to do this but that would work if your distro doesn't have a sensible group ownership of that device node is to open up the device to be read and written by all users with something like sudo chmod 777 /dev/video0.






          share|improve this answer














          You apparently don't have permission to access the video device as your user.



          The best way to fix this is to put yourself into whatever group owns that devices. A quick and dirty way to do this is with this command: groupadd -A $(whoami) $(stat -c %G /dev/video0) (adds your user to whatever group owns that devices node). On my system that would be video, but beware that if that devices is owned by root, you end up with your user in the root group (not advised!).



          The not so good way to do this but that would work if your distro doesn't have a sensible group ownership of that device node is to open up the device to be read and written by all users with something like sudo chmod 777 /dev/video0.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 21 '11 at 22:00

























          answered Apr 21 '11 at 21:42









          Caleb

          50k9146190




          50k9146190












          • This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
            – Hristo
            Apr 26 '11 at 1:28












          • Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
            – Caleb
            Apr 26 '11 at 7:16










          • My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
            – Hristo
            Apr 26 '11 at 14:52










          • What do you see here: sudo ls -al /dev | grep video
            – Caleb
            Apr 26 '11 at 15:02










          • crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
            – Hristo
            Apr 26 '11 at 15:33




















          • This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
            – Hristo
            Apr 26 '11 at 1:28












          • Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
            – Caleb
            Apr 26 '11 at 7:16










          • My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
            – Hristo
            Apr 26 '11 at 14:52










          • What do you see here: sudo ls -al /dev | grep video
            – Caleb
            Apr 26 '11 at 15:02










          • crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
            – Hristo
            Apr 26 '11 at 15:33


















          This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
          – Hristo
          Apr 26 '11 at 1:28






          This is what I get as an error message: "cannot access `/dev/video0': No such file or directory"
          – Hristo
          Apr 26 '11 at 1:28














          Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
          – Caleb
          Apr 26 '11 at 7:16




          Wait now, "Permission denied" from your initial question is different than "no such file". Which is it? As root if you look in /dev is there a video0 node? Some other video node? Maybe you're just trying to use the wrong one?
          – Caleb
          Apr 26 '11 at 7:16












          My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
          – Hristo
          Apr 26 '11 at 14:52




          My apologies. It's the latter now "No such file or directory." Btw, I think copied the error message directly the first time. Seems really odd to me as well.
          – Hristo
          Apr 26 '11 at 14:52












          What do you see here: sudo ls -al /dev | grep video
          – Caleb
          Apr 26 '11 at 15:02




          What do you see here: sudo ls -al /dev | grep video
          – Caleb
          Apr 26 '11 at 15:02












          crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
          – Hristo
          Apr 26 '11 at 15:33






          crw-rw---- 1 root video 10, 175 2011-04-26 14:43 agpgart crw-rw---- 1 root video 29, 0 2011-04-26 14:43 fb0
          – Hristo
          Apr 26 '11 at 15:33




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f11783%2flaptop-web-cam-not-recognised-by-linux-mint%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

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt