Re: usb/camera

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/16/2012 12:05 PM, Patrick Dupre wrote:
> Hello,
> 
> When I plug my camera on the usb port it is recognized on bus 006
> but the device is incremented every time. Hence, every time I need to
> make a chmod a+w /dev/bus/usb/006/0xx to let a user read the pictures.
> 
> How can I fix this more elegantly?

Create a new file in /etc/udev/rules.d (the name is not important,
but the first part is a priority, I usually use 51 or so).

Put something like:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="XxxX", ATTRS{idProduct} =="YyyY",MODE="0666"

where the XxxX and YyyY are the vendor and product of your camera,
which you can see by using the lsusb command.

The change will have effect on next camera replug.

(this is how I do it on F14; hoping F16 has not changed everything)

-- 
   Roberto Ragusa    mail at robertoragusa.it
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux