This is some notes on getting the SR-3000 range camera to work in Ubuntu 6.06 Dapper. This is after installing the driver. The problem is that every time the camera is connected to the computer, the default permissions disallow writing, which is necessary to operate the camera. Here is how to change the owner to my username (mobility) so it doesn't matter what the permissions are.
This took half a day to figure out, so I wanted to post some notes.
I started with this guide:
http://ubuntuforums.org/showthread.php?t=168221
Then this guide:
http://reactivated.net/writing_udev_rules.html
And here is the rule I came up with. First the path to the file, then the file contents. Note that the contents are all one line.
/etc/udev/rules.d/10-swiss-ranger.rules:
BUS=="usb", SYSFS{idVendor}=="0852", SYSFS{idProduct}=="0074", NAME="SR3100", SYMLINK+="bus/usb/SR3100/1", MODE="0666", OWNER="mobility", GROUP="mobility"
If you're following this guide, you may need to change the idVendor and idProduct numbers to match your particular camera. You get that information from udevinfo, or possibly lsusb with the right flags. Check the above guides for how to do this.
For some reason, the permissions never were set correctly, but the owner and group were changed, so I can do whatever I please with the camera. Because I own it!
Tuesday, November 6, 2007
Subscribe to:
Posts (Atom)