Shibby version 101, can't insert input-core.ko

Discussion in 'Tomato Firmware' started by leandroong, Oct 8, 2012.

  1. leandroong

    leandroong LI Guru Member

    version: Tomato Firmware 1.28.0000 MIPSR1-101 K26 USB AIO
    error message: insmod: can't insert 'input-core.ko': unknown symbol in module, or unknown parameter
     
  2. leandroong

    leandroong LI Guru Member

    how is input-core.ko created? Is that file created during FW creation ? I notce that extras for mipsr1 and 2 created for every fw builds.
     
  3. leandroong

    leandroong LI Guru Member

    Tomato Firmware 1.28.0000 MIPSR1-104 K26 USB AIO

    insert input-core.ko still not working..... Do I need this for USB camera?
     
  4. shibby20

    shibby20 Network Guru Member

    i think you dont. I tested camera (gspca module) on RT-N66u without this module and worked.
     
  5. leandroong

    leandroong LI Guru Member

    1. dmesg:
    Code:
    usb 1-1.2: new high speed USB device using ehci_hcd and address 11
    usb 1-1.2: configuration #1 chosen from 1 choice
    scsi5 : SCSI emulation for USB Mass Storage devices
    Registered led device: 1-1.2
    scsi 5:0:0:0: Direct-Access    GENPLUS  USB-MSDC DISK A  1.00 PQ: 0 ANSI: 0
    sd 5:0:0:0: [sda] 15523840 512-byte hardware sectors (7948 MB)
    sd 5:0:0:0: [sda] Write Protect is off
    sd 5:0:0:0: [sda] Mode Sense: 03 00 00 00
    sd 5:0:0:0: [sda] Assuming drive cache: write through
    sd 5:0:0:0: [sda] Assuming drive cache: write through
    sda: sda1
    sd 5:0:0:0: [sda] Attached SCSI removable disk
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    
    2. insmod the ff:
    Code:
    insmod /opt/camera/videodev.ko
    insmod /opt/camera/v4l2-common.ko
    insmod /opt/camera/v4l2-int-device.ko
    insmod /opt/camera/uvcvideo.ko
    3. optwares:
    http://tomato.groov.pl/repo/mjpg-streamer_r138-6_mipsel.ipk
    export LD_LIBRARY_PATH=/opt/lib/mjpg-streamer/

    4. test run
    mjpg_streamer -i "input_uvc.so -r 640x480 -f 10 -l off -y" -o "output_http.so -p 1234 -c yyy:zzz -w /opt/share/mjpg-streamer/www"

    Error:
    Code:
    root@BTRouter2:/tmp# mjpg_streamer -i "input_uvc.so -r 640x480 -f 10 -l off -y"
    -o "output_http.so -p 1234 -c yyy:zzz -w /opt/share/mjpg-streamer/www"
    MJPG Streamer Version: svn rev: wyeksportowane
    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
    
    Note: Could this not be due to missing input-core.ko?
    I'm not sure either if my usb camera is supported also.... just testing....
     
  6. shibby20

    shibby20 Network Guru Member

    # export LD_LIBRARY_PATH=/path/to/plugin/folder :)

    propably it`s
    LD_LIBRARY_PATH=/opt/lib/mjpg_streamer

    but please check yourself. Then try run mjpg_streamer :)
     
  7. leandroong

    leandroong LI Guru Member

    Folder exist as "/opt/lib/mjpg-streamer/"
     
  8. leandroong

    leandroong LI Guru Member

    Note: there is conflict for AIO build for input-core,ko
    Finally, found FW that has working input-core.ko. I shifted down from AIO build to tomato-K26USB-1.28.RT-MIPSR1-104-BTgui-VPN.trx.
     
  9. leandroong

    leandroong LI Guru Member

    Camera working fine now. Thanks Shibby
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice