Надо: Сделать так что бы камера появилась как /dev/video0
Код: Выделить всё
# uname -a
FreeBSD turbo 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Nov 6 13:12:07 EET 2012 root@turbo:/usr/obj/usr/src/sys/GTKERNEL amd64
Код: Выделить всё
# dmesg
pci3: <ACPI PCI bus> on pcib3
atapci0: <JMicron JMB361 UDMA133 controller> port 0xcf00-0xcf07,0xce00-0xce03,0xcd00-0xcd07,0xcc00-0xcc03,0xcb00-0xcb0f mem 0xfd8fe000-0xfd8fffff irq 16 at device 0.0 on pci3
ahci0: <JMicron JMB361 AHCI SATA controller> on atapci0
ahci0: AHCI v1.00 with 2 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ata2: <ATA channel 0> on atapci0
uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0xfd00-0xfd1f irq 23 at device 29.0 on pci0
usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0xfc00-0xfc1f irq 19 at device 29.1 on pci0
usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0xfb00-0xfb1f irq 18 at device 29.2 on pci0
usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 0xfdffe000-0xfdffe3ff irq 23 at device 29.7 on pci0
usbus6: EHCI version 1.0
usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 1.0 on pci4
pci5: <PCI bus> on pcib5
fxp0: <Intel 82559ER Embedded 10/100 Ethernet> port 0xaf00-0xaf3f mem 0xfdbff000-0xfdbfffff,0xfdb60000-0xfdb7ffff irq 18 at device 0.0 on pci5
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp0: Ethernet address: 00:80:b6:00:b8:28
fxp1: <Intel 82559ER Embedded 10/100 Ethernet> port 0xae00-0xae3f mem 0xfdbfe000-0xfdbfefff,0xfdba0000-0xfdbbffff irq 19 at device 1.0 on pci5
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> PHY 1 on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp1: Ethernet address: 00:80:b6:00:b8:29
fxp2: <Intel 82559ER Embedded 10/100 Ethernet> port 0xad00-0xad3f mem 0xfdbfd000-0xfdbfdfff,0xfdbc0000-0xfdbdffff irq 20 at device 2.0 on pci5
miibus2: <MII bus> on fxp2
inphy2: <i82555 10/100 media interface> PHY 1 on miibus2
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp2: Ethernet address: 00:80:b6:00:b8:2a
fxp3: <Intel 82559ER Embedded 10/100 Ethernet> port 0xac00-0xac3f mem 0xfdbfc000-0xfdbfcfff,0xfdb80000-0xfdb9ffff irq 21 at device 3.0 on pci5
miibus3: <MII bus> on fxp3
inphy3: <i82555 10/100 media interface> PHY 1 on miibus3
inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp3: Ethernet address: 00:80:b6:00:b8:2b
fxp4: <Intel 82550 Pro/100 Ethernet> port 0xbf00-0xbf3f mem 0xfdcff000-0xfdcfffff,0xfdca0000-0xfdcbffff irq 19 at device 2.0 on pci4
miibus4: <MII bus> on fxp4
inphy4: <i82555 10/100 media interface> PHY 1 on miibus4
inphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp4: Ethernet address: 00:02:b3:5e:05:a4
fxp5: <Intel 82550 Pro/100 Ethernet> port 0xbe00-0xbe3f mem 0xfdcfe000-0xfdcfefff,0xfdcc0000-0xfdcdffff irq 20 at device 3.0 on pci4
miibus5: <MII bus> on fxp5
inphy5: <i82555 10/100 media interface> PHY 1 on miibus5
inphy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp5: Ethernet address: 00:02:b3:5e:05:55
re0: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port 0xbc00-0xbcff mem 0xfdcfd000-0xfdcfd0ff irq 21 at device 5.0 on pci4
re0: Chip rev. 0x18000000
re0: MAC rev. 0x00000000
miibus6: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus6
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:19:21:43:8f:72
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH8 SATA300 controller> port 0xfa00-0xfa07,0xf900-0xf903,0xf800-0xf807,0xf700-0xf703,0xf600-0xf60f,0xf500-0xf50f irq 19 at device 31.2 on pci0
ata3: <ATA channel 0> on atapci1
ata4: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atapci2: <Intel ICH8 SATA300 controller> port 0xf300-0xf307,0xf200-0xf203,0xf100-0xf107,0xf000-0xf003,0xef00-0xef0f,0xee00-0xee0f irq 19 at device 31.5 on pci0
ata5: <ATA channel 0> on atapci2
ata6: <ATA channel 1> on atapci2
acpi_tz0: <Thermal Zone> on acpi0
attimer0: <AT timer> port 0x40-0x43 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
device_attach: hpet0 attach returned 12
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd2fff,0xd3000-0xd47ff,0xd5000-0xd67ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ACPI Error: [\\_PR_.CPU0._PSS] Namespace lookup failure, AE_NOT_FOUND (20110527/psargs-392)
ACPI Error: Method parse/execution failed [\\_PR_.CPU1._PSS] (Node 0xfffffe0002692000), AE_NOT_FOUND (20110527/psparse-560)
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr f2500000f25
device_attach: est0 attach returned 6
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr f2500000f25
device_attach: est1 attach returned 6
p4tcc1: <CPU Frequency Thermal Control> on cpu1
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, nat enabled, rule-based forwarding enabled, default to accept, logging disabled
DUMMYNET 0 with IPv6 initialized (100409)
load_dn_sched dn_sched RR loaded
load_dn_sched dn_sched WF2Q+ loaded
load_dn_sched dn_sched FIFO loaded
load_dn_sched dn_sched PRIO loaded
load_dn_sched dn_sched QFQ loaded
hdac0: HDA Codec #0: Realtek ALC883
pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 0 nid 1 on hdac0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub2: 4 ports with 4 removable, self powered
uhub6: 6 ports with 6 removable, self powered
ugen0.2: <ISSC> at usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD20EARX-00PASB0 51.0AB51> ATA-8 SATA 3.x device
ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
SMP: AP CPU #1 Launched!
ugen6.2: <vendor 0x1a40> at usbus6
uhub7: <vendor 0x1a40 USB 2.0 Hub MTT, class 9/0, rev 2.00/1.00, addr 2> on usbus6
Root mount waiting for: usbus6
uhub7: 4 ports with 4 removable, self powered
ugen3.2: <Hewlett-Packard> at usbus3
Root mount waiting for: usbus6
ugen6.3: <Intrporation> at usbus6
Trying to mount root from ufs:/dev/ada0s1a [rw]...
ugen4.2: <Dell> at usbus4
ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/3.01, addr 2> on usbus4
kbd2 at ukbd0
ubt0: <ISSC ISSCEDRBTA, class 224/1, rev 1.10/3.73, addr 2> on usbus0
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
re0: link state changed to UP
Код: Выделить всё
# usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen6.1: <EHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen0.2: <ISSCEDRBTA ISSC> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.2: <USB 2.0 Hub MTT vendor 0x1a40> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.2: <HP ScanJet 4400c Hewlett-Packard> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.3: <Intelr PC Camera CS431 Intrporation> at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.2: <Dell USB Keyboard Dell> at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
Код: Выделить всё
# cat /boot/loader.conf
cuse4bsd_load="YES"
snd_uaudio_load="YES"
snd_hda_load="YES"
Код: Выделить всё
cat /usr/src/sys/amd64/conf/GTKERNEL
...
options VESA
options SC_DISABLE_REBOOT
options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_KERNEL_CONS_ATTR=(FG_YELLOW|BG_BLACK)
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=150
options IPFIREWALL_FORWARD
options IPFIREWALL_NAT
options DUMMYNET
options LIBALIAS
options IPFIREWALL_DEFAULT_TO_ACCEPT
options HZ="1000"
Код: Выделить всё
# kldstat
Id Refs Address Size Name
1 31 0xffffffff80200000 11ff438 kernel
3 1 0xffffffff81414000 6600 cuse4bsd.ko
4 1 0xffffffff81612000 328d ng_ubt.ko
5 1 0xffffffff81616000 8b3d ng_hci.ko
6 3 0xffffffff8161f000 a79 ng_bluetooth.ko
7 5 0xffffffff81620000 8e12 netgraph.ko
8 1 0xffffffff81629000 b4a2 ng_l2cap.ko
9 1 0xffffffff81635000 1695e ng_btsocket.ko
10 1 0xffffffff8164c000 1ba9 ng_socket.ko
11 1 0xffffffff8164e000 16e3 ipdivert.ko
12 1 0xffffffff81650000 42a0 linprocfs.ko
13 1 0xffffffff81655000 1e17c linux.ko
Код: Выделить всё
cat /etc/devfs.conf
own video0 root:operator
perm video0 0660
Код: Выделить всё
# cat /etc/rc.conf
background_fsck="NO"
fsck_y_enable="YES"
hostname="localhost"
ServerName="localhost"
gateway_enable="YES"
keyrate="fast"
sshd_enable="YES"
moused_enable="YES"
ifconfig_fxp0="inet 192.168.0.2/24"
#....
defaultrouter="192.168.0.1"
dhcpd_enable="YES"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_ifaces="fxp1 fxp2 fxp3 fxp5 re0"
apache22_enable="YES"
mysql_enable="YES"
ntpd_enable="YES"
ntpd_program="/usr/sbin/ntpd"
ntpd_config="/etc/ntp.conf"
ntpd_sync_on_start="YES"
ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
natd_interface="fxp0"
natd_flags="-f /etc/natd.conf"
natd_enable="YES"
firewall_script="/etc/ipfw.rules"
firewall_enable="YES"
samba_enable="YES"
named_enable="YES"
linux_enable="YES"
hald_enable="YES"
dbus_enable="YES"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
scrnmap="koi8-r2cp866"
keymap="ua.koi8-u.shift.alt"
kayrate="fast"
fusefs_enable="YES"
# WEB CAM
webcamd_enable="yes"
webcamd_flags="-d ugen6.3 -i 0 -v 0"
moused_flags=""
moused_port="/dev/psm0"
moused_type="auto"
moused_enable="YES"
devd_enable="YES"
devfs_system_ruleset="system"
Код: Выделить всё
# pkg_version -v | awk '{print $1}'
3proxy-0.6.1
44bsd-rdist-20001111
ImageMagick-6.7.9.4
ORBit2-2.14.19
aalib-1.4.r5_6
apache22-2.2.23
appres-1.0.3
apr-1.4.6.1.4.1_1
atk-2.0.1
autoconf-2.13.000227_6
autoconf-2.69
autoconf-wrapper-20101119
automake-1.12.4
automake-1.4.6_6
automake-wrapper-20101119
bdftopcf-1.0.3
bigreqsproto-1.1.1
bind98-9.8.4
binutils-2.22_3
bison-2.5.1,1
bitmap-1.0.5
bitstream-vera-1.10_5
ca_root_nss-3.14
cairo-1.10.2_4,2
cmake-2.8.9
cmake-modules-2.8.9
compositeproto-0.4.2
consolekit-0.4.3
cups-client-1.5.2_2
cups-image-1.5.2_1
curl-7.24.0_1
cuse4bsd-kmod-0.1.26
damageproto-1.2.1
db42-4.2.52_5
dbus-1.4.14_4
dbus-glib-0.94
dconf-0.5.1_4
dmidecode-2.11
dmxproto-2.3.1
docbook-4.1_4
docbook-xsl-1.76.1
dri-7.6.1_2,2
dri2proto-2.6
eggdbus-0.6_1
encodings-1.0.4,1
evieext-1.1.1
expat-2.0.1_2
fftw3-3.3.2
fixesproto-5.0
font-adobe-100dpi-1.0.3
font-adobe-75dpi-1.0.3
font-adobe-utopia-100dpi-1.0.4
font-adobe-utopia-75dpi-1.0.4
font-adobe-utopia-type1-1.0.4
font-alias-1.0.3
font-arabic-misc-1.0.3
font-bh-100dpi-1.0.3
font-bh-75dpi-1.0.3
font-bh-lucidatypewriter-100dpi-1.0.3
font-bh-lucidatypewriter-75dpi-1.0.3
font-bh-ttf-1.0.3
font-bh-type1-1.0.3
font-bitstream-100dpi-1.0.3
font-bitstream-75dpi-1.0.3
font-bitstream-type1-1.0.3
font-cronyx-cyrillic-1.0.3
font-cursor-misc-1.0.3
font-daewoo-misc-1.0.3
font-dec-misc-1.0.3
font-ibm-type1-1.0.3
font-isas-misc-1.0.3
font-jis-misc-1.0.3
font-micro-misc-1.0.3
font-misc-cyrillic-1.0.3
font-misc-ethiopic-1.0.3
font-misc-meltho-1.0.3
font-misc-misc-1.1.2
font-mutt-misc-1.0.3
font-schumacher-misc-1.1.2
font-screen-cyrillic-1.0.4
font-sony-misc-1.0.3
font-sun-misc-1.0.3
font-util-1.2.0
font-winitzki-cyrillic-1.0.3
font-xfree86-type1-1.0.4
fontcacheproto-0.1.3
fontconfig-2.9.0,1
fontsproto-2.1.1
freetype2-2.4.9_1
frei0r-1.3_1
gamin-0.1.10_4
gconf2-2.32.0_3
gdbm-1.9.1
gdk-pixbuf-2.23.5_3
gettext-0.18.1.1
ghostscript9-9.06_1
gio-fam-backend-2.28.8_1
glib-2.28.8_2
glproto-1.4.15
gmake-3.82_1
gmp-5.0.5
gnome_subr-1.0
gnomehier-2.3_12
gnutls-2.12.18_1
gobject-introspection-0.10.8_2
gperf-3.0.3
gsfonts-8.11_5
gtk-2.24.6_2
gtk-engines2-2.20.2_1
gtk-update-icon-cache-2.24.6_1
hal-0.5.14_20
help2man-1.40.12
hicolor-icon-theme-0.12
htop-1.0.1_2
iceauth-1.0.5
inputproto-2.0.2
intltool-0.41.1
isc-dhcp42-server-4.2.4_2
iso8879-1986_3
jasper-1.900.1_10
jbig2dec-0.11_1
jbigkit-1.6
jpeg-8_3
kbproto-1.0.5
lcms2-2.4
libFS-1.0.3
libGL-7.6.1_2
libGLU-7.6.1_1
libICE-1.0.7,1
libIDL-0.8.14_1
libSM-1.2.0,1
libX11-1.4.4,1
libXScrnSaver-1.2.1
libXTrap-1.0.0
libXau-1.0.6
libXaw-1.0.9,2
libXcomposite-0.4.3,1
libXcursor-1.1.12
libXdamage-1.1.3
libXdmcp-1.1.0
libXevie-1.0.3
libXext-1.3.0_1,1
libXfixes-5.0
libXfont-1.4.4_1,1
libXfontcache-1.0.5
libXft-2.1.14
libXi-1.4.5,1
libXinerama-1.1.1,1
libXmu-1.1.0,1
libXp-1.0.1,1
libXpm-3.5.9
libXrandr-1.3.2
libXrender-0.9.6
libXres-1.0.5
libXt-1.1.1,1
libXtst-1.2.0
libXv-1.0.6,1
libXvMC-1.0.6
libXxf86dga-1.1.2
libXxf86misc-1.0.3
libXxf86vm-1.1.1
libcheck-0.9.8
libcroco-0.6.2_1
libdmx-1.1.1
libdrm-2.4.17_1
libexecinfo-1.1_3
libffi-3.0.9
libfontenc-1.1.0
libfpx-1.3.1.1
libgcrypt-1.5.0_1
libgee-0.6.2.1
libglut-7.4.4
libgpg-error-1.10
libgsf-1.14.21_1
libiconv-1.14
libidn-1.25
liblqr-1-0.4.1_3
libltdl-2.4.2
libmcrypt-2.5.8
liboldX-1.0.1
libpaper-1.1.24_1
libpciaccess-0.12.1
libpthread-stubs-0.3_3
librsvg2-2.34.1_1
libslang2-2.2.4_3
libtool-2.4.2
libv4l-0.8.8_1
libvolume_id-0.81.1
libwmf-0.2.8.4_7
libxcb-1.7
libxkbfile-1.0.7
libxkbui-1.0.2_1
libxml2-2.7.8_5
libxslt-1.1.26_3
linux_base-fc-4_16
lsof-4.87.a,7
luit-1.1.0_1
m4-1.4.16_1,1
makedepend-1.0.3,1
mc-4.8.1.6
mkfontdir-1.0.6
mkfontscale-1.0.9
mpfr-3.1.1
mysql-client-5.5.28
mysql-server-5.5.28
nasm-2.10.03,1
nettle-2.5
oniguruma-4.7.1
opencv-core-2.3.1_4
openldap-client-2.4.33
p11-kit-0.14
p5-Locale-gettext-1.05_3
p5-XML-Parser-2.41
pango-1.28.4_1
pciids-20120906
pcre-8.31_1
pdflib-7.0.5_2
pecl-pdflib-2.1.9
perl-5.12.4_4
php5-5.4.7
php5-calendar-5.4.7
php5-ctype-5.4.7
php5-curl-5.4.7
php5-dom-5.4.7
php5-extensions-1.7
php5-fileinfo-5.4.7
php5-filter-5.4.7
php5-ftp-5.4.7
php5-gd-5.4.7
php5-gettext-5.4.7
php5-gmp-5.4.7
php5-hash-5.4.7
php5-iconv-5.4.7
php5-json-5.4.7
php5-mbstring-5.4.7
php5-mcrypt-5.4.7
php5-mysql-5.4.7
php5-pdo-5.4.7
php5-pdo_sqlite-5.4.7
php5-phar-5.4.7
php5-posix-5.4.7
php5-session-5.4.7
php5-simplexml-5.4.7
php5-sockets-5.4.7
php5-sqlite3-5.4.7
php5-tokenizer-5.4.7
php5-xml-5.4.7
php5-xmlreader-5.4.7
php5-xmlwriter-5.4.7
php5-xsl-5.4.7
php5-zip-5.4.7
php5-zlib-5.4.7
pixman-0.24.2
pkg-config-0.25_1
pkgconf-0.8.9
png-1.5.12
policykit-0.9_6
polkit-0.99
popt-1.16
portupgrade-2.4.10.2,2
printproto-1.0.5
pwcview-1.4.1_4
py27-libxml2-2.7.8_2
python27-2.7.3_3
randrproto-1.3.2
rdesktop-1.7.1_1
recordproto-1.14.1
renderproto-0.11.1
resourceproto-1.2.0
rpm-3.0.6_15
rsync-3.0.9_2
ruby-1.8.7.371,1
ruby18-bdb-0.6.6
samba36-3.6.9
sane-backends-1.0.22_2
sane-frontends-1.0.14_8
scrnsaverproto-1.2.1
sdl-1.2.15_2,2
sessreg-1.0.7
setxkbmap-1.2.0
shared-mime-info-1.0_1
smproxy-1.0.5
sqlite3-3.7.14.1
sudo-1.8.6.p3_1
svgalib-1.4.3_6
t1lib-5.1.2_1,1
talloc-2.0.7
tdb-1.2.9,1
texi2html-5.0_1,1
tiff-4.0.2_1
trapproto-3.4.3
twm-1.0.7
unrar-4.20_1,5
unzip-6.0_1
v4l_compat-1.0.20120501_1
vala-0.12.1
videoproto-2.3.1
webcamd-3.7.0.4
webp-0.1.3_1
wget-1.13.4_1
x11perf-1.5.4
xauth-1.0.6
xbacklight-1.1.2
xbitmaps-1.1.1
xcalc-1.0.4.1_1
xcb-proto-1.7.1
xcb-util-0.3.8,1
xclock-1.0.6
xcmiscproto-1.2.1
xcmsdb-1.0.3
xcursor-themes-1.0.3_1
xcursorgen-1.0.4_1
xdpyinfo-1.3.0
xdriinfo-1.0.4
xev-1.1.0
xextproto-7.2.0
xf86-input-keyboard-1.6.1
xf86-input-mouse-1.7.1_1
xf86-video-ati-6.14.3_1
xf86-video-intel-2.7.1_4
xf86-video-mach64-6.9.0
xf86-video-nv-2.1.18_1
xf86-video-openchrome-0.2.904_3
xf86-video-r128-6.8.1_3
xf86-video-radeonhd-1.3.0_5
xf86-video-s3-0.6.3_3
xf86-video-s3virge-1.10.4_2
xf86-video-savage-2.3.3
xf86-video-vesa-2.3.0_2
xf86bigfontproto-1.2.0
xf86dga-1.0.3
xf86dgaproto-2.1
xf86driproto-2.1.1
xf86miscproto-0.9.3
xf86vidmodeproto-2.3.1
xgamma-1.0.4
xgc-1.0.3
xhost-1.0.4
xineramaproto-1.2.1
xinit-1.3.2,1
xinput-1.5.4
xkbcomp-1.2.3
xkbevd-1.1.2
xkbutils-1.0.3
xkeyboard-config-2.5.1
xkill-1.0.3
xlsatoms-1.1.0
xlsclients-1.1.2
xmessage-1.0.3
xmlcatmgr-2.2
xmodmap-1.0.5
xorg-7.5.2
xorg-apps-7.5.2
xorg-docs-1.6,1
xorg-drivers-7.5.2
xorg-fonts-100dpi-7.5.1
xorg-fonts-7.5.1
xorg-fonts-75dpi-7.5.1
xorg-fonts-cyrillic-7.5.1
xorg-fonts-miscbitmaps-7.5.1
xorg-fonts-truetype-7.5.1
xorg-fonts-type1-7.5.1
xorg-libraries-7.5.1
xorg-macros-1.16.1
xorg-server-1.7.7_6,1
xpr-1.0.3
xprop-1.2.1
xproto-7.0.22
xrandr-1.3.5
xrdb-1.0.9
xrefresh-1.0.4
xset-1.2.2_1
xsetmode-1.0.0
xsetroot-1.1.0
xterm-286
xtrans-1.2.6
xvinfo-1.1.1
xwd-1.0.4
xwininfo-1.1.2
xwud-1.0.3
yasm-1.2.0
Код: Выделить всё
# cat /usr/local/etc/rc.d/webcamd
#!/bin/sh
#
# PROVIDE: webcamd
# REQUIRE: DAEMON
#
name="webcamd"
rcvar=${name}_enable
. /etc/rc.subr
load_rc_config $name
: ${webcamd_enable="no"}
: ${hald_enable="no"}
command=/usr/local/sbin/webcamd
command_args="-B"
start_precmd="${name}_prestart"
webcamd_prestart()
{
if checkyesno hald_enable ; then
command_args="$command_args -H"
fi
}
run_rc_command $1
Код: Выделить всё
#
# /etc/rc.d/devd restart
Stopping devd.
Starting devd.
# /etc/rc.d/devd status
devd is running as pid 41708.
# /usr/local/etc/rc.d/webcamd start
Starting webcamd.
Attached to ugen6.3[0]
# /usr/local/etc/rc.d/webcamd status
webcamd is not running.
Пробуем говорить по другому
Код: Выделить всё
# ps -auxww | grep webcam
root 47832 0.0 0.1 16424 1520 0 S+ 1:53AM 0:00.00 grep webcam
# webcamd -d ugen6.3 -i 0 -v 0
webcamd: Cannot find USB device
# ps -auxww | grep webcam
root 47849 0.0 0.0 556 396 0 R+ 1:55AM 0:00.00 grep webcam
# ls -l /dev/ | grep video