Laptop web cam not recognised by Linux Mint
up vote
1
down vote
favorite
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
add a comment |
up vote
1
down vote
favorite
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
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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
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
linux laptop
edited Nov 24 at 20:18
Rui F Ribeiro
38.3k1475126
38.3k1475126
asked Apr 21 '11 at 21:29
Hristo
612
612
add a comment |
add a comment |
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
.
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
|
show 6 more comments
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
.
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
|
show 6 more comments
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
.
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
|
show 6 more comments
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
.
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
.
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
|
show 6 more comments
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
|
show 6 more comments
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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