Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > CyberWrt

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.06.2015, 15:26   #151
Dmt
Member
 
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0
Dmt is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

прошу помощи с получением изображения с веб камеры. Есть 2 вебки, Creative Chat IM и Canyon. Обе видны, при команде lsusb. Обе отображаются в /dev/ как video0. Mjpg-streamer с дефолтными настройками. Служба запущена, порт в netstat в LISTENING. По адресу ip_routera:8080/?action=snapshot (или stream) картинку не получаю, видео с любым разрешением не показывает. Светодиод на камере загорается, при попытке обратится за снепшотом, браузер ругается "Невозможно отобразить ip_routera:8080/?action=snapshot т.к. изображение содержит ошибки." В IE при /?action=stream валятся блоки с информацией, в которых Content-lenght: 0. Кто сталкивался с подобным? могу приложить какие скажите данные для содействия в решении этой ситуации
Dmt вне форума   Ответить с цитированием
Старый 18.06.2015, 15:28   #152
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

По все видимости Ваши камеры на поддерживают MJPG
Admin вне форума   Ответить с цитированием
Старый 18.06.2015, 15:36   #153
Dmt
Member
 
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0
Dmt is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Цитата:
Сообщение от Admin Посмотреть сообщение
По все видимости Ваши камеры на поддерживают MJPG
Изображение с них получить не удастся? Есть методы как проверить поддержку MJPG ?
Dmt вне форума   Ответить с цитированием
Старый 18.06.2015, 15:41   #154
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

В настройках добавьте: option yuv "on"
yuv камеры гонят поток не сжатым , так что тормоза будут жуткие
Цитата:
config mjpg-streamer core
option enabled "1"
option device "/dev/video0"
option resolution "640x480"
option fps "25"
option www "/www/webcam"
option port "8080"
option yuv "on"
Admin вне форума   Ответить с цитированием
Старый 18.06.2015, 16:41   #155
Dmt
Member
 
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0
Dmt is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Цитата:
Сообщение от Admin Посмотреть сообщение
В настройках добавьте: option yuv "on"
yuv камеры гонят поток не сжатым , так что тормоза будут жуткие
Добавил, сделал
/etc/init.d/mjpg-streamer reload
/etc/init.d/mjpg-streamer restart
Изображения нет
dmesg
Код:
root@CyberWrt:/www/> dmesg

[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 16:33:08 CEST 2014
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT1520
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802b4b40, node_mem_map 81003bc0
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=000724a0
[    0.000000] Readback ErrCtl register=000724a0
[    0.000000] Memory: 29160k/32768k available (2284k kernel code, 3608k reserved, 574k data, 212k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 360MHz
[    0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.090000] NET: Registered protocol family 16
[    0.110000] rt2880-pinmux pinctrl.1: try to register 28 pins ...
[    0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux
[    0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux
[    0.110000] pinctrl core: add 1 pinmux maps
[    0.110000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag
[    0.110000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pinctrl.1
[    0.110000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state
[    0.140000] bio: create slab  at 0
[    0.150000] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.160000] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.170000] Switching to clocksource MIPS
[    0.180000] NET: Registered protocol family 2
[    0.190000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.210000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.220000] TCP: Hash tables configured (established 512 bind 512)
[    0.230000] TCP: reno registered
[    0.240000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.250000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] NET: Registered protocol family 1
[    0.270000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[    0.290000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT
[    0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.360000] msgmni has been set to 56
[    0.370000] io scheduler noop registered
[    0.380000] io scheduler deadline registered (default)
[    0.390000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.420000] serial8250 serial8250: no of_node; not parsing pinctrl DT
[    0.420000] pinctrl core: add 1 pinmux maps
[    0.420000] rt2880-pinmux pinctrl.1: found group selector 2 for uartf
[    0.420000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for 10000500.uart
[    0.420000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for 10000500.uart
[    0.420000] 10000500.uart: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.430000] pinctrl core: add 1 pinmux maps
[    0.430000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite
[    0.440000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite
[    0.440000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite
[    0.440000] 10000c00.uartlite: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.450000] console [ttyS1] enabled, bootconsole disabled
[    0.480000] pinctrl core: add 1 pinmux maps
[    0.480000] pinctrl core: add 1 pinmux maps
[    0.480000] rt2880-pinmux pinctrl.1: found group selector 1 for spi
[    0.480000] rt2880-pinmux pinctrl.1: found group selector 6 for spi_cs1
[    0.480000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi
[    0.480000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi
[    0.480000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi
[    0.480000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi
[    0.480000] rt2880-pinmux pinctrl.1: request pin 27 (io27) for 10000b00.spi
[    0.480000] m25p80 spi32766.0: found pm25lq032, expected w25q32
[    0.500000] m25p80 spi32766.0: pm25lq032 (4096 Kbytes)
[    0.510000] 4 ofpart partitions found on MTD device spi32766.0
[    0.520000] Creating 4 MTD partitions on "spi32766.0":
[    0.530000] 0x000000000000-0x000000030000 : "u-boot"
[    0.540000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.560000] 0x000000040000-0x000000050000 : "factory"
[    0.570000] 0x000000050000-0x000000400000 : "firmware"
[    0.590000] 0x0000001517eb-0x000000400000 : "rootfs"
[    0.600000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.620000] mtd: device 4 (rootfs) set to be root filesystem
[    0.640000] mtd: partition "rootfs_data" created automatically, ofs=0x2b0000, len=0x150000
[    0.650000] 0x0000002b0000-0x000000400000 : "rootfs_data"
[    0.680000] eth0: done loading
[    0.680000] rt3xxx-usbphy usbphy.3: loaded
[    0.700000] rt2880_wdt 10000120.watchdog: Initialized
[    0.710000] TCP: cubic registered
[    0.710000] NET: Registered protocol family 17
[    0.720000] Bridge firewalling registered
[    0.730000] 8021q: 802.1Q VLAN Support v1.8
[    0.760000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.780000] Freeing unused kernel memory: 212K (802cb000 - 80300000)
[    6.050000] usbcore: registered new interface driver usbfs
[    6.060000] usbcore: registered new interface driver hub
[    6.080000] usbcore: registered new device driver usb
[    6.100000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.110000] ehci-platform: EHCI generic platform driver
[    6.320000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[    6.330000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[    6.340000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    6.360000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    6.370000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    6.400000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    6.410000] usb usb1: no of_node; not parsing pinctrl DT
[    6.410000] hub 1-0:1.0: no of_node; not parsing pinctrl DT
[    6.410000] hub 1-0:1.0: USB hub found
[    6.420000] hub 1-0:1.0: 1 port detected
[    6.430000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.440000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[    6.460000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    6.470000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    6.540000] usb usb2: no of_node; not parsing pinctrl DT
[    6.540000] hub 2-0:1.0: no of_node; not parsing pinctrl DT
[    6.540000] hub 2-0:1.0: USB hub found
[    6.550000] hub 2-0:1.0: 1 port detected
[    6.810000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    6.990000] rt305x-esw 10110000.esw: link changed 0x00
[    7.120000] usb 1-1: no of_node; not parsing pinctrl DT
[    7.120000] hub 1-1:1.0: no of_node; not parsing pinctrl DT
[    7.120000] hub 1-1:1.0: USB hub found
[    7.140000] hub 1-1:1.0: 4 ports detected
[    7.430000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[    7.550000] usb 1-1.2: no of_node; not parsing pinctrl DT
[    7.630000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[    7.770000] usb 1-1.4: no of_node; not parsing pinctrl DT
[    8.600000] rt305x-esw 10110000.esw: link changed 0x01
[   11.000000] jffs2: notice: (307) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found.
[   14.360000] SCSI subsystem initialized
[   14.380000] usb-storage 1-1.2:1.0: no of_node; not parsing pinctrl DT
[   14.380000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[   14.400000] scsi0 : usb-storage 1-1.2:1.0
[   14.410000] usbcore: registered new interface driver usb-storage
[   15.410000] scsi 0:0:0:0: Direct-Access     Mass     Storage Device        PQ: 0 ANSI: 0 CCS
[   15.430000] sd 0:0:0:0: no of_node; not parsing pinctrl DT
[   15.430000] sd 0:0:0:0: [sda] 3920896 512-byte logical blocks: (2.00 GB/1.86 GiB)
[   15.450000] sd 0:0:0:0: [sda] Write Protect is off
[   15.460000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[   15.460000] sd 0:0:0:0: [sda] No Caching mode page found
[   15.470000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.490000] sd 0:0:0:0: [sda] No Caching mode page found
[   15.500000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.510000]  sda: sda1
[   15.520000] sd 0:0:0:0: [sda] No Caching mode page found
[   15.540000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   15.550000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   21.110000] EXT4-fs (sda1): recovery complete
[   21.140000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
[   25.140000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   25.210000] Linux video capture interface: v2.00
[   25.270000] fuse init (API version 7.22)
[   25.300000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   25.320000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   25.380000] usbcore: registered new interface driver usbserial
[   25.390000] usbcore: registered new interface driver usbserial_generic
[   25.410000] usbserial: USB Serial support registered for generic
[   25.430000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[   25.430000] uvcvideo: Found UVC 1.00 device USB2.0_Camera (093a:2700)
[   25.480000] input: USB2.0_Camera as /devices/101c0000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/input/input0
[   25.510000] usbcore: registered new interface driver uvcvideo
[   25.520000] USB Video Class driver (1.1.1)
[   25.610000] cfg80211: Calling CRDA to update world regulatory domain
[   25.640000] cfg80211: World regulatory domain updated:
[   25.650000] cfg80211:  DFS Master region: unset
[   25.650000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   25.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   25.690000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   25.710000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   25.720000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   25.740000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   25.750000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   25.770000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   25.790000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   25.800000] usbcore: registered new interface driver ch341
[   25.820000] usbserial: USB Serial support registered for ch341-uart
[   26.000000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   26.010000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   26.060000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   29.280000] rt305x-esw 10110000.esw: link changed 0x00
[   30.890000] rt305x-esw 10110000.esw: link changed 0x01
[   34.750000] device eth0.2 entered promiscuous mode
[   34.770000] device eth0 entered promiscuous mode
[   34.850000] br-wan: port 1(eth0.2) entered forwarding state
[   34.860000] br-wan: port 1(eth0.2) entered forwarding state
[   36.860000] br-wan: port 1(eth0.2) entered forwarding state
[   37.250000] cfg80211: Calling CRDA for country: US
[   37.290000] cfg80211: Regulatory domain changed to country: US
[   37.300000] cfg80211:  DFS Master region: FCC
[   37.310000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   37.330000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   37.350000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   37.360000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   37.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   37.400000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[  110.070000] usb 1-1.4: USB disconnect, device number 4
[  110.080000] uvcvideo: Failed to resubmit video URB (-19).
[  110.080000] uvcvideo: Failed to resubmit video URB (-19).
[  110.080000] uvcvideo: Failed to resubmit video URB (-19).
[  110.110000] uvcvideo: Failed to resubmit video URB (-19).
[  110.110000] uvcvideo: Failed to resubmit video URB (-19).
[  112.610000] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
[  112.820000] usb 1-1.4: no of_node; not parsing pinctrl DT
[  112.840000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[  112.850000] uvcvideo: Found UVC 1.00 device USB2.0_Camera (093a:2700)
[  112.880000] input: USB2.0_Camera as /devices/101c0000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/input/input1

Последний раз редактировалось Dmt; 18.06.2015 в 16:41. Причина: приложил вывод dmesg
Dmt вне форума   Ответить с цитированием
Старый 20.06.2015, 00:21   #156
Dmt
Member
 
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0
Dmt is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Сегодня протестировал с камерой GENIUS iLook 320, в гугле нарыл некую инфу о Genius Look 320s и драйвере gspca, что и было установлено. Изображение есть, возможно смотреть с 1280x720 и жуткими тормозами. Тормоза на всех разрешениях с разными fps. Я быстрее чем любой fps, если вручную получаю snapshot.
Похоже, мои предыдущие камеры, не поддерживаются. Хотя они прекрасно отображаются в lsusb, светодиоды на них загораются, _vid/pid имеется в списке поддерживаемых_ но изображения никакого не было получено с них. В конфиг option yuv 'on' добавлял
Привожу конфиг mjpg-streamer и список установленных пакетов, относящееся к video
cat /etc/config/mjpg-streamer
Код:
root@CyberWrt:~# cat /etc/config/mjpg-streamer
config mjpg-streamer 'core'
        option input 'uvc'
        option output 'http'
        option device '/dev/video0'
        option www '/www/webcam'
        option port '8080'
        option enabled '1'
        option resolution '320x240'
        option fps '15'
opkg list-installed |grep video
Код:
root@CyberWrt:~# opkg list-installed |grep video
kmod-video-core - 3.10.49-1
kmod-video-gspca-core - 3.10.49-1
kmod-video-gspca-sn9c20x - 3.10.49-1
kmod-video-uvc - 3.10.49-1
kmod-video-videobuf2 - 3.10.49-1
и на всякий
ls -l /dev/ |grep video
Код:
root@CyberWrt:~# ls -l /dev/ |grep video
crw-r--r--    1 root     root       81,   0 Jun 20 01:18 video0
lsusb
Код:
root@CyberWrt:~# lsusb
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 14cd:125c Super Top SD card reader
Bus 001 Device 015: ID 0458:7062 KYE Systems Corp. (Mouse Systems) <- так определяется genius web-камера.
lsmod
Код:
arc4                    1312  2
cfg80211              197687  2 rt2x00lib
compat                  2285  3 rt2800soc
crc16                   1015  1 ext4
crc_ccitt               1019  1 rt2800lib
crc_itu_t               1019  0
crypto_blkcipher       10375  1 arc4
crypto_hash             9514  2 ext4
eeprom_93cx6            1807  0
ehci_hcd               29964  1 ehci_platform
ehci_platform           2272  0
ext4                  284313  1
fat                    45295  1 vfat
fuse                   61009  0
gpio_button_hotplug     5984  0
gspca_main             18777  1 gspca_sn9c20x
gspca_sn9c20x          21568  0
i2c_core               15054  2 v4l2_common
input_core             24281  4 gspca_sn9c20x
jbd2                   47132  1 ext4
leds_gpio               2944  0
mac80211              344513  3 rt2800lib
mbcache                 3981  1 ext4
nls_base                5006  6 vfat
nls_cp437               4432  0
nls_iso8859_1           2896  0
ntfs                   88211  0
ohci_hcd               13360  0
rt2800lib              91393  2 rt2800soc
rt2800mmio              6338  1 rt2800soc
rt2800soc               2464  0
rt2x00lib              34047  5 rt2800soc
rt2x00mmio              1952  2 rt2800soc
rt2x00soc               1218  1 rt2800soc
scsi_mod               76898  2 usb_storage
sd_mod                 25168  2
usb_common              1160  1 usbcore
usb_storage            35976  1
usbcore               107099  8 gspca_sn9c20x
usbserial              18295  0
uvcvideo               61272  1
v4l2_common             6618  0
vfat                    7808  0
videobuf2_core         22537  1 uvcvideo
videobuf2_memops        1216  1 videobuf2_vmalloc
videobuf2_vmalloc       2145  1 uvcvideo
videodev               83424  6 gspca_sn9c20x
dmesg
Код:
[   24.530000] Linux video capture interface: v2.00
[   24.780000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[   24.780000] uvcvideo: Found UVC 1.00 device VF0530 Live! Cam Chat IM (041e:406b) <- так отображается creative камера. vid/pid есть в списке поддерживаемых.
[   24.840000] usbcore: registered new interface driver uvcvideo
[  491.180000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[  491.190000] uvcvideo: Found UVC 1.00 device USB2.0_Camera (093a:2700)
[  544.250000] uvcvideo: Failed to resubmit video URB (-19).
[  544.260000] uvcvideo: Failed to resubmit video URB (-19).
[  578.000000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[  578.000000] uvcvideo: Found UVC 1.00 device iLook 320 (0458:7062)
[ 1271.810000] uvcvideo: Failed to resubmit video URB (-19).
[ 1271.810000] uvcvideo: Failed to resubmit video URB (-19).
[ 2194.390000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[ 2194.390000] uvcvideo: Found UVC 1.00 device iLook 320 (0458:7062)

Последний раз редактировалось Dmt; 20.06.2015 в 00:35.
Dmt вне форума   Ответить с цитированием
Старый 20.06.2015, 00:25   #157
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Я предупреждал что yuv камеры будут тормозить.
Что бы небыло тормозов , нужна MJPG камера
Admin вне форума   Ответить с цитированием
Старый 20.06.2015, 00:34   #158
Dmt
Member
 
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0
Dmt is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

canyon камера:
dmesg |grep video
Код:
root@CyberWrt:~# dmesg |grep video
[   24.530000] Linux video capture interface: v2.00
[   24.780000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[   24.780000] uvcvideo: Found UVC 1.00 device VF0530 Live! Cam Chat IM (041e:406b)
[   24.840000] usbcore: registered new interface driver uvcvideo
[  491.180000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[  491.190000] uvcvideo: Found UVC 1.00 device USB2.0_Camera (093a:2700)
[  544.250000] uvcvideo: Failed to resubmit video URB (-19).
[  544.260000] uvcvideo: Failed to resubmit video URB (-19).
[  578.000000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[  578.000000] uvcvideo: Found UVC 1.00 device iLook 320 (0458:7062)
[ 1271.810000] uvcvideo: Failed to resubmit video URB (-19).
[ 1271.810000] uvcvideo: Failed to resubmit video URB (-19).
[ 2194.390000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[ 2194.390000] uvcvideo: Found UVC 1.00 device iLook 320 (0458:7062)
[ 2958.590000] uvcvideo: Failed to resubmit video URB (-19).
[ 2969.930000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT
[ 2969.930000] uvcvideo: Found UVC 1.00 device USB2.0_Camera (093a:2700) <-так отображается canyon камера. vid/pid есть в списке поддерживаемых.
lsusb
Код:
root@CyberWrt:~# lsusb
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 14cd:125c Super Top SD card reader
Bus 001 Device 016: ID 093a:2700 Pixart Imaging, Inc.
пакеты gspca_pac207, gspca_pac7311 устанавливал - безрезультатно.

Последний раз редактировалось Dmt; 20.06.2015 в 00:44.
Dmt вне форума   Ответить с цитированием
Старый 24.06.2015, 11:56   #159
sano2000
Junior Member
 
Регистрация: 24.06.2015
Сообщений: 4
Вес репутации: 0
sano2000 is an unknown quantity at this point
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Люди помогите, как установить модуль веб-камеры в роутер TL-MR3020? Видимо здесь все продвинутые, помогите новичку, пожалуйста! Тем много, а как устанавливать модули нигде не могу найти. Через WinSCP заходить на роутер научился. Заранее, спасибо!
sano2000 вне форума   Ответить с цитированием
Старый 24.06.2015, 12:35   #160
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию Re: CyberWrt модуль "Драйвер Веб камеры"

Через веб интерфейс. Вбиваете IP роутерв в браузере, выбираете нужный Вам модуль и жмете кнопку установить
Admin вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 2 (пользователей: 0 , гостей: 2)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 06:28. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика