小R科技-WIFI机器人网·机器人创意工作室

 找回密码
 立即注册
查看: 13980|回复: 14

703N挂载摄像头求助

[复制链接]
发表于 2014-4-16 17:55:18 | 显示全部楼层 |阅读模式
本帖最后由 飘逸星辰 于 2014-4-16 18:46 编辑

买的703n刷了openwrt系统  
  1. [   11.350000] uvcvideo: Found UVC 1.00 device HP High Definition Webcam (04f2:b1e0)
  2. [   11.460000] input: HP High Definition Webcam as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input0
  3. [   11.470000] usbcore: registered new interface driver uvcvideo
  4. [   11.480000] USB Video Class driver (1.1.1)
复制代码
最后又提示
  1. [   30.900000] usb 1-1: USB disconnect, device number 2
  2. [   31.130000] hub 1-0:1.0: unable to enumerate USB device on port 1
复制代码
使用论坛的上位机以及web都无法开启摄像头 其他一切功能正常

路由器开启是插上摄像头:
  1. [ 3102.290000] uvcvideo: Failed to query (129) UVC probe control : -71 (exp. 26).
  2. [ 3102.300000] uvcvideo: Failed to initialize the device (-5).
  3. [ 3102.300000] usb 1-1: USB disconnect, device number 76
  4. [ 3102.590000] usb 1-1: new high-speed USB device number 77 using ehci-platform
  5. [ 3102.760000] uvcvideo: Found UVC 1.00 device HP High Definition Webcam (04f2:b1e0)
  6. [ 3102.870000] input: HP High Definition Webcam as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input1
复制代码


固件和摄像头应该都没问题 之前用另一个703n可以正常使用 唯一不同是这次用的路由器硬件版本是V1.6
摄像头上有一个led 之前能使用时路由器启动摄像头后led就会一直亮表示 摄像头处于开启状态 现在在路由器启动摄像头时会闪一下就没反应了
不知道是什么问题 求大神



回复

使用道具 举报

 楼主| 发表于 2014-4-16 17:57:06 | 显示全部楼层
本人在路由器这块完全是新手 可能代码还有漏掉 贴上路由开机全部代码


U-Boot 1.1.4 (Mar 21 2013 - 10:09:10)

AP121 (ar9330) U-boot

DRAM: 32 MB
led turning on for 1s...
id read 0x100000ff
flash size 4194304, sector count = 64
Flash: 4 MB
Using default environment

In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Uncompressing Kernel Image ... OK

Starting kernel ...

[ 0.000000] Linux version 3.3.8 (liuviking@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #13 Tue Mar 18 00:02:57 PDT 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29116k/32768k available (2115k kernel code, 3652k reserved, 406k data, 208k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-WR703N v1
[ 0.350000] bio: create slab <bio-0> at 0
[ 0.360000] Switching to clocksource MIPS
[ 0.360000] NET: Registered protocol family 2
[ 0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.390000] TCP reno registered
[ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] NET: Registered protocol family 1
[ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.440000] msgmni has been set to 56
[ 0.440000] io scheduler noop registered
[ 0.450000] io scheduler deadline registered (default)
[ 0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.460000] console [ttyATH0] enabled, bootconsole disabled
[ 0.460000] console [ttyATH0] enabled, bootconsole disabled
[ 0.480000] m25p80 spi0.0: found s25sl032a, expected m25p80
[ 0.480000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[ 0.490000] 5 tp-link partitions found on MTD device spi0.0
[ 0.490000] Creating 5 MTD partitions on "spi0.0":
[ 0.500000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.510000] 0x000000020000-0x000000101bd4 : "kernel"
[ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.520000] 0x000000101bd4-0x0000003f0000 : "rootfs"
[ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.540000] mtd: partition "rootfs" set to be root filesystem
[ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=340000, len=B0000
[ 0.550000] 0x000000340000-0x0000003f0000 : "rootfs_data"
[ 0.560000] 0x0000003f0000-0x000000400000 : "art"
[ 0.570000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.590000] ag71xx_mdio: probed
[ 0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.160000] TCP cubic registered
[ 1.160000] NET: Registered protocol family 17
[ 1.160000] 8021q: 802.1Q VLAN Support v1.8
[ 1.170000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.180000] Freeing unused kernel memory: 208k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[ 6.670000] JFFS2 notice: (405) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 16 of xref (0 dead, 4 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [ 8.770000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 8.780000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 8.810000] cfg80211: Calling CRDA to update world regulatory domain
[ 8.820000] cfg80211: World regulatory domain updated:
[ 8.820000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.830000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.840000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.850000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.850000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.860000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.180000] usbcore: registered new interface driver usbfs
[ 9.180000] usbcore: registered new interface driver hub
[ 9.190000] usbcore: registered new device driver usb
[ 9.900000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 9.910000] cfg80211: Calling CRDA for country: US
[ 9.910000] cfg80211: Regulatory domain changed to country: US
[ 9.920000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.930000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 9.930000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 9.940000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.950000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.960000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.960000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 10.080000] PPP generic driver version 2.4.2
[ 10.320000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.440000] NET: Registered protocol family 24
[ 10.460000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 10.470000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 10.470000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 10.510000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 10.530000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 10.530000] hub 1-0:1.0: USB hub found
[ 10.530000] hub 1-0:1.0: 1 port detected
[ 10.560000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 10.800000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 10.910000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 10.930000] i2c /dev entries driver
[ 10.970000] Linux video capture interface: v2.00
[ 11.330000] gspca_main: v2.14.0 registered
[ 11.350000] uvcvideo: Found UVC 1.00 device HP High Definition Webcam (04f2:b1e0)
[ 11.460000] input: HP High Definition Webcam as /devices/platform/ehci-platform/usb1/1-1/1-1:1.0/input/input0
[ 11.470000] usbcore: registered new interface driver uvcvideo
[ 11.480000] USB Video Class driver (1.1.1)
[ 15.920000] device eth0 entered promiscuous mode
[ 21.120000] device wlan0 entered promiscuous mode
[ 21.170000] br-lan: port 2(wlan0) entered forwarding state
[ 21.170000] br-lan: port 2(wlan0) entered forwarding state
[ 23.170000] br-lan: port 2(wlan0) entered forwarding state
[ 30.900000] usb 1-1: USB disconnect, device number 2
[ 31.130000] hub 1-0:1.0: unable to enumerate USB device on port 1
回复 支持 反对

使用道具 举报

发表于 2014-4-16 17:59:39 来自手机 | 显示全部楼层
703N内存和闪存多大,我也想买一个
回复 支持 反对

使用道具 举报

发表于 2014-4-16 18:02:50 | 显示全部楼层
1.6的要刷1.6的固件,论坛里面有。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-4-16 18:10:04 | 显示全部楼层
majianya11 发表于 2014-4-16 17:59
703N内存和闪存多大,我也想买一个

4m 16m 应该是的吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-4-16 18:12:59 | 显示全部楼层
liuviking 发表于 2014-4-16 18:02
1.6的要刷1.6的固件,论坛里面有。

换了1.6的版本 还是不行 发的代码就是1.6固件版本的

我看了好像1.6的刷了其他固件lan口不能用其他正常吧?
今天才知道有了个1.6的版本和之前的不一样~
回复 支持 反对

使用道具 举报

发表于 2014-4-16 18:17:32 | 显示全部楼层
1.6硬件的703刷了早先版本的固件后,LAN口不能用,其他正常。
回复 支持 反对

使用道具 举报

发表于 2014-4-30 20:58:02 | 显示全部楼层
新手   来看看能学习点什么
回复 支持 反对

使用道具 举报

发表于 2014-11-25 19:12:28 | 显示全部楼层
我也遇到了这种问题,怎么解决呀
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-12-3 20:56:29 | 显示全部楼层
可乐瓶儿 发表于 2014-11-25 19:12
我也遇到了这种问题,怎么解决呀

今天好好看了下 发现是USB端口的问题  因为在里面看到了HUB 突发奇想在上面加了个USB的HUB接口 再接上摄像头再用mjpg_streamer -i "input_uvc.so -y -d /dev/video0" -o "output_http.so -p 8080 -w /www/camwww  命令启动……
结果成功了……
发现论坛的上位机里修改摄像头参数和重启摄像头的命令不是mjpg_streamer -i "input_uvc.so -y -d /dev/video0" -o "output_http.so -p 8080 -w /www/camwww   所以没有反应  其他的不懂了……
正在想办法把hub去掉 这个应该不难吧~
玩这个还是新手 继续研究中
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

新品特惠推荐上一条 /2 下一条

QQ|QQ技术咨询1|QQ技术咨询2|商务合作微信1:xiaorgeek001|商务合作微信2:XiaoRGEEK|诚聘英才|Archiver|手机版|小R科技-WIFI机器人网·机器人创意工作室 ( 粤ICP备15000788号-6 )

GMT+8, 2024-5-4 12:56 , Processed in 1.081236 second(s), 19 queries .

Powered by XiaoR GEEK X3.4

© 2014-2021 XiaoR GEEK

快速回复 返回顶部 返回列表