webcam on FreeBSD

安装 multimedia/webcamd

需要在/etc/rc.conf加上

webcamd_enable=”YES”

/boot/loader.conf加上

cuse4bsd_load=”YES”

pwc_load=”YES”

如果需要普通用户也用访问摄像头, 需要

1、新加一个组, 比如webcam, 并加普通用户到这个组

#pw groupadd webcam

#pw groupmod webcam -m yourusername

2. 设置devfs

#vi /etc/devfs.rules

加上

[webcam_rules=6]

add path ‘video*’ mode 0660 group webcam

在/etc/rc.conf上加

devfs_system_ruleset=”webcam_rules”

这样开机就能失效。

测试的IM软件能够使用摄像头的有emesene, 在emesene里面可以send webcam,但是好像看不了别人的摄像头。

skype/pidgin/amsn目前都不可用。

This entry was posted in FreeBSD. Bookmark the permalink.

Leave a comment