101

Odp: Plugin Webcam do Gagroyle

Sprawdź po prostu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

102

Odp: Plugin Webcam do Gagroyle

Witam, Nie mam pojęcia o co tu chodzi ale dzisiaj jak przyszedłem z pracy. Obie kamery działały i jest na nich obraz. Nic nie robiłem. Jedynie w dniu dzisiejszym wyłączali w budynku prąd.

103

Odp: Plugin Webcam do Gagroyle

Witam, dzisiaj znowu brakuje tej drugiej kamery. Moze powodem jest że obie kamery są do ps3.

104

Odp: Plugin Webcam do Gagroyle

Jak ci wczoraj chodziło to nie, nie to jest powodem jak widzisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

105

Odp: Plugin Webcam do Gagroyle

Witam,
Ponownie jestem zmuszony do poruszenia tematu. Poprzednio kamery działały jak chciały. Raz startowały a za kilka minut już jedna nie działała. Kamery działały jak zainstalowałem, mjpg-streamer oraz webcam. Słuchając porad kolegi w dniu dzisiejszym zainstalowałem tylko mjpg-streamer i skonfigurowałem zgodnie z poprzednimi wskazówkami /etc/config/mjpg-streamer. W usługach uruchomiona jest tylko raz mjpg-streamer i działa tylko jedna kamera. Poprzednio jak działały dwie kamery były włączone dwie usługi. Czy muszę jakoś uruchomić drugi raz usługę i dlaczego ta druga kamera nie działa? Proszę o pomoc, bo ten temat mnie męczy i nie lubię jak coś działa nie poprawnie. Z góry dziękuję

106

Odp: Plugin Webcam do Gagroyle

Dodać do konfiga drugą sekcją, tak jak poprzednio.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

107

Odp: Plugin Webcam do Gagroyle

Dodałem, poniżej przesyłam zapis pliku /etc/config/mjpg-streamer

config mjpg-streamer 'core'
        option device '/dev/video0'
        option resolution '640x480'
        option fps '20'
        option port '8081'
        option username 'admin'
        option password 'admin'
        option enabled '1'
        option yuv '1'
config mjpg-streamer 'core1'
        option device '/dev/video1'
        option resolution '640x480'
        option fps '20'
        option port '8082'
        option username 'admin'
        option password 'admin'
        option enabled '1'
        option yuv '1'

108

Odp: Plugin Webcam do Gagroyle

I odpal ponownie mjpeg-streamer

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

109

Odp: Plugin Webcam do Gagroyle

Wpisałem /etc/init.d/mjpg-streamer start, ale nic się nie dzieje.

110

Odp: Plugin Webcam do Gagroyle

Wynik polecenia ps pokaż.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

111

Odp: Plugin Webcam do Gagroyle

PID USER       VSZ STAT COMMAND
    1 root      1508 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   69 root         0 SW   [sync_supers]
   71 root         0 SW   [bdi-default]
   73 root         0 SW<  [kblockd]
  104 root         0 SW   [kswapd0]
  152 root         0 SW   [fsnotify_mark]
  182 root         0 SW<  [ath79-spi]
  193 root         0 SW   [mtdblock0]
  198 root         0 SW   [mtdblock1]
  203 root         0 SW   [mtdblock2]
  208 root         0 SW   [mtdblock3]
  213 root         0 SW   [mtdblock4]
  218 root         0 SW   [mtdblock5]
  286 root         0 SW   [kworker/0:1]
  445 root         0 SW   [kworker/0:2]
  494 root         0 SWN  [jffs2_gcd_mtd3]
  519 root         0 SW   [khubd]
  561 root      1508 S    init
  594 root         0 SW<  [cfg80211]
  633 root         0 SW<  [rpciod]
  646 root         0 SW<  [nfsiod]
  842 root      1512 S    /sbin/syslogd -C16
  844 root      1496 S    /sbin/klogd
  846 root       880 S    /sbin/hotplug2 --override --persistent --set-rules-f
  856 root       876 S    /sbin/ubusd
  979 nobody    1020 S    /usr/sbin/portmap
  993 root      1476 S    /sbin/netifd
1047 root      1512 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
1330 root      1632 S    hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
1398 root      1624 S    hostapd -P /var/run/wifi-phy1.pid -B /var/run/hostap
1595 root      1164 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1673 root      1348 S    httpd_gargoyle -c cgi-bin/**|**.sh|**.cgi|**.csv -d
2041 nobody     972 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
2294 root      1504 S    /sbin/watchdog -t 5 /dev/watchdog
2632 root      1504 S    /usr/sbin/ntpd -n -p 0.pool.ntp.org -p 1.pool.ntp.or
2683 root      1232 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
2753 root      1508 S    -ash
2939 root      1516 S    /usr/sbin/crond -c /etc/crontabs -l 9
3385 root     13296 S    /usr/bin/mjpg_streamer --input input_uvc.so -y   --d
3409 root         0 SW   [kworker/0:0]
3423 root         0 SW   [kworker/0:3]
3424 root         0 Z    [sh]
3426 root      1500 R    ps

112

Odp: Plugin Webcam do Gagroyle

/etc/init.d/mjpg-streamer stop
/etc/init.d/mjpg-streamer start

Zrób. Jedna instancja działa.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

113

Odp: Plugin Webcam do Gagroyle

Zrobiłem i nadal działa tylko jedna
ps
  PID USER       VSZ STAT COMMAND
    1 root      1508 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   69 root         0 SW   [sync_supers]
   71 root         0 SW   [bdi-default]
   73 root         0 SW<  [kblockd]
  104 root         0 SW   [kswapd0]
  152 root         0 SW   [fsnotify_mark]
  182 root         0 SW<  [ath79-spi]
  193 root         0 SW   [mtdblock0]
  198 root         0 SW   [mtdblock1]
  203 root         0 SW   [mtdblock2]
  208 root         0 SW   [mtdblock3]
  213 root         0 SW   [mtdblock4]
  218 root         0 SW   [mtdblock5]
  286 root         0 SW   [kworker/0:1]
  445 root         0 SW   [kworker/0:2]
  494 root         0 SWN  [jffs2_gcd_mtd3]
  519 root         0 SW   [khubd]
  561 root      1508 S    init
  594 root         0 SW<  [cfg80211]
  633 root         0 SW<  [rpciod]
  646 root         0 SW<  [nfsiod]
  842 root      1512 S    /sbin/syslogd -C16
  844 root      1496 S    /sbin/klogd
  846 root       880 S    /sbin/hotplug2 --override --persistent --set-rules-f
  856 root       876 S    /sbin/ubusd
  979 nobody    1020 S    /usr/sbin/portmap
  993 root      1476 S    /sbin/netifd
1047 root      1512 S    udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
1330 root      1632 S    hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
1398 root      1624 S    hostapd -P /var/run/wifi-phy1.pid -B /var/run/hostap
1595 root      1164 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1673 root      1348 S    httpd_gargoyle -c cgi-bin/**|**.sh|**.cgi|**.csv -d
2041 nobody     972 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
2294 root      1504 S    /sbin/watchdog -t 5 /dev/watchdog
2632 root      1504 S    /usr/sbin/ntpd -n -p 0.pool.ntp.org -p 1.pool.ntp.or
2683 root      1232 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
2753 root      1508 S    -ash
2939 root      1516 S    /usr/sbin/crond -c /etc/crontabs -l 9
3409 root         0 SW   [kworker/0:0]
3423 root         0 SW   [kworker/0:3]
3462 root     11248 S    /usr/bin/mjpg_streamer --input input_uvc.so -y   --d
3467 root      1500 R    ps

114

Odp: Plugin Webcam do Gagroyle

Co masz w logach?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

115

Odp: Plugin Webcam do Gagroyle

Co daje dopisanie w pliku /etc/init.d/mjpg-streamer wartości -y w wierszu"service_start /usr/bin/mjpg_streamer --input "input_uvc.so -y \"Może trzeba jeszcze skonfigurować odpowiednio pliki /etc/init.d/mjpg-streamer

116

Odp: Plugin Webcam do Gagroyle

Że będzie działać w trybie yuyv. /etc/init.d/mjpg-streamer nie ma nic do konfigurowania, nie do tego on służy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

117 (edytowany przez piotr_waw 2014-11-02 21:54:51)

Odp: Plugin Webcam do Gagroyle

-czy chodzi o:
root@Gargoyle:~# logread
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.670000] usbcore: registered new interface driver mars
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.700000] usbcore: registered new interface driver mr97310a
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.740000] usbcore: registered new interface driver ov519
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.770000] gspca_main: ov534-2.14.0 probing 1415:2000
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.950000] usbcore: registered new interface driver ov534
Jan  1 01:00:41 Gargoyle kern.info kernel: [   38.970000] usbcore: registered new interface driver ov534_9
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.000000] usbcore: registered new interface driver pac207
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.030000] usbcore: registered new interface driver pac7311
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.050000] usbcore: registered new interface driver se401
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.090000] usbcore: registered new interface driver sn9c20x
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.120000] usbcore: registered new interface driver sonixb
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.150000] usbcore: registered new interface driver sonixj
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.180000] usbcore: registered new interface driver spca500
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.200000] usbcore: registered new interface driver spca501
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.230000] usbcore: registered new interface driver spca505
Jan  1 01:00:41 Gargoyle kern.info kernel: [   39.250000] usbcore: registered new interface driver spca506
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: starting application
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: MJPG Streamer Version: svn rev: Unversioned directory
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: Using V4L2 device.: /dev/video0
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: Desired Resolution: 640 x 480
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: Frames Per Second.: 20
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: Format............: YUV
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: JPEG Quality......: 80
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: www-folder-path...: /usr/lib/mjpg-streamer/www/
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: HTTP TCP port.....: 8081
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: username:password.: admin:admin
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: commands..........: enabled
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: starting input plugin input_uvc.so
Jan  1 01:00:43 Gargoyle user.info MJPG-streamer [920]: starting output plugin: output_http.so (ID: 00)
Jan  1 01:00:45 Gargoyle kern.info kernel: [   45.440000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan  1 01:00:46 Gargoyle kern.info kernel: [   46.530000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:46 Gargoyle kern.info kernel: [   46.530000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.260000] eth0: link down
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.270000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.290000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.290000] device eth0.1 entered promiscuous mode
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.300000] device eth0 entered promiscuous mode
Jan  1 01:00:48 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:48 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.310000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.320000] ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.660000] eth0: link up (1000Mbps/Full duplex)
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.660000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.700000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.700000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.710000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.710000] ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Jan  1 01:00:48 Gargoyle kern.info kernel: [   48.750000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Jan  1 01:00:48 Gargoyle daemon.notice netifd: wan (1047): udhcpc (v1.19.4) started
Jan  1 01:00:48 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:48 Gargoyle daemon.notice netifd: wan (1047): Sending discover...
Jan  1 01:00:49 Gargoyle daemon.notice netifd: wan (1047): Sending select for 89.67.253.182...
Jan  1 01:00:49 Gargoyle daemon.notice netifd: wan (1047): Lease of 89.67.253.182 obtained, lease time 166221
Jan  1 01:00:49 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:49 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:50 Gargoyle kern.info kernel: [   50.700000] br-lan: port 1(eth0.1) entered forwarding state
Jan  1 01:00:54 Gargoyle kern.info kernel: [   54.290000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan  1 01:00:54 Gargoyle kern.info kernel: [   54.310000] device wlan0 entered promiscuous mode
Jan  1 01:00:54 Gargoyle kern.info kernel: [   54.750000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:54 Gargoyle kern.info kernel: [   54.760000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:54 Gargoyle kern.info kernel: [   54.760000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jan  1 01:00:56 Gargoyle kern.info kernel: [   56.760000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:59 Gargoyle kern.info kernel: [   59.600000] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jan  1 01:00:59 Gargoyle kern.info kernel: [   59.600000] device wlan1 entered promiscuous mode
Jan  1 01:01:00 Gargoyle kern.info kernel: [   60.030000] br-lan: port 3(wlan1) entered forwarding state
Jan  1 01:01:00 Gargoyle kern.info kernel: [   60.040000] br-lan: port 3(wlan1) entered forwarding state
Jan  1 01:01:00 Gargoyle kern.info kernel: [   60.050000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Jan  1 01:01:00 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Jan  1 01:01:02 Gargoyle kern.info kernel: [   62.040000] br-lan: port 3(wlan1) entered forwarding state
Nov  2 20:31:36 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=Sonix_Technology_Co.,_Ltd. Product=USB_2.0_Camera Serial=?
Nov  2 20:31:37 Gargoyle daemon.info hostapd: wlan0: STA 74:e5:43:df:36:93 IEEE 802.11: authenticated
Nov  2 20:31:37 Gargoyle daemon.info hostapd: wlan0: STA 74:e5:43:df:36:93 IEEE 802.11: associated (aid 1)
Nov  2 20:31:37 Gargoyle daemon.info hostapd: wlan0: STA 74:e5:43:df:36:93 WPA: pairwise key handshake completed (RSN)
Nov  2 20:31:37 Gargoyle user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=Sonix_Technology_Co.,_Ltd. Product=USB_2.0_Camera Serial=?
Nov  2 20:31:37 Gargoyle authpriv.info dropbear[1595]: Running in background
Nov  2 20:31:38 Gargoyle user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=Sonix_Technology_Co.,_Ltd. Product=USB_2.0_Camera Serial=?
Nov  2 20:31:38 Gargoyle daemon.crit httpd_gargoyle[1664]: bind 0.0.0.0 - Address already in use
Nov  2 20:31:38 Gargoyle daemon.crit httpd_gargoyle[1664]: bind 0.0.0.0 - Address already in use
Nov  2 20:31:38 Gargoyle daemon.warn httpd_gargoyle[1673]: started as root without requesting chroot(), warning only
Nov  2 20:31:38 Gargoyle daemon.notice httpd_gargoyle[1673]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Nov  2 20:31:38 Gargoyle user.notice usb-modeswitch: 1-1.1:1.3: Manufacturer=Sonix_Technology_Co.,_Ltd. Product=USB_2.0_Camera Serial=?
Nov  2 20:31:40 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Nov  2 20:31:41 Gargoyle user.notice usb-modeswitch: 1-1.2.2:1.0: Manufacturer=OmniVision_Technologies,_Inc. Product=USB_Camera-B4.09.24.1 Serial=?
Nov  2 20:31:41 Gargoyle user.notice usb-modeswitch: 1-1.2.2:1.1: Manufacturer=OmniVision_Technologies,_Inc. Product=USB_Camera-B4.09.24.1 Serial=?
Nov  2 20:31:42 Gargoyle user.notice usb-modeswitch: 1-1.2.2:1.2: Manufacturer=OmniVision_Technologies,_Inc. Product=USB_Camera-B4.09.24.1 Serial=?
Nov  2 20:31:42 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Nov  2 20:31:42 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Nov  2 20:31:42 Gargoyle user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: started, version 2.66 cachesize 150
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: using local addresses only for domain lan
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: reading /tmp/resolv.conf.auto
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: using nameserver 62.179.1.62#53
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: using nameserver 62.179.1.63#53
Nov  2 21:16:34 Gargoyle daemon.warn dnsmasq[2041]: ignoring nameserver 192.168.1.1 - local interface
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: using local addresses only for domain lan
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq[2041]: read /etc/hosts - 5 addresses
Nov  2 21:16:34 Gargoyle daemon.info dnsmasq-dhcp[2041]: read /etc/ethers - 3 addresses
Nov  2 21:16:35 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Nov  2 21:16:35 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Nov  2 21:16:35 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Nov  2 21:16:35 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Nov  2 21:16:35 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Nov  2 21:16:38 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Nov  2 21:16:38 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Nov  2 21:16:42 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Nov  2 21:16:43 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPREQUEST(br-lan) 192.168.1.50 74:e5:43:df:36:93
Nov  2 21:16:43 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPACK(br-lan) 192.168.1.50 74:e5:43:df:36:93 PzAcer
Nov  2 21:16:50 Gargoyle daemon.info hostapd: wlan0: STA 74:ea:3a:b5:b3:f6 IEEE 802.11: authenticated
Nov  2 21:16:50 Gargoyle daemon.info hostapd: wlan0: STA 74:ea:3a:b5:b3:f6 IEEE 802.11: associated (aid 2)
Nov  2 21:16:50 Gargoyle daemon.info hostapd: wlan0: STA 74:ea:3a:b5:b3:f6 WPA: pairwise key handshake completed (RSN)
Nov  2 21:16:57 Gargoyle authpriv.info dropbear[2683]: Child connection from 192.168.1.50:54807
Nov  2 21:17:03 Gargoyle user.notice root: vsftpd init: mounted = 0
Nov  2 21:17:03 Gargoyle user.info sysinit: ERROR: No drives attached, no directories to share!
Nov  2 21:17:04 Gargoyle user.info sysinit: setting up led USB1
Nov  2 21:17:04 Gargoyle user.info sysinit: setting up led USB2
Nov  2 21:17:04 Gargoyle user.info sysinit: setting up led WLAN2G
Nov  2 21:17:18 Gargoyle authpriv.notice dropbear[2683]: Password auth succeeded for 'root' from 192.168.1.50:54807
Nov  2 21:17:38 Gargoyle kern.warn kernel: [  138.280000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Nov  2 21:17:38 Gargoyle kern.warn kernel: [  138.290000]                old minutes west=0, new minutes west=-60
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: starting application
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: MJPG Streamer Version: svn rev: Unversioned directory
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: Using V4L2 device.: /dev/video0
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: Desired Resolution: 640 x 480
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: Frames Per Second.: 20
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: Format............: YUV
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: JPEG Quality......: 80
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: www-folder-path...: /usr/lib/mjpg-streamer/www/
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: HTTP TCP port.....: 8081
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: username:password.: admin:admin
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: commands..........: enabled
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: starting input plugin input_uvc.so
Nov  2 21:21:38 Gargoyle user.info MJPG-streamer [3385]: starting output plugin: output_http.so (ID: 00)
Nov  2 21:26:14 Gargoyle daemon.info hostapd: wlan0: STA 74:e5:43:df:36:93 WPA: group key handshake completed (RSN)
Nov  2 21:26:15 Gargoyle daemon.info hostapd: wlan0: STA 74:ea:3a:b5:b3:f6 WPA: group key handshake completed (RSN)
Nov  2 21:29:50 Gargoyle daemon.info hostapd: wlan0: STA 20:64:32:7a:6a:18 IEEE 802.11: authenticated
Nov  2 21:29:50 Gargoyle daemon.info hostapd: wlan0: STA 20:64:32:7a:6a:18 IEEE 802.11: associated (aid 3)
Nov  2 21:29:50 Gargoyle daemon.info hostapd: wlan0: STA 20:64:32:7a:6a:18 WPA: pairwise key handshake completed (RSN)
Nov  2 21:29:53 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPDISCOVER(br-lan) 20:64:32:7a:6a:18
Nov  2 21:29:53 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPOFFER(br-lan) 192.168.1.152 20:64:32:7a:6a:18
Nov  2 21:29:53 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPREQUEST(br-lan) 192.168.1.152 20:64:32:7a:6a:18
Nov  2 21:29:53 Gargoyle daemon.info dnsmasq-dhcp[2041]: DHCPACK(br-lan) 192.168.1.152 20:64:32:7a:6a:18 android-9509fa2b4995ef58
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: starting application
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: MJPG Streamer Version: svn rev: Unversioned directory
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: Using V4L2 device.: /dev/video0
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: Desired Resolution: 640 x 480
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: Frames Per Second.: 20
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: Format............: YUV
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: JPEG Quality......: 80
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: www-folder-path...: /usr/lib/mjpg-streamer/www/
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: HTTP TCP port.....: 8081
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: username:password.: admin:admin
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: commands..........: enabled
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: starting input plugin input_uvc.so
Nov  2 21:35:13 Gargoyle user.info MJPG-streamer [3462]: starting output plugin: output_http.so (ID: 00)
Nov  2 21:36:14 Gargoyle daemon.info hostapd: wlan0: STA 74:e5:43:df:36:93 WPA: group key handshake completed (RSN)
Nov  2 21:36:14 Gargoyle daemon.info hostapd: wlan0: STA 20:64:32:7a:6a:18 WPA: group key handshake completed (RSN)
Nov  2 21:36:14 Gargoyle daemon.info hostapd: wlan0: STA 74:ea:3a:b5:b3:f6 WPA: group key handshake completed (RSN)

118

Odp: Plugin Webcam do Gagroyle

Pokaż ls /dev/video*

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

119

Odp: Plugin Webcam do Gagroyle

root@Gargoyle:~# ls /dev/video0
/dev/video0
root@Gargoyle:~# ls /dev/video1
/dev/video1
root@Gargoyle:~#

120

Odp: Plugin Webcam do Gagroyle

Witam, dzisiaj rano jak odpaliłem podgląd do kamery i działająca kamera, która wczoraj była pod portem 8081 rano działała pod 8080. Numer portu przestawiłem z 8082 na 8080. Nadal druga kamera nie działa i jest tylko jeden proces odpalony.

121

Odp: Plugin Webcam do Gagroyle

Bo to zależy w jakiej kolejności zostaną urządzenia wykryte. A obie kamery __osobno__ działają?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

122

Odp: Plugin Webcam do Gagroyle

Ponowne zatrzymanie usługi, ale przez komendę kill i jej wystartowanie przywróciło kamerę do portu 8081. komenda /etc/init.d/mjpg-streamer stop nie zatrzymywał usługi.

123

Odp: Plugin Webcam do Gagroyle

Tak osobno działają.  Podlaczalem i jedna i drugą. Osobno jest obraz. Bardziej chodzi o włączenie drugi raz usługi mjpg- streamer.

124

Odp: Plugin Webcam do Gagroyle

/etc/init.d/mjpg_streamer stop
/usr/bin/mjpg_streamer --input "input_uvc.so -r --device /dev/video0 --fps 15 --resolution 320x240" --output "output_http.so --www /usr/lib/mjpg-streamer/www/ --port 8081" 

tak uruchm. To powinno uruchomić jedną. A później zrób

/usr/bin/mjpg_streamer --input "input_uvc.so -r --device /dev/video1 --fps 15 --resolution 320x240" --output "output_http.so --www /usr/lib/mjpg-streamer/www/ --port 8082" 

I zobacz co wypisał.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

125

Odp: Plugin Webcam do Gagroyle

Przy wpisywaniu pierwszej komendy
/usr/bin/mjpg_streamer --input "input_uvc.so -r --device /dev/v
ideo0 --fps 15 --resolution 320x240" --output "output_http.so --www /usr/lib/mjp
g-streamer/www/ --port 8081"
MJPG Streamer Version: svn rev: Unversioned directory
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 320 x 240
i: Frames Per Second.: 15
i: Format............: MJPEG
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan/tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Focus (absolute)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan/tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
o: www-folder-path...: /usr/lib/mjpg-streamer/www/
o: HTTP TCP port.....: 8081
o: username:password.: disabled
o: commands..........: enabled