Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 47

Thread: Easycap - Somagic - Linux Drivers

  1. #31
    Join Date
    Feb 2010
    Beans
    7

    Re: Easycap - Somagic - Linux Drivers

    This should fix the issue.


    1. Download the source code for the tools here
    2. Install build-essential and the necessary library's you may need, I had to
      Code:
      apt-get install build-essential libgcrypt11-dev libusb-1.0-0-dev
    3. Unpack with
      Code:
      tar xvf somagic-easycap-tools_VERSION.tar.gz
    4. Then change directory into somagic-extract-firmware and rename somagic-extract-firmware.c to .backup
    5. Go to http://code.google.com/p/easycap-som...686f6fa087ddc1 and copy the new source code from here which includes our 3f support.
    6. Now create a new file
      Code:
      nano somagic-extract-firmware.c
      and paste what you copied from the site.
    7. Now run
      Code:
      make
      and then
      Code:
      make install
    8. You should now have installed the new somagic-extract tool which does extract the 3f file correctly!

    I've attached the binary I made of the tool, if you copy this to the directory of your driver you can run without installing.

    Let me know if it works, I'm now stuck on the next stage...

  2. #32
    Join Date
    Feb 2010
    Beans
    7

    Re: Easycap - Somagic - Linux Drivers

    Wow! It still needed more work to actually use the firmware, I have to recompile everything with tweaks but I just got it to initialise... have yet to try the actual capture but I finally got the following. Will write up shortly...

    johnnydisco-ThinkPad-R61e user # lsusb
    Bus 002 Device 006: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+ clone) (no firmware) [SMI-2021CBE]
    Bus 003 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    johnnydisco-ThinkPad-R61e user # ./somagic-init
    johnnydisco-ThinkPad-R61e user # lsusb
    Bus 002 Device 007: ID 1c88:003f Somagic, Inc.
    Bus 003 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  3. #33
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Angry Re: Easycap - Somagic - Linux Drivers

    Quote Originally Posted by JohnnyDisco View Post
    ...It still needed more work to actually use the firmware...
    I just bought one of these Somagic 4 channel devices: http://www.amazon.co.uk/Channel-Vide...359194&sr=1-33
    ..and I'm trying to get it to work.

    I can extract the firmware, and is says its written successfully.

    But somagic-init says the file is not recognised.

    So any help would be much appreciated.

    I think this is what I did:-

    On Windows 7:-
    Driver: run driver\setup.exe in Windows then found SmiUsbGrabber3F.sys in xp driver folder & copy to Linux machine.

    On Linux (Lubuntu 12.10):-
    Download/install from here: http://code.google.com/p/easycap-som...downloads/list
    * somagic-easycap_1.0_i386.deb
    * somagic-easycap-tools_1.0_i386.deb

    Install dependencies and suggested packages with:-
    sudo apt-get install libusb-1.0-0 libgcrypt11 mplayer usbutils

    sudo wget https://easycap-somagic-linux.google...ols_1.0.tar.gz

    sudo apt-get install build-essential libgcrypt11-dev libusb-1.0-0-dev

    Unpack tools source:-
    sudo tar xvf somagic-easycap-tools_1.0.tar.gz

    Change directory into somagic-extract-firmware and rename somagic-extract-firmware.c to .org
    Copy new source code (text) from http://code.google.com/p/easycap-som...686f6fa087ddc1 which includes 3f support into a new file: somagic-extract-firmware.c.

    sudo make
    sudo make install

    somagic-extract-firmware SmiUsbGrabber3F.sys
    {Firmware written to /lib/firmware/somagic_firmware.bin}

    lsusb still says 1c88:0007

    somagic-init
    {Firmware file /lib/firmware/somagic_firmware.bin was not recognized}

  4. #34
    Join Date
    Jan 2011
    Beans
    1

    Angry Re: Easycap - Somagic - Linux Drivers

    Hi all.
    I have an easycap DC60.
    I used all your guides (installed from deb and also from git, firmware ok and kernel modules loaded).
    Now it create the /dev/videoX device.
    But every it appears busy, thus no video capture is possible.
    I tried with ffmpeg, mplayer, vlc and qv4l2, all give me same response.
    ....Any idea for help me, please?

    Some infos:
    Ubuntu 12.10 64bit fresh installation and upgraded.

    somagic-capture --test-only's output:
    Failed to claim device interface: Device or resource busy

    Thanks in advance
    gorotman

  5. #35
    Join Date
    Feb 2010
    Beans
    7

    Re: Easycap - Somagic - Linux Drivers

    lsusb still says 1c88:0007

    somagic-init
    {Firmware file /lib/firmware/somagic_firmware.bin was not recognized}
    Sorry, I haven't been in the forum for a couple of weeks and working on other stuff. I hope you worked it out because it's difficult to remember the exact steps but essentially you will have the same issue with the init binary file as the firmware extract binary i.e. it doesn't know about the 'f' variety of the device so you need the source code to recompile one which recognises the 3f.

    From memory this is what I did:



    Then I got the updated result from lsusb. I've not had time to figure out the rest following on from this so let me know how you get on.


    Also take a look here:


    http://code.google.com/p/easycap-som...s/detail?id=11


    It's kinda cutting edge but several people are having similar issues to us.



    Thanks,
    Johnny

  6. #36
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Smile Re: Easycap - Somagic - Linux Drivers

    Quote Originally Posted by JohnnyDisco View Post
    ...It's kinda cutting edge but several people are having similar issues to us...
    I managed to get this working (kind of) on Saturday.

    Basically, after downloading the source files (including tools) there are 3 files which must be replaced: somagic-extract-firmware.c, somagic-init.c, somagic-capture.c

    I've just been allowed to join the Somagic group here: http://code.google.com/p/easycap-somagic-linux/ so you can take a look at the questions I have just posted.

    I've attached an image to show the video problem I have.
    Attached Images Attached Images

  7. #37
    Join Date
    Feb 2013
    Beans
    6

    Re: Easycap - Somagic - Linux Drivers

    Hi,
    im new to this forum and also to this thread as i got my easycap just some days ago, and now im trying to get it to work under linux. I followed this well writen guide
    (I got the f model so i had to compile it in order to get it to extract and initiate, but that all seems fine, lsusb gives me "Bus 001 Device 003: ID 1c88:003f Somagic, Inc.")
    and have gotten as far as

    "sudo somagic-capture -c --iso-transfers 100 --pal --sync=1 | mplayer -nocache -vf yadif -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -"

    This does give me a "libusb_submit_transfer failed with error -1" and "Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory" Then as it says starting playback a windows popup and disapear and then "Exiting... (End of file)" and im back at the normal terminal.

    Further more I tride "sudo modprobe videodev" after running make in the kernel directory and i get no errors but I also get no /dev/video* devices or other video device in /dev. Nor do i get any errors with "sudo insmod somagic.ko".

    Anyone able to give a hint what to do or look for next?

  8. #38
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Smile Re: Easycap - Somagic - Linux Drivers

    Quote Originally Posted by warzo View Post
    ...Anyone able to give a hint what to do or look for next?
    I'm curious about which version and flavour of 'buntu your are using?

    Could you also try:-
    Code:
    sudo somagic-capture --iso-transfers=20 | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -

  9. #39
    Join Date
    Feb 2013
    Beans
    6

    Re: Easycap - Somagic - Linux Drivers

    Quote Originally Posted by SteveDee View Post
    I'm curious about which version and flavour of 'buntu your are using?

    Could you also try:-
    Code:
    sudo somagic-capture --iso-transfers=20 | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
    Sorry I forgot to tell ubuntu version. The version I'm using is 12.04 LTS.

    I tried that code above.. the output is:
    Code:
    $ sudo somagic-capture --iso-tranfers=20 | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
    Option rawvideo: Unknown suboption format
    Error parsing option on the command line: -rawvideo
    MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
    After the last line nothing happens, it just sits there and I have to do ctrl+c to be able to do something else with that terminal.

  10. #40
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Unhappy Re: Easycap - Somagic - Linux Drivers

    Quote Originally Posted by warzo View Post
    Sorry I forgot to tell ubuntu version. The version I'm using is 12.04 LTS...
    I'm using Lubuntu 12.10. My output:-
    Code:
    steve@steve-Compaq:~$ sudo somagic-capture --iso-transfers=30 | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
    MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 MPlayer Team
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    
    Playing -.
    Reading from stdin...
    rawvideo file format detected.
    Load subtitles in ./
    Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
    [vdpau] Error when calling vdp_device_create_x11: 1
    Opening video filter: [screenshot]
    Opening video filter: [yadif]
    ==========================================================================
    Opening video decoder: [raw] RAW Uncompressed Video
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    [swscaler @ 0x9363780] using unscaled uyvy422 -> yuv420p special converter
    VO: [xv] 720x576 => 768x576 Planar YV12 
    Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
    ==========================================================================
    Audio: no sound
    Starting playback...
    ...looks like I have a different set of problems.

Page 4 of 5 FirstFirst ... 2345 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •