Outils pour utilisateurs

Outils du site


maison2:configuration_open_wrt:wzr-hp-g300nh

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
maison2:configuration_open_wrt:wzr-hp-g300nh [01/2012] – [motion] fredmaison2:configuration_open_wrt:wzr-hp-g300nh [04/2012] (Version actuelle) fred
Ligne 2: Ligne 2:
   * http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h   * http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h
  
 +====== INSTALL ======
 +backfire 10.03.1
  
-:-hi 100 WL500GP : nouveau transfo 2.5A 5V au moins 
- 
-====== INSTALL ====== 
  
   * __ce qui manque a LUCI :__ explorateur de fichier (file editor)   * __ce qui manque a LUCI :__ explorateur de fichier (file editor)
Ligne 12: Ligne 11:
       * backdoor terminal       * backdoor terminal
       * webcam       * webcam
- 
-__notes__ 
-  * http://wiki.openwrt.org/doc/howto/luci.essentials mod_simple_vhost ? 
- 
 ===== ping: sendto: Network is unreachable ===== ===== ping: sendto: Network is unreachable =====
 je comprend pas pourquoi mais en configurant l'IP statique j'ai cette erreur . je comprend pas pourquoi mais en configurant l'IP statique j'ai cette erreur .
Ligne 36: Ligne 31:
 config interface lan config interface lan
     option accept_ra 1     option accept_ra 1
- =====  Web CAM Logitech QCCommunicate STX ===== 
- 
-__recuperé dans kernel log WL500Gp__ : 
-Oct 31 19:35:09 (none) user.info kernel: hub.c: new USB device 01:03.0-2, assigned address 7                                   connexion webcam 
-Oct 31 19:35:09 (none) user.warn kernel: usb.c: USB device 7 (vend/prod 0x46d/0x8ad) is not claimed by any active driver.      connexion webcam 
-gspca_zc3xx 046d:08ad Logitech QCCommunicate STX  
- 
-  * opkg install : kmod-usb2 , kmod-video-gspca-zc3xx , mjpg-streamer 
-  * dans /etc/init.d/ changer <del>input_uvc.so</del> par input_gspcav1.so  ajouter -w /www/webcam_www à output_http.so 
-        * could't set video palette Abort : https://forum.openwrt.org/viewtopic.php?id=27644  
-  * on va donc tenter fswebcam avec libv4l (a installer) 
-      * export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so 
-      * fswebcam -v -r 640x480 -F 2 -S 1 /tmp/out.jpg 
- 
-<code> 
-fswebcam -v -r 640x480 -F 2 -S 1 /tmp/out.jpg 
---- Opening /dev/video0... 
-Trying source module v4l2... 
-/dev/video0 opened. 
-src_v4l2_get_capability,83: /dev/video0 information: 
-src_v4l2_get_capability,84: cap.driver: "zc3xx" 
-src_v4l2_get_capability,85: cap.card: "USB Camera (046d:08ad)" 
-src_v4l2_get_capability,86: cap.bus_info: "usb-ar71xx-ehci-1" 
-src_v4l2_get_capability,87: cap.capabilities=0x05000001 
-src_v4l2_get_capability,88: - VIDEO_CAPTURE 
-src_v4l2_get_capability,97: - READWRITE 
-src_v4l2_get_capability,99: - STREAMING 
-No input was specified, using the first. 
-src_v4l2_set_input,177: /dev/video0: Input 0 information: 
-src_v4l2_set_input,178: name = "zc3xx" 
-src_v4l2_set_input,179: type = 00000002 
-src_v4l2_set_input,181: - CAMERA 
-src_v4l2_set_input,182: audioset = 00000000 
-src_v4l2_set_input,183: tuner = 00000000 
-src_v4l2_set_input,184: status = 00000000 
-src_v4l2_set_pix_format,537: Device offers the following V4L2 pixel formats: 
-src_v4l2_set_pix_format,550: 0: [0x4745504A] 'JPEG' (JPEG) 
-src_v4l2_set_pix_format,550: 1: [0x33424752] 'RGB3' (RGB3) 
-src_v4l2_set_pix_format,550: 2: [0x33524742] 'BGR3' (BGR3) 
-src_v4l2_set_pix_format,550: 3: [0x32315559] 'YU12' (YU12) 
-src_v4l2_set_pix_format,550: 4: [0x32315659] 'YV12' (YV12) 
-Using palette JPEG 
-src_v4l2_set_mmap,689: mmap information: 
-src_v4l2_set_mmap,690: frames=4 
-src_v4l2_set_mmap,737: 0 length=118784 
-src_v4l2_set_mmap,737: 1 length=118784 
-src_v4l2_set_mmap,737: 2 length=118784 
-src_v4l2_set_mmap,737: 3 length=118784 
---- Capturing 2 frames... 
-Skipping frame... 
-Capturing 2 frames... 
-Captured 3 frames in 0.26 seconds. (11 fps) 
---- Processing captured image... 
-Unable to load font 'luxisr': libgd was not built with FreeType font support 
- 
-Disabling the the banner. 
-Writing JPEG image to '/tmp/out.jpg'. 
-</code> 
- 
-  * opkg install : motion  : ca fonctionne très bien {{:maison2:configuration_open_wrt:motion.zip|le fichier de .conf}} 
- 
- 
-__lien de support :__ 
-  * http://wiki.openwrt.org/doc/howto/usb.video 
-  * http://www.ideasonboard.org/uvc/ 
-  * http://linuxtv.org/wiki/index.php/Gspca  => gspca_zc3xx 046d:08ad Logitech QCCommunicate STX  
-  * http://www.jopa.fr/index.php/2008/11/01/openwrt-et-webcam-usb-streaming-wifi/  
-  * http://www.jopa.fr/index.php/2008/11/06/openwrt-et-webcam-2eme-partie-video-surveillance-avec-motion/ 
-  * https://forum.openwrt.org/viewtopic.php?pid=100651 
-  * http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/ 
- 
-=====  Web CAM Papa ===== 
-hub.c: new USB device 01:03.0-2, assigned address 3 
-usb.c: USB device 3 (vend/prod 0x46d/0x8f6) is not claimed by any active driver. 
-http://simaten.free.fr/wiki/tiki-view_blog_post.php?postId=123 
- 
-gspca_zc3xx 046d:08da Logitech QuickCam Messenger  
-gspca_stv06xx 046d:0840 QuickCam Express  
- 
-__le Buffalo ne dit rien sur l'id de la webcam:__ 
-Dec 28 19:15:08 Buffalo user.info kernel: usb 1-1: new full speed USB device using ar71xx-ehci and address 3 
-Dec 28 19:15:08 Buffalo user.info kernel: usb 1-1: configuration #1 chosen from 1 choice 
-Dec 28 19:18:12 Buffalo user.info kernel: usb 1-1: USB disconnect, address 3 
- 
-==== test fswebcam ==== 
-<code> 
-fswebcam -v -r 640×480 -F 2 -S 1 /tmp/out.jpg 
---- Opening /dev/video0... 
-Trying source module v4l2... 
-/dev/video0 opened. 
-src_v4l2_get_capability,83: /dev/video0 information: 
-src_v4l2_get_capability,84: cap.driver: "STV06xx" 
-src_v4l2_get_capability,85: cap.card: "Camera" 
-src_v4l2_get_capability,86: cap.bus_info: "usb-ar71xx-ehci-1" 
-src_v4l2_get_capability,87: cap.capabilities=0x05000001 
-src_v4l2_get_capability,88: - VIDEO_CAPTURE 
-src_v4l2_get_capability,97: - READWRITE 
-src_v4l2_get_capability,99: - STREAMING 
-No input was specified, using the first. 
-src_v4l2_set_input,177: /dev/video0: Input 0 information: 
-src_v4l2_set_input,178: name = "STV06xx" 
-src_v4l2_set_input,179: type = 00000002 
-src_v4l2_set_input,181: - CAMERA 
-src_v4l2_set_input,182: audioset = 00000000 
-src_v4l2_set_input,183: tuner = 00000000 
-src_v4l2_set_input,184: status = 00000000 
-src_v4l2_set_pix_format,537: Device offers the following V4L2 pixel formats: 
-src_v4l2_set_pix_format,550: 0: [0x47425247] 'GRBG' (GRBG) 
-Using palette SGRBG8 
-Adjusting resolution from 640x-1 to 324x240. 
-src_v4l2_set_mmap,689: mmap information: 
-src_v4l2_set_mmap,690: frames=4 
-src_v4l2_set_mmap,737: 0 length=81920 
-src_v4l2_set_mmap,737: 1 length=81920 
-src_v4l2_set_mmap,737: 2 length=81920 
-src_v4l2_set_mmap,737: 3 length=81920 
---- Capturing 2 frames... 
-Skipping frame... 
-Capturing 2 frames... 
-Captured 3 frames in 0.22 seconds. (13 fps) 
---- Processing captured image... 
-Unable to load font 'luxisr': libgd was not built with FreeType font support 
- 
-Disabling the the banner. 
-Writing JPEG image to '/tmp/out.jpg'. 
-</code> 
- 
-==== motion ==== 
- 
-Jan 12 21:45:30 Buffalo user.err syslog: [1] Unable to find a compatible palette format. 
-Jan 12 21:45:30 Buffalo user.debug syslog: [1] Using VIDEO_PALETTE_YUV420P palette 
-Jan 12 21:45:31 Buffalo user.err syslog: [1] sync error in proc 1619: Invalid argument 
-Jan 12 21:45:32 Buffalo user.err syslog: [1] mcapture error in proc 1619: Invalid argument 
-Jan 12 21:45:32 Buffalo user.err syslog: [1] Video device fatal error - Closing video device 
- 
-=== http://ubuntuforums.org/showthread.php?t=1476423 === 
- 
-LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/motion 
-[0] Processing thread 0 - config file /etc/motion.conf 
-[0] Motion 3.2.11.1 Started 
-[0] Thread 1 is from /etc/motion.conf 
-[1] Thread 1 started 
-[1] cap.driver: "STV06xx" 
-[1] cap.card: "Camera" 
-[1] cap.bus_info: "usb-ar71xx-ehci-1" 
-[1] cap.capabilities=0x05000001 
-[1] - VIDEO_CAPTURE 
-[0] motion-httpd/3.2.11.1 running, accepting connections 
-[0] motion-httpd: waiting for data on port TCP 8080 
-[1] - READWRITE 
-[1] - STREAMING 
-[1] Supported palettes: 
-[1] 0: RGB3 (RGB3) 
-[1] 1: BGR3 (BGR3) 
-[1] 2: YU12 (YU12) 
-[1] Selected palette YU12 
-[1] index_format 8 Test palette YU12 (320x240) 
-[1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000008 
-[1] found control 0x00980900, "Brightness", range 0,31 
-[1]     "Brightness", default 3, current 3 
-[1] found control 0x00980901, "Contrast", range 0,15 
-[1]     "Contrast", default 11, current 11 
-[1] found control 0x00980910, "Gamma (software)", range 500,3000 
-[1]     "Gamma (software)", default 1000, current 1000 
-[1] found control 0x00980911, "Exposure", range 0,1023 
-[1]     "Exposure", default 256, current 256 
-[1] found control 0x00980912, "Auto Gain (software)", range 0,1 
-[1]     "Auto Gain (software)", default 1, current 1 
-[1] found control 0x00980913, "Gain", range 0,255 
-[1]     "Gain", default 64, current 64 
-[1] mmap information: 
-[1] frames=4 
-libv4l2: error allocating conversion buffer 
-[1] Error mapping buffer 0 mmap: Cannot allocate memory 
-libv4l1: error allocating v4l1 buffer: Cannot allocate memory 
-[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map 
-[1] V4L capturing using read is deprecated! 
-[1] Motion only supports mmap. 
-[1] Could not fetch initial image from camera 
-[1] Motion continues using width and height from config file(s) 
-[1] Resizing pre_capture buffer to 1 items 
-[1] Started stream webcam server in port 8081 
-[1] Retrying until successful connection with camera 
- 
- 
-LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so /usr/bin/motion 
-[0] Processing thread 0 - config file /etc/motion.conf 
-[0] Motion 3.2.11.1 Started 
-[0] Thread 1 is from /etc/motion.conf 
-[1] Thread 1 started 
-[1] cap.driver: "STV06xx" 
-[1] cap.card: "Camera" 
-[1] cap.bus_info: "usb-ar71xx-ehci-1" 
-[1] cap.capabilities=0x05000001 
-[1] - VIDEO_CAPTURE 
-[1] - READWRITE 
-[1] - STREAMING 
-[1] Supported palettes: 
-[0] motion-httpd/3.2.11.1 running, accepting connections 
-[0] motion-httpd: waiting for data on port TCP 8080 
-[1] 0: RGB3 (RGB3) 
-[1] 1: BGR3 (BGR3) 
-[1] 2: YU12 (YU12) 
-[1] Selected palette YU12 
-[1] index_format 8 Test palette YU12 (320x240) 
-[1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000008 
-[1] found control 0x00980900, "Brightness", range 0,31 
-[1]     "Brightness", default 3, current 3 
-[1] found control 0x00980901, "Contrast", range 0,15 
-[1]     "Contrast", default 11, current 11 
-[1] found control 0x00980910, "Gamma (software)", range 500,3000 
-[1]     "Gamma (software)", default 1000, current 1000 
-[1] found control 0x00980911, "Exposure", range 0,1023 
-[1]     "Exposure", default 256, current 256 
-[1] found control 0x00980912, "Auto Gain (software)", range 0,1 
-[1]     "Auto Gain (software)", default 1, current 1 
-[1] found control 0x00980913, "Gain", range 0,255 
-[1]     "Gain", default 64, current 64 
-[1] mmap information: 
-[1] frames=4 
-libv4l2: error allocating conversion buffer 
-[1] Error mapping buffer 0 mmap: Cannot allocate memory 
-[1] Using VIDEO_PALETTE_YUV420P palette 
-[1] Using V4L1 
-[1] Resizing pre_capture buffer to 1 items 
-[1] Started stream webcam server in port 8081 
-[1] sync error in proc 22284: Invalid argument 
-[1] mcapture error in proc 22284: Invalid argument 
-[1] Video device fatal error - Closing video device 
-[1] Closing video device /dev/video0 
-[1] Retrying until successful connection with camera 
-=== next === 
-  * http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2010x05x08x221414 
-  * http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2009x01x20x183230 
-__patch :__ mais tester la [[http://sourceforge.net/projects/motion/files/motion%20-%203.2/|version 3.2.12]] avant, actuellement 3.2.11.1-1 
-  * http://www.lavrsen.dk/foswiki/bin/view/Motion/Libv4lConvert  
-  * compile de la version actuel 
-    * a partir du la racine du SDK : svn export svn://svn.openwrt.org/openwrt/packages/multimedia/motion package/motion 
-      * make package/motion/compile 
-      * make package/index 
- 
  
maison2/configuration_open_wrt/wzr-hp-g300nh.1327767040.txt.gz · Dernière modification : 01/2012 de fred