Here's how to get you Nikon D5100 (and probably all sorts of other cameras) to cooperate with graphics/darktable on FreeBSD:
1) Verify that you camera is supported
1.1) Install graphics/gphoto2
1.2) Attach you camera to you Computer with usb cable.
1.3) run
The output should be similar to this
2) Install graphics/darktable
3) Configure FreeBSD device rules
3.1) Figure out usb device to which camera is attached
3.2) Add this rule to /dev/devfs.rules
Anyone know any better way to achieve this?
Make sure you're in operator group.
4) Reboot
You're done. If you open darktable you should be able to find you camera with "import -> scan for devices"
I was very happy to find out that my new camera worked with FreeBSD
References:
http://www.darktable.org/usermanual/ch04s04.html.php
devfs.rules(5)
P.S.
After you configure FreeBSD you can also use graphics/fusefs-gphotofs to access files on camera.
just mount it with.
Note that vfs.usermount=1 must be set in order to mount it to ~/mnt.
1) Verify that you camera is supported
1.1) Install graphics/gphoto2
1.2) Attach you camera to you Computer with usb cable.
1.3) run
gphoto --auto-detect
as rootThe output should be similar to this
Code:
Model Port
----------------------------------------------------------
Nikon DSC D5100 (PTP mode) usb:002,002
3) Configure FreeBSD device rules
3.1) Figure out usb device to which camera is attached
Code:
$ dmesg
...
ugen2.2: <NIKON> at usbus2
$ ls -lFh /dev/ugen2.2
lrwxr-xr-x 1 root wheel 9B 10 Jan 22:50 /dev/ugen2.2@ -> usb/2.2.0
Code:
add path usb/2.2.0 mode 0660 group operator
Make sure you're in operator group.
4) Reboot
You're done. If you open darktable you should be able to find you camera with "import -> scan for devices"
I was very happy to find out that my new camera worked with FreeBSD
References:
http://www.darktable.org/usermanual/ch04s04.html.php
devfs.rules(5)
P.S.
After you configure FreeBSD you can also use graphics/fusefs-gphotofs to access files on camera.
just mount it with.
Code:
$ gphotofs ~/mnt
Note that vfs.usermount=1 must be set in order to mount it to ~/mnt.