Mounting USB camera on Ubuntu

Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck.
From the instructions:
Modify the usbdevfs entry in /etc/fstab
by setting devmode appropriately, for example:
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
I am not sure how to obtain the usbdevfs program, and also after which, does it automatically mean that the camera will be automatically mounted everytime I plug in the USB?
Edit: There is no direct web-link, it is in a folder after running
libmesasr-dev-1.0.14-706.i386.deb
under the webpage
http://www.mesa-imaging.ch/drivers.php
ubuntu mount usb fstab camera
bumped to the homepage by Community⦠2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |Â
up vote
3
down vote
favorite
I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck.
From the instructions:
Modify the usbdevfs entry in /etc/fstab
by setting devmode appropriately, for example:
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
I am not sure how to obtain the usbdevfs program, and also after which, does it automatically mean that the camera will be automatically mounted everytime I plug in the USB?
Edit: There is no direct web-link, it is in a folder after running
libmesasr-dev-1.0.14-706.i386.deb
under the webpage
http://www.mesa-imaging.ch/drivers.php
ubuntu mount usb fstab camera
bumped to the homepage by Community⦠2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck.
From the instructions:
Modify the usbdevfs entry in /etc/fstab
by setting devmode appropriately, for example:
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
I am not sure how to obtain the usbdevfs program, and also after which, does it automatically mean that the camera will be automatically mounted everytime I plug in the USB?
Edit: There is no direct web-link, it is in a folder after running
libmesasr-dev-1.0.14-706.i386.deb
under the webpage
http://www.mesa-imaging.ch/drivers.php
ubuntu mount usb fstab camera
I am quite new at Linux and I have to install this SwissRanger camera on Ubuntu. I am trying to follow their USB mounting instructions and I got stuck.
From the instructions:
Modify the usbdevfs entry in /etc/fstab
by setting devmode appropriately, for example:
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
I am not sure how to obtain the usbdevfs program, and also after which, does it automatically mean that the camera will be automatically mounted everytime I plug in the USB?
Edit: There is no direct web-link, it is in a folder after running
libmesasr-dev-1.0.14-706.i386.deb
under the webpage
http://www.mesa-imaging.ch/drivers.php
ubuntu mount usb fstab camera
ubuntu mount usb fstab camera
edited Oct 17 '12 at 17:02
asked Oct 17 '12 at 7:45
John Tan
1183
1183
bumped to the homepage by Community⦠2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community⦠2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06
add a comment |Â
2
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06
2
2
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
0
down vote
"usbdevfs" is not a program. The third line is the edit that must be made to the /etc/fstab file.
What you can try is open up the /etc/fstab file using any text editor you are comfortable with. Note that you have to be root to edit that file. Then, just copy and paste the third line, i.e.
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
at the end of the file. Save it, and restart your machine. Check if the camera gets mounted automatically.
add a comment |Â
up vote
0
down vote
add this to your fstab
/dev/sda1 /media/usb auto rw,user,noauto 0 0
then mount the camera by issuing
mount /dev/sda1
and have read/write access to it.
Depending on what version of Ubuntu you have, in the past
I've plugged in the camera into the USB port and it instantly showed up on cheese.
add a comment |Â
up vote
0
down vote
The /etc/fstab line
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
does not mean the camera specifically. It is for the USB device filesystem, which allows "raw" userspace access to USB devices.
So it does not mean your camera will always be mounted automatically: it allows user-level tools (often based on libgphoto2 ) to access the camera, so any applications won't need special permissions to access it.
However, the suggestion to change the usbdevfs configuration in /etc/fstab is obsolete advice that is most likely not needed.
The documentation for gPhoto says:
4.3.5. USB ports on Linux (obsoleted by udev, dirty world-writable hack)
In ancient times, before the arrival of udev, one usually needed to
mount the "usbdevfs" or later "usbfs" to /proc/bus/usb. One particular
mount option allowed the whole usb filesystem (i.e. all mice, card
readers, and all other USB devices) to be made group or world
writeable.
Obviously, this kind of âÂÂsecurityâ is no security and should thus be
avoided. Additionally, since udev exists now, just use udev. You can
look up how to shoot yourself in the foot with usbdevfs... where?
Well, just use udev. After all, this is almost the year 2007, not
1997.
In year 2018, most modern Linux distributions will automatically grant the necessary usbdevfs permissions to the user logging in locally, so you won't have to do anything. If you need access to your USB devices remotely (e.g. when logging in over SSH), you can usually do that by adding a specific group membership to your user account. This group might be named plugdev: check your distribution's documentation for details.
Here's the command to make your user account a member of the plugdev group:
sudo usermod -a -G plugdev <your username here>
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
"usbdevfs" is not a program. The third line is the edit that must be made to the /etc/fstab file.
What you can try is open up the /etc/fstab file using any text editor you are comfortable with. Note that you have to be root to edit that file. Then, just copy and paste the third line, i.e.
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
at the end of the file. Save it, and restart your machine. Check if the camera gets mounted automatically.
add a comment |Â
up vote
0
down vote
"usbdevfs" is not a program. The third line is the edit that must be made to the /etc/fstab file.
What you can try is open up the /etc/fstab file using any text editor you are comfortable with. Note that you have to be root to edit that file. Then, just copy and paste the third line, i.e.
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
at the end of the file. Save it, and restart your machine. Check if the camera gets mounted automatically.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
"usbdevfs" is not a program. The third line is the edit that must be made to the /etc/fstab file.
What you can try is open up the /etc/fstab file using any text editor you are comfortable with. Note that you have to be root to edit that file. Then, just copy and paste the third line, i.e.
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
at the end of the file. Save it, and restart your machine. Check if the camera gets mounted automatically.
"usbdevfs" is not a program. The third line is the edit that must be made to the /etc/fstab file.
What you can try is open up the /etc/fstab file using any text editor you are comfortable with. Note that you have to be root to edit that file. Then, just copy and paste the third line, i.e.
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
at the end of the file. Save it, and restart your machine. Check if the camera gets mounted automatically.
answered Dec 18 '13 at 11:38
Stark07
359617
359617
add a comment |Â
add a comment |Â
up vote
0
down vote
add this to your fstab
/dev/sda1 /media/usb auto rw,user,noauto 0 0
then mount the camera by issuing
mount /dev/sda1
and have read/write access to it.
Depending on what version of Ubuntu you have, in the past
I've plugged in the camera into the USB port and it instantly showed up on cheese.
add a comment |Â
up vote
0
down vote
add this to your fstab
/dev/sda1 /media/usb auto rw,user,noauto 0 0
then mount the camera by issuing
mount /dev/sda1
and have read/write access to it.
Depending on what version of Ubuntu you have, in the past
I've plugged in the camera into the USB port and it instantly showed up on cheese.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
add this to your fstab
/dev/sda1 /media/usb auto rw,user,noauto 0 0
then mount the camera by issuing
mount /dev/sda1
and have read/write access to it.
Depending on what version of Ubuntu you have, in the past
I've plugged in the camera into the USB port and it instantly showed up on cheese.
add this to your fstab
/dev/sda1 /media/usb auto rw,user,noauto 0 0
then mount the camera by issuing
mount /dev/sda1
and have read/write access to it.
Depending on what version of Ubuntu you have, in the past
I've plugged in the camera into the USB port and it instantly showed up on cheese.
answered Sep 20 '14 at 1:11
unixmiah
326110
326110
add a comment |Â
add a comment |Â
up vote
0
down vote
The /etc/fstab line
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
does not mean the camera specifically. It is for the USB device filesystem, which allows "raw" userspace access to USB devices.
So it does not mean your camera will always be mounted automatically: it allows user-level tools (often based on libgphoto2 ) to access the camera, so any applications won't need special permissions to access it.
However, the suggestion to change the usbdevfs configuration in /etc/fstab is obsolete advice that is most likely not needed.
The documentation for gPhoto says:
4.3.5. USB ports on Linux (obsoleted by udev, dirty world-writable hack)
In ancient times, before the arrival of udev, one usually needed to
mount the "usbdevfs" or later "usbfs" to /proc/bus/usb. One particular
mount option allowed the whole usb filesystem (i.e. all mice, card
readers, and all other USB devices) to be made group or world
writeable.
Obviously, this kind of âÂÂsecurityâ is no security and should thus be
avoided. Additionally, since udev exists now, just use udev. You can
look up how to shoot yourself in the foot with usbdevfs... where?
Well, just use udev. After all, this is almost the year 2007, not
1997.
In year 2018, most modern Linux distributions will automatically grant the necessary usbdevfs permissions to the user logging in locally, so you won't have to do anything. If you need access to your USB devices remotely (e.g. when logging in over SSH), you can usually do that by adding a specific group membership to your user account. This group might be named plugdev: check your distribution's documentation for details.
Here's the command to make your user account a member of the plugdev group:
sudo usermod -a -G plugdev <your username here>
add a comment |Â
up vote
0
down vote
The /etc/fstab line
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
does not mean the camera specifically. It is for the USB device filesystem, which allows "raw" userspace access to USB devices.
So it does not mean your camera will always be mounted automatically: it allows user-level tools (often based on libgphoto2 ) to access the camera, so any applications won't need special permissions to access it.
However, the suggestion to change the usbdevfs configuration in /etc/fstab is obsolete advice that is most likely not needed.
The documentation for gPhoto says:
4.3.5. USB ports on Linux (obsoleted by udev, dirty world-writable hack)
In ancient times, before the arrival of udev, one usually needed to
mount the "usbdevfs" or later "usbfs" to /proc/bus/usb. One particular
mount option allowed the whole usb filesystem (i.e. all mice, card
readers, and all other USB devices) to be made group or world
writeable.
Obviously, this kind of âÂÂsecurityâ is no security and should thus be
avoided. Additionally, since udev exists now, just use udev. You can
look up how to shoot yourself in the foot with usbdevfs... where?
Well, just use udev. After all, this is almost the year 2007, not
1997.
In year 2018, most modern Linux distributions will automatically grant the necessary usbdevfs permissions to the user logging in locally, so you won't have to do anything. If you need access to your USB devices remotely (e.g. when logging in over SSH), you can usually do that by adding a specific group membership to your user account. This group might be named plugdev: check your distribution's documentation for details.
Here's the command to make your user account a member of the plugdev group:
sudo usermod -a -G plugdev <your username here>
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The /etc/fstab line
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
does not mean the camera specifically. It is for the USB device filesystem, which allows "raw" userspace access to USB devices.
So it does not mean your camera will always be mounted automatically: it allows user-level tools (often based on libgphoto2 ) to access the camera, so any applications won't need special permissions to access it.
However, the suggestion to change the usbdevfs configuration in /etc/fstab is obsolete advice that is most likely not needed.
The documentation for gPhoto says:
4.3.5. USB ports on Linux (obsoleted by udev, dirty world-writable hack)
In ancient times, before the arrival of udev, one usually needed to
mount the "usbdevfs" or later "usbfs" to /proc/bus/usb. One particular
mount option allowed the whole usb filesystem (i.e. all mice, card
readers, and all other USB devices) to be made group or world
writeable.
Obviously, this kind of âÂÂsecurityâ is no security and should thus be
avoided. Additionally, since udev exists now, just use udev. You can
look up how to shoot yourself in the foot with usbdevfs... where?
Well, just use udev. After all, this is almost the year 2007, not
1997.
In year 2018, most modern Linux distributions will automatically grant the necessary usbdevfs permissions to the user logging in locally, so you won't have to do anything. If you need access to your USB devices remotely (e.g. when logging in over SSH), you can usually do that by adding a specific group membership to your user account. This group might be named plugdev: check your distribution's documentation for details.
Here's the command to make your user account a member of the plugdev group:
sudo usermod -a -G plugdev <your username here>
The /etc/fstab line
usbdevfs /proc/bus/usb usbdevfs devmode=0666,noauto 0 0
does not mean the camera specifically. It is for the USB device filesystem, which allows "raw" userspace access to USB devices.
So it does not mean your camera will always be mounted automatically: it allows user-level tools (often based on libgphoto2 ) to access the camera, so any applications won't need special permissions to access it.
However, the suggestion to change the usbdevfs configuration in /etc/fstab is obsolete advice that is most likely not needed.
The documentation for gPhoto says:
4.3.5. USB ports on Linux (obsoleted by udev, dirty world-writable hack)
In ancient times, before the arrival of udev, one usually needed to
mount the "usbdevfs" or later "usbfs" to /proc/bus/usb. One particular
mount option allowed the whole usb filesystem (i.e. all mice, card
readers, and all other USB devices) to be made group or world
writeable.
Obviously, this kind of âÂÂsecurityâ is no security and should thus be
avoided. Additionally, since udev exists now, just use udev. You can
look up how to shoot yourself in the foot with usbdevfs... where?
Well, just use udev. After all, this is almost the year 2007, not
1997.
In year 2018, most modern Linux distributions will automatically grant the necessary usbdevfs permissions to the user logging in locally, so you won't have to do anything. If you need access to your USB devices remotely (e.g. when logging in over SSH), you can usually do that by adding a specific group membership to your user account. This group might be named plugdev: check your distribution's documentation for details.
Here's the command to make your user account a member of the plugdev group:
sudo usermod -a -G plugdev <your username here>
answered Aug 15 at 7:09
telcoM
11.5k11333
11.5k11333
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f52054%2fmounting-usb-camera-on-ubuntu%23new-answer', 'question_page');
);
Post as a guest
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
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
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
2
Can you give us a link to the instructions you're following?
â rahmu
Oct 17 '12 at 9:06