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



Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux