xorkrus / easycap-somagic-linux Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/easycap-somagic-linux
Automatically exported from code.google.com/p/easycap-somagic-linux
What steps will reproduce the problem?
1.running make in the comp;ile of the kernel
2.can't install module from the git clone - I keep getting 'invalid character'
in module
3.
What is the expected output? see somagic.h
What do you see instead? nothing
if I try to complie the kernel the make command always crashed when it comes to
the smi2012 section. This is the error I get:
----------------------
CC [M] drivers/media/usb/smi2021/smi2021_main.o
drivers/media/usb/smi2021/smi2021_main.c: In function ‘smi2021_set_mode’:
drivers/media/usb/smi2021/smi2021_main.c:47:2: error: implicit declaration of
function ‘kzalloc’ [-Werror=implicit-function-declaration]
drivers/media/usb/smi2021/smi2021_main.c:47:20: warning: initialization makes
pointer from integer without a cast [enabled by default]
drivers/media/usb/smi2021/smi2021_main.c:60:2: error: implicit declaration of
function ‘kfree’ [-Werror=implicit-function-declaration]
drivers/media/usb/smi2021/smi2021_main.c: In function ‘smi2021_set_reg’:
drivers/media/usb/smi2021/smi2021_main.c:120:15: warning: assignment makes
pointer from integer without a cast [enabled by default]
drivers/media/usb/smi2021/smi2021_main.c: In function ‘smi2021_get_reg’:
drivers/media/usb/smi2021/smi2021_main.c:178:15: warning: assignment makes
pointer from integer without a cast [enabled by default]
drivers/media/usb/smi2021/smi2021_main.c: In function
‘smi2021_setup_iso_transfer’:
drivers/media/usb/smi2021/smi2021_main.c:602:22: warning: assignment makes
pointer from integer without a cast [enabled by default]
drivers/media/usb/smi2021/smi2021_main.c: In function ‘smi2021_usb_probe’:
drivers/media/usb/smi2021/smi2021_main.c:814:10: warning: assignment makes
pointer from integer without a cast [enabled by default]
drivers/media/usb/smi2021/smi2021_main.c:882:2: error: ‘const struct
v4l2_subdev_core_ops’ has no member named ‘s_std’
drivers/media/usb/smi2021/smi2021_main.c:882:2: error: ‘const struct
v4l2_subdev_core_ops’ has no member named ‘s_std’
cc1: some warnings being treated as errors
make[4]: *** [drivers/media/usb/smi2021/smi2021_main.o] Error 1
make[3]: *** [drivers/media/usb/smi2021] Error 2
make[2]: *** [drivers/media/usb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
-------------------
What version of the product are you using? On what operating system?
easycap dc60 on fedora 16, I've also tried fedora 20, smae problem.
Please provide any additional information below.
I've been slogging at this for days, maybe this device is impossible install, I
don't know. I can do all the steps at
https://code.google.com/p/easycap-somagic-linux/wiki/GettingStarted
and device initialises as 1c88:003f but I cannot get /dev/video0 no matter
what. If anyone has a step-by-step for fedora that would be good.
Original issue reported on code.google.com by [email protected]
on 14 Jun 2014 at 10:44
Hi,
I followed the getting started guide, and almost every steps works for me,
until I get to the end and try to capture some video.
sudo somagic-capture -s | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo "ntsc:format=uyvy:fps=30000/1001" -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...
At this point, nothing happens, the mplayer window is NOT visible.
When I press control-c it outputs:
MPlayer interrupted by signal 2 in module: demux_open
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 @ 0x9c9a7c0] using unscaled uyvy422 -> yuv420p special converter
VO: [xv] 720x480 => 720x540 Planar YV12
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 0/ 0 ??% ??% ??,?% 0 0
Exiting... (Quit)
I am on: Lubuntu 13.10 64 bit
My capture device is a version 3f.
I tried the xp and vista firmwares from the official CD
Is there any info I can gather to find out what is going on here? I would like
to help!
Please let me know
Thanks
Bart
Original issue reported on code.google.com by [email protected]
on 30 Oct 2013 at 8:41
What steps will reproduce the problem?
After compiling the somagic kernel module I reboot but it doesn't show a new
audio device in the aplay list
What is the expected output? What do you see instead?
f1nk@f1nk:~/ciso-1.0.0$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC269VC Analog [ALC269VC
Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
What version of the product are you using? On what operating system?
Somagic Bus 001 Device 005: ID 1c88:003f Somagic, Inc.
On ubuntu 13.10 Saucy
Please provide any additional information below.
I compiled the most current modules for the device but the only thing that
shows up is the video capture not sound.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2014 at 6:03
In line 1111 of kernel/somagic_video.c there is:
vma->vm_flags |= VM_RESERVED
Since this flag no longer exists this line should be removed.
Module seems to work fine without.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2013 at 1:13
Hello Everybody
I am trying to install appGRABBER V5 usb-capture-video to convert VRC tapes to
DIGITAL with my Linux Mint 17.1
I did all the steps:
lsusb first told me:
Bus 002 Device 003: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) (no firmware) [SMI-2021CBE]
when i installed:
somagic-easycap-tools_1.1_i386.deb
and somagic-easycap_1.1_i386.deb
with Gdebi
and I installed the .sys file
of course i got the /lib/firmware/somagic_firmware.bin
then, after "sudo somagic-init"
lsusb tells me:
Bus 002 Device 004: ID 1c88:003c Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) [SMI-2021CBE]
I plug everything in the usb..
I open VLC, SMPlayer even CHeese. but i only got to see video-0 which is my
webcam..
Why can i see an video-1 for example to choose this usb-device?
I am lost, i don't understand what should i do now...
Please, could you tell us in the GUIDE?
Thanks a lot.
my dmesg:
[ 368.848089] usb 2-3: new high-speed USB device number 3 using ehci-pci
[ 368.984777] usb 2-3: New USB device found, idVendor=1c88, idProduct=0007
[ 368.984781] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 368.984784] usb 2-3: Product: SM-USB 007
[ 368.984790] usb 2-3: Manufacturer: Somagic, Inc.
[ 368.984792] usb 2-3: SerialNumber: SMBL007
[ 606.486637] usb 2-3: USB disconnect, device number 3
[ 606.760073] usb 2-3: new high-speed USB device number 4 using ehci-pci
[ 606.892844] usb 2-3: New USB device found, idVendor=1c88, idProduct=003c
[ 606.892852] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 606.892855] usb 2-3: Product: SMI Grabber DEV
[ 606.892858] usb 2-3: Manufacturer: Somagic, Inc.
[ 606.892860] usb 2-3: SerialNumber: SMIGRABBER9876543210
and this is very weird because when i tried to open it in TVtime ( i installed
with software center) when i choose NTSC only my webcam (i am with a laptop
with webcam integrated) appears as device... and when i choose PAL...FRAMES TOO
SHORT FROM uvcvideo "I can't open device /dev/video0"
I don't know what to do... i need another device /dev/video1... and i need to
know why it doesn't appears if i did all the steps well without errors..
Please, more information, or help.
Thanks a lot.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2015 at 4:13
Hi, all
I followed the instructions and it works well on my PC.
I got an odroid-u3 board
http://hardkernel.com/main/products/prdt_info.php?g_code=G138745696275
Every step goes well, but when executed somagic-capture,
I got images below
Original issue reported on code.google.com by [email protected]
on 15 Mar 2014 at 1:21
Attachments:
GettingStarted -> Extracting firmware:
..."Drivers/Setup.exe", on the EasyCAP installation CD...
On my CD (for SmiUsbGrabber3F/xp/SmiUsbGrabber3F.sys) directory name is without
's': /media/VIDEOCAPTURE/Driver/Setup.exe
Original issue reported on code.google.com by aapo.rantalainen
on 26 Jun 2012 at 12:53
Documentation:
The mplayer example shows video only. Please include examples that combine
sound
captured from a pulse/alsa input with the video. Most applications will also
require sound input. I realise that sound capture from the DC60 isn't
implemented yet, but sound capture should still be possible from the existing
sound card.
Original issue reported on code.google.com by [email protected]
on 9 May 2012 at 8:05
Im running this on OSX
What is block [66 f9 00 00]?
It is always showing up in my log
Original issue reported on code.google.com by [email protected]
on 31 Aug 2013 at 4:49
Dear all,
I'm currently working on an open source project that works with gstreamer . I
wanted out put of my camcorder as v4l2src. I found this easyCap is promising to
work.
But when I ordered it didn't work out of the box. Details of devices are
follows.
Model No. : DC60-2021 Version 3.1C win 7-64
When I do lsusb
Bus 002 Device 008: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) (no firmware) [SMI-2021CBE]
I tried to do what your site http://code.google.com/p/easycap-somagic-linux/
says.
But when I try to do
sudo somagic-extract-firmware SmiUsbGrabber.sys
I get error
Somagic firmware was not found in driver file.
What I am doing wrong? How to fix this? Please be kind enough to help me.
Thanks in advance.
Original issue reported on code.google.com by [email protected]
on 6 Dec 2012 at 5:15
What steps will reproduce the problem?
1. sudo insmod somagic.ko
2. qv4l2 /dev/videoX
3. Start video capture
4. adjust brightness to 0.
5. Stop video capture
6. Set brightness to something
7. Start video capture again
What is the expected output? What do you see instead?
The brightness skips down do 0, when we start a capture again.
Expected behavior. New brightness level is set!
Original issue reported on code.google.com by [email protected]
on 23 Feb 2012 at 5:35
Screenshots of the windows software for the EasyCAP002 suggest that it's
possible to capture from all 4 inputs simultaneously, though I assume at 1/4
the standard NTSC resolution.
It would be super cool if this linux software supported that mode :)
(I have capture from any of the individual inputs working fine from a
"1c88:003f Somagic, Inc." device)
Original issue reported on code.google.com by [email protected]
on 7 Jan 2014 at 4:18
I compiled easycap+tool from git and got device 'working' (video flickers very
much, no audio).
Device/chipset is this one: SmiUsbGrabber3F/xp/SmiUsbGrabber3F.sys
After 10...60 seconds, video stops with "Exiting... (End of file)"
And next run gives:
USB device 1c88:003c was not found.
USB device 1c88:003e was not found.
USB device 1c88:003f was not found.
Has device initialization been performed?
lsusb doesn't show it anymore.
dmesg shows:
[ 178.227920] ehci_hcd 0000:00:13.2: force halt; handshake f800c014 00004000
00004000 -> -110
[ 178.227929] ehci_hcd 0000:00:13.2: HC died; cleaning up
[ 178.228228] usb 1-4: USB disconnect, device number 2
git commit: ef1195b61fa36dc7f93bde82c3f4fadde5157574
Linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686 athlon
i386 GNU/Linux, Ubuntu-12.04.
Original issue reported on code.google.com by aapo.rantalainen
on 26 Jun 2012 at 12:42
What steps will reproduce the problem?
1.Attempt to install
2.Firmware cannot be extracted from any .sys file
3.1c88:1001 appears not supported
What version of the product are you using? On what operating system?
Ubuntu,
Additional info:
Output of lsusb -v:
Bus 002 Device 024: ID 1c88:1001 Somagic, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1c88 Somagic, Inc.
idProduct 0x1001
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 75
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Original issue reported on code.google.com by [email protected]
on 16 Nov 2014 at 1:57
It compiles and works great on osx. (user mode)
Just had to change the location of the firmware file. And remove the -vf
parameters of mplayer.
Thanks a lot!
Cheers
Joan
Original issue reported on code.google.com by [email protected]
on 3 Jul 2012 at 1:03
What steps will reproduce the problem?
1. Plug in the Somagic USB device, it shows up properly in dmesg:
[ 6.488608] usb 2-1: New USB device found, idVendor=1c88, idProduct=003c
[ 6.488613] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.488615] usb 2-1: Product: SMI Grabber DEV
[ 6.488617] usb 2-1: Manufacturer: Somagic, Inc.
[ 6.488619] usb 2-1: SerialNumber: SMIGRABBER9876543210
[ 6.542011] bcma-pci-bridge 0000:07:00.0: no hotplug settings from platform
[ 6.604178] saa7115 7-004a: gm7113c found @ 0x94 (smi2021)
[ 6.611733] 8:3:1: cannot get freq at ep 0x84
[ 6.621221] usb_audio: Warning! Unlikely big volume range (=3328), cval->res
is probably wrong.
[ 6.621226] usb_audio: [2] FU [Mic Capture Volume] ch = 1, val =
4608/7936/1<6>
[ 6.621485] usbcore: registered new interface driver snd-usb-audio
[ 6.630083] smi2021 2-1:1.0: Somagic Easy-Cap Video Grabber
2. Run VLC
3. Select Media -> Open Capture Device
4. Choose video device, here /dev/video1, and click play (Video playback starts)
5. Select again Media -> Open Capture Device
6. Choose some random audio device and click play
This will trigger the panic. Always. It's easily reproducible for me.
I downloaded and built the smi2021 module just today according to the
"BuildingKernelModule" section in your wiki. I built a whole kernel from source
on my Ubuntu 14.04 and installed the debs.
Screenshot of the panic is attached. Sorry for the bad quality, taken with a
budget phone :)
Original issue reported on code.google.com by [email protected]
on 25 Nov 2014 at 5:58
Attachments:
What steps will reproduce the problem?
I think the package was compiled with a unstable version
By running: dpkg -i somagic-easycap_1.1_amd64.deb
I saw:
Unpacking somagic-easycap (from somagic-easycap_1.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of somagic-easycap:
somagic-easycap depends on libc6 (>= 2.14); however:
Version of libc6:amd64 on system is 2.13-38.
dpkg: error processing somagic-easycap (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
somagic-easyca
What version of the product are you using?
somagic-easycap_1.1_amd64.deb
On what operating system?
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux (Wheezy)
Please provide any additional information below.
My lsusb output
Bus 002 Device 002: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) (no firmware) [SMI-2021CBE]
I have installed libgcrypt11_1.5.0-5 and libusbx_1.0.11-1
Original issue reported on code.google.com by [email protected]
on 25 Apr 2013 at 12:45
Hi, I've compiled the user code and kernel code on/for my raspberry pi. I seem
to get slightly better results using the user code but I do not seem to be
getting whole frames and the frames seem to be drawing over each other. (see
attachments)
I am running:
# somagic-capture --iso-transfers=85 | ffmpeg -f rawvideo -pix_fmt uyvy422 -s
720x576 -y -an -r pal -i - -f image2 foo-%03d.jpg
I am not sure what iso-transfers mean, but the higher the longer i get almost
full frames (85 gave me about 20 good frames in a row @ 4 fps)
I think there might be some kind of sync issue or the device is not sending
whole frames.
Is there a way of modifying the code so it only outputs whole frames?
Also as a side question, is it possible to get somagic to scale each frame?
Attached are some captured frames, including the first frame, a good frame and
a few corrupted frames.
Let me know if more information is required. I am happy to test/try other
things and report back if i can be of any use.
Cheers.
md
Original issue reported on code.google.com by [email protected]
on 2 Jan 2015 at 2:36
Attachments:
Built kernel module on two machines, an Atom netbook with a beta release of
Ubuntu 13.04 and a Pentium D 2.8ghz machine with 12.04.2 LTS, each now updated
to 3.8.0-19-generic. Device uses firmware smi2021_3f.bin.
I have the modules loading automatically from /etc/modules. 'Motion' loads the
device fine, /dev/video1, auto-selecting a resolution of 720x486. But the
syslog gets spammed with thousands of messages:
[ 1776.273738] smi2021::smi2021_buffer_done: Dropping buffer, Buf->pos: 0,
trc_av: 1
[ 1776.273790] smi2021::smi2021_buffer_done: Dropping buffer, Buf->pos: 0,
trc_av: 1
[ 1776.273842] smi2021::smi2021_buffer_done: Dropping buffer, Buf->pos: 0,
trc_av: 1
[ 1776.273894] smi2021::smi2021_buffer_done: Dropping buffer, Buf->pos: 0,
trc_av: 1
This caused rsyslog to take up a lot of CPU, so I disabled this service. CPU is
important because I'm trying to have this Atom netbook record video at the
highest frame rate it can, using Motion.
The system is working otherwise, at first glance. But the kernel will lock up
periodically. Sometimes it comes back in a few seconds. Sometimes I get kernel
messages about the watchdog timer or another process segfaulting during these
freezes. If frozen, pulling the USB device from the computer returns it to a
usable state.
Capturing video to a file using the userspace tools does not reveal any
immediately problems, but this isn't useful to me as I need the video to be
available to Motion.
Any ideas? Any debugging info I can provide?
Original issue reported on code.google.com by [email protected]
on 24 Apr 2013 at 12:14
I have a Pluscom device reported by lsusb in this way:
<<
Bus 001 Device 009: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) (no firmware) [SMI-2021CBE]
>>
I followed the instruction reported for other device but I found a difference:
it uses "SmiUsbGrabber3F.sys" as firmware.
Is it possible to adapt this project to work with this device too?
If it's possibile and I can do something for you, contact me.
Thanks.
Original issue reported on code.google.com by [email protected]
on 10 Nov 2012 at 10:07
GettingStarted uses twice "libgrypt11", should be "libgcrypt11".
Original issue reported on code.google.com by aapo.rantalainen
on 26 Jun 2012 at 12:48
What steps will reproduce the problem?
1. Plug in a ezcap Ver36.1 (label on the box)
2. lsusb has a line:
Bus 002 Device 007: ID 1c88:003d Somagic, Inc.
3. Install prerequisites and the amd64 .deb of somagic-easycap and
somagic-easycap-tools, and follow instructions to extract firmware
4. run somagic-init
5. get error: USB device 1c88:0007 was not found. Is the device attached?
Original issue reported on code.google.com by foobarbecue
on 14 Aug 2012 at 10:56
Hi I want to use the easycap-somagic Stick with an ARM v7 Device and I do not
know much about cross compiling, the only I have done so far was cross
compiling a Linux Kernel for Android.
Is it possible to cross compile the same way but for ARM?
Original issue reported on code.google.com by [email protected]
on 3 Nov 2012 at 2:08
Hi all.
Fist my compliments for all your wonderful work!
I've a EasyCap-002 4 Video Composite input connected to a Linux Fedora 16 64
bit distro, with 3.1.7 kernel
[root@vitohost kernel]# uname -a
Linux vitohost 3.1.7 #1 SMP Mon Jan 16 13:15:31 CET 2012 x86_64 x86_64 x86_64
GNU/Linux
Without compiling(installing any drivers this is kernel log and lsusb output
when i attach the device:
---
[28414.021049] usb 1-3: new high speed USB device number 3 using ehci_hcd
[28414.135897] usb 1-3: New USB device found, idVendor=1c88, idProduct=0007
[28414.135904] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[28414.135909] usb 1-3: Product: SM-USB 007
[28414.135913] usb 1-3: Manufacturer: Somagic, Inc.
[28414.135917] usb 1-3: SerialNumber: SMBL007
[root@vitohost ~]# lsusb
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 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 002 Device 002: ID 0461:4d2e Primax Electronics, Ltd Optical Mobile Mouse
(HID)
Bus 001 Device 003: ID 1c88:0007 Somagic, Inc.
---
I've downloaded the last git easycap-somagic-linux source version.
After, i've compiled and installed the easycap kernel diver without any problem.
I've extracted and installed firmware from
SmiUsbGrabber3E/xp/SmiUsbGrabber3E.sys without any problem, whit
somagic-extract-firmware tool.
When i attach the usb device this is the kernel messages:
---
[29694.284044] usb 1-3: new high speed USB device number 6 using ehci_hcd
[29694.398923] usb 1-3: New USB device found, idVendor=1c88, idProduct=0007
[29694.398930] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[29694.398935] usb 1-3: Product: SM-USB 007
[29694.398939] usb 1-3: Manufacturer: Somagic, Inc.
[29694.398943] usb 1-3: SerialNumber: SMBL007
mtp-probe: checking bus 1, device 6:
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
mtp-probe: bus: 1, device: 6 was not an MTP device
[29694.539021] Somagic-Easycap version: 0.1
[29694.539059] somagic_usb_probe: Probing for 1c88:0007
[29694.558967] usb 1-3: USB disconnect, device number 6
[29694.559443] usbcore: registered new interface driver somagic_easycap
[29694.792039] usb 1-3: new high speed USB device number 7 using ehci_hcd
[29694.906923] usb 1-3: New USB device found, idVendor=1c88, idProduct=003e
[29694.906930] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[29694.906935] usb 1-3: Product: SMI Grabber Dev
[29694.906939] usb 1-3: Manufacturer: Somagic, Inc.
[29694.906943] usb 1-3: SerialNumber: SMIVIDEO3E9876543210
mtp-probe: checking bus 1, device 7:
"/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
mtp-probe: bus: 1, device: 7 was not an MTP device
---
There is no device /dev/videox created.
Now i've changed easycap-somagic-linux/kernel/somagic.h whit this:
//#define SOMAGIC_USB_PRODUCT_ID 0x003c
#define SOMAGIC_USB_PRODUCT_ID 0x003e
After loaded the kernel module now i see:
---
[33731.697050] usb 1-4: new high speed USB device number 22 using ehci_hcd
[33731.811886] usb 1-4: New USB device found, idVendor=1c88, idProduct=0007
[33731.811893] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[33731.811898] usb 1-4: Product: SM-USB 007
[33731.811902] usb 1-4: Manufacturer: Somagic, Inc.
[33731.811905] usb 1-4: SerialNumber: SMBL007
[33731.973709] Linux media interface: v0.10
[33732.001611] Linux video capture interface: v2.00
[33732.005997] Somagic-Easycap version: 0.1
[33732.006246] somagic_usb_probe: Probing for 1c88:0007
[33732.006250] somagic_usb_probe: Uploading FW,Pid:0007
[33732.025023] usbcore: registered new interface driver somagic_easycap
[33732.026174] usb 1-4: USB disconnect, device number 22
[33732.259045] usb 1-4: new high speed USB device number 23 using ehci_hcd
[33732.373886] usb 1-4: New USB device found, idVendor=1c88, idProduct=003e
[33732.373893] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[33732.373898] usb 1-4: Product: SMI Grabber Dev
[33732.373902] usb 1-4: Manufacturer: Somagic, Inc.
[33732.373906] usb 1-4: SerialNumber: SMIVIDEO3E9876543210
[33732.374349] somagic_usb_probe: Probing for 1c88:003e
[33732.374354] somagic_usb_probe: valid Somagic-Easycap device. Now we setup
the driver!
[33732.374514] somagic:somagic_dev_init_video:: First Ctrl msg returned 2
bytes: 01 03
[33732.374519] somagic::somagic_dev_init_video: Setup PAL!
[33732.395630] somagic:somagic_dev_init_video:: SAA7113 Setup sent!
[33732.395851] Somagic[0]: registered Somagic Video device video0 [v4l2]
---
Now When i use vlc for capturing the program wait indefinitelly
vlc -vvv "v4l2:///dev/video0"
whith this cutted output:
---
[0x7fb598001300] v4l2 demux debug: Found maximum framerate of -1.000000
[0x7fb598001300] v4l2 demux warning: Could not find optimal width and height,
falling back to driver default.
[0x7fb598001300] v4l2 demux debug: Driver requires at most 829440 bytes to
store a complete image
[0x7fb598001300] v4l2 demux debug: Interlacing setting: interleaved (bottom top
if M/NTSC, top bottom otherwise)
[0x7fb598001300] v4l2 demux debug: added new video es UYVY 720x576
[0x7fb5a4000d10] main input debug: selecting program id=0
[0x7fb598001300] main demux debug: using access_demux module "v4l2"
[0x7fb598001300] main demux debug: TIMER module_need() : 9.521 ms - Total 9.521
ms / 1 intvls (Avg 9.521 ms)
[0x7fb598002350] main decoder debug: looking for decoder module: 26 candidates
[0x7fb598002350] rawvideo decoder warning: invalid frame rate 0/0, using 25 fps
instead
[0x7fb598002350] main decoder debug: using decoder module "rawvideo"
[0x7fb598002350] main decoder debug: TIMER module_need() : 9.930 ms - Total
9.930 ms / 1 intvls (Avg 9.930 ms)
[0x7fb598002350] main decoder debug: thread (decoder) created at priority 0
(input/decoder.c:301)
[0x7fb598002350] main decoder debug: thread started
[0x7fb598014710] main demux meta debug: looking for meta reader module: 1
candidate
[0x7fb598014710] lua demux meta debug: Trying Lua scripts in
/home/vito/.local/share/vlc/lua/meta/reader
[0x7fb598014710] lua demux meta debug: Trying Lua scripts in
/usr/lib/vlc/lua/meta/reader
[0x7fb598014710] lua demux meta debug: Trying Lua playlist script
/usr/lib/vlc/lua/meta/reader/filename.luac
[0x7fb598014710] lua demux meta debug: Trying Lua scripts in
/usr/share/vlc/lua/meta/reader
[0x7fb598014710] main demux meta debug: no meta reader module matching "any"
could be loaded
[0x7fb598014710] main demux meta debug: TIMER module_need() : 2.141 ms - Total
2.141 ms / 1 intvls (Avg 2.141 ms)
[0x7fb5a4000d10] main input debug: `v4l2:///dev/video0' successfully opened
And in this point wait..............
Using userspace somagic_capture utility the situation is identically.
the cose is looped in this while loop, witouoit any output:
while (pending_requests > 0){
libusb_handle_events(NULL);
}
Can i do something?
Thanks in advance.
Best regards.
Vito.
Original issue reported on code.google.com by [email protected]
on 17 Mar 2012 at 4:28
Hello, today I received:
ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+ clone) (no firmware)
[SMI-2021CBE]
from dealextreme. Problem is that CD can't be read on my PC, and copy of
Setup.exe file from another PC gives error while instalation. I think data are
damaged, is there a way to get Setup.exe or whatever from any of you? Thanks.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2013 at 10:28
Hi,
I've a problem with this driver.
I installed latest version (1.1) on a ubuntu 13.04 64bit (kernel
3.8.0-19-generic).
Compiled the kernel modules and loaded.
But when I execute a "somagic-capture --test-only", I get this message:
Failed to claim device interface: Device or resource busy
Dmesg says:
[ 6041.113804] usb 1-6: new high-speed USB device number 5 using ehci-pci
[ 6041.689226] usb 1-6: device not accepting address 5, error -71
[ 6041.745415] hub 1-0:1.0: unable to enumerate USB device on port 6
[ 6042.200717] usb 3-6: new full-speed USB device number 5 using ohci_hcd
[ 6042.401180] usb 3-6: not running at top speed; connect to a high speed hub
[ 6042.419166] usb 3-6: New USB device found, idVendor=1c88, idProduct=0007
[ 6042.419178] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6042.419185] usb 3-6: Product: SM-USB 007
[ 6042.419191] usb 3-6: Manufacturer: Somagic, Inc.
[ 6042.419196] usb 3-6: SerialNumber: SMBL007
[ 6042.422260] usb 3-6: Looking for: smi2021_3c.bin
[ 6042.428357] usb 3-6: Looking for: smi2021_3e.bin
[ 6042.432855] usb 3-6: Looking for: smi2021_3f.bin
[ 6042.436204] usb 3-6: could not find any firmware for this device
[ 6338.168435] usb 3-6: USB disconnect, device number 5
[ 6338.515083] usb 1-6: new high-speed USB device number 7 using ehci-pci
[ 6338.647972] usb 1-6: New USB device found, idVendor=1c88, idProduct=003c
[ 6338.647983] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6338.647990] usb 1-6: Product: SMI Grabber DEV
[ 6338.647996] usb 1-6: Manufacturer: Somagic, Inc.
[ 6338.648002] usb 1-6: SerialNumber: SMIGRABBER9876543210
[ 6338.652241] saa7115 5-004a: saa7113 found (8f7113000000000) @ 0x94 (smi2021)
[ 6338.677836] smi2021::smi2021_usb_probe: Driver version 0.1 successfully
loaded
[ 6338.685359] smi2021 1-6:1.0: V4L2 device registered as video1
[ 6338.702502] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.702568] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.702631] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.702666] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.702731] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.702783] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.702861] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.702988] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.703153] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.705188] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.705265] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.705306] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.705363] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.705395] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.705457] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.705505] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.705568] smi2021::smi2021_pcm_open: PCM device open!
[ 6338.705690] smi2021::smi2021_pcm_close: PCM device closing
[ 6338.707567] smi2021::smi2021_pcm_open: PCM device open!
Any help?
Thanks a lot.
Original issue reported on code.google.com by [email protected]
on 28 Apr 2013 at 9:55
Compiled easycap tools using the latest source code file. I'm on Ubuntu Natty
Narwhal. It all makes and installs fine, I can extract the firmware data to
/lib/firmware/somagic_firmware.bin as per the instructions, but when I run
somagic-init I get the message
"Firmware file '/lib/firmware/somagic_firmware.bin' was not recognized"
Has anyone else have or had this prob;em and found a way to resolve it? I've
gone through the whole installation procedure several times, checked
permissions on the firmware file and still the same.
Original issue reported on code.google.com by [email protected]
on 29 Dec 2012 at 3:23
Hello and than a lot for the job and the help you provide for end-users,
I'm using debian wheezy.
I have dowloaded somagic-easycap-tools_1.0_amd64.deb and
sosomagic-easycap_1.0_amd64.deb and i have installed them with dpkg -i without
problems.
I haven't used the 1.1 version cause some dependencies aren't satisfied.
Here the result when i plug the usb device :
root@Wheezy:~# lsusb
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
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) (no firmware) [SMI-2021CBE]
Bus 002 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines
E730, Acer sub-brand)
root@Wheezy:~# somagic-init
root@Wheezy:~# lsusb
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
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 1c88:003c Somagic, Inc. SMI Grabber (EasyCAP DC60+
clone) [SMI-2021CBE]
Bus 002 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines
E730, Acer sub-brand)
I have extracted the SmiUsbGrabber3C.sys firmware from the CD:
ls -l /lib/firmware/
-rw-r--r-- 1 root root 7502 mai 18 13:58 somagic_firmware.bin
It seem to work fine but i can't capture at all.
Here the result of :
root@Wheezy:~# somagic-capture --secam | mplayer -vf yadif,screenshot -demuxer
rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
MPlayer 1.1-4.7 (C) 2000-2012 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 ./
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
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]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.23.100 (internal)
Selected video codec: [ffrawuyvy] vfm: ffmpeg (RAW UYVY)
==========================================================================
Audio: no sound
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
Thank for help.
[email protected]
Original issue reported on code.google.com by [email protected]
on 18 May 2013 at 12:17
hi ,
im using Somagic D60 device, for video output its working fine.
but there is no sound.
im attaching the command:
somagic-capture | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo
"pal:format=uyvy:fps=25" -aspect 4:3 - -ao pulse
video is ok but no sound...
im having somagic-easycap_1.1.tar file.
I've extracted this tar file. i found somagic-audio-capture.c please anyone
help me for compiling it.
Regards
Rohit
Original issue reported on code.google.com by [email protected]
on 11 Dec 2013 at 3:21
Hi,
I have managed to initialize the device but once it comes to compiling and
installing the kernel modules I get the following errors. Could anybody help
shed some light on this? I am running Ubuntu Server 12.10. Thanks
When I run sudo make I get
ake -C /lib/modules/3.5.0-22-generic/build M=/home/thomas/easycap/easycap-soma$
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-22-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-22-generic'
Which I presume is just fine, then when I run sudo insmod somagic.ko I get
insmod: error inserting 'somagic.ko': -1 Invalid parameters
and dmesg shows
[570969.285935] somagic: disagrees about version of symbol video_devdata
[570969.285940] somagic: Unknown symbol video_devdata (err -22)
[570969.285969] somagic: disagrees about version of symbol video_unregister_dev$
[570969.285971] somagic: Unknown symbol video_unregister_device (err -22)
[570969.285982] somagic: disagrees about version of symbol video_device_alloc
[570969.285984] somagic: Unknown symbol video_device_alloc (err -22)
[570969.285989] somagic: disagrees about version of symbol v4l2_device_disconne$
[570969.285991] somagic: Unknown symbol v4l2_device_disconnect (err -22)
[570969.285996] somagic: disagrees about version of symbol v4l2_device_register
[570969.285998] somagic: Unknown symbol v4l2_device_register (err -22)
[570969.286010] somagic: disagrees about version of symbol __video_register_dev$
[570969.286012] somagic: Unknown symbol __video_register_device (err -22)
[570969.286018] somagic: disagrees about version of symbol v4l2_device_unregist$
[570969.286020] somagic: Unknown symbol v4l2_device_unregister (err -22)
[570969.286023] somagic: disagrees about version of symbol video_device_release
[570969.286025] somagic: Unknown symbol video_device_release (err -22)
I've Googled it and tried "sudo modprobe videodev" before insmod but it doesn't
work. Any help would be greatly appreciated.
Original issue reported on code.google.com by [email protected]
on 30 Jan 2013 at 11:42
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.