在 Tomato 中配置 mjpg_streamer 遇上了奇怪的问题 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sxd1988
V2EX    问与答

在 Tomato 中配置 mjpg_streamer 遇上了奇怪的问题

  • nbsp;
  •   sxd1988 2015-01-27 11:53:13 +08:00 4271 次点击
    这是一个创建于 3920 天前的主题,其中的信息可能已经有所发展或是发生改变。

    想在TomatoARM中配置网络摄像头,罗技的C270
    根据
    http://www.eefocus.com/spencer/blog/13-11/300486_e869d.html
    这篇文章修改了makefile文件并编译成功。
    运行
    ./mjpg_streamer -i "/jffs/camera/input_uvc.so --help"
    (input_uvc使用了绝对路径)返回了这样的错误。
    MJPG Streamer Version.: 2.0
    ERROR: could not find input plugin
    Perhaps you want to adjust the search path with:
    # export LD_LIBRARY_PATH=/path/to/plugin/folder
    dlopen: File not found
    就算export LD_LIBRARY_PATH也没有用。

    但是与此同时,这样做是可以正确返回帮助信息的
    ./mjpg_streamer -i "/jffs/camera/input_testpicture.so --help"
    MJPG Streamer Version.: 2.0


    Help for input plugin..: TESTPICTURE input plugin


    The following parameters can be passed to this plugin:

    [-d | --delay ]........: delay to pause between frames
    [-r | --resolution]....: can be 960x720, 640x480, 320x240, 160x120


    input_init() return value signals to exitroot@unknown:/jffs/camera#

    载入了5个模块,lomod可以看到这样的信息
    Module Size Used by Tainted: P
    v4l2_int_device 1853 0
    v4l2_common 3623 0
    uvcvideo 54210 0
    videodev 57161 2 v4l2_common,uvcvideo
    v4l1_compat 12036 2 uvcvideo,videodev

    dmesg可以看到这样的信息
    hid: exports duplicate symbol hid_check_keys_pressed (owned by kernel)
    usbcore: deregistering interface driver usbhid
    usbcore: deregistering interface driver hiddev
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    hid: exports duplicate symbol hid_check_keys_pressed (owned by kernel)
    input_core: exports duplicate symbol input_unregister_handle (owned by kernel)
    videodev: Unknown symbol v4l_compat_translate_ioctl (err 0)
    Linux video capture interface: v2.00
    uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
    input: UVC Camera (046d:0825) as /class/input/input0
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    应该是有找到设备。
    就是input_uvc.so的问题,文件明明就在那里,可是不管怎么做都是提示File not found,很费解,在这请教各位大大了

    目前尚无回复
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1028 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 27ms UTC 18:50 PVG 02:50 LAX 11:50 JFK 14:50
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86