g36054 / easycap-somagic-linux

Automatically exported from code.google.com/p/easycap-somagic-linux
0 stars 0 forks source link

Instalation steps... #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 Ghost.In...@gmail.com on 6 Feb 2015 at 4:13

GoogleCodeExporter commented 9 years ago
Ey, this is the var/log

sudo tail -f /var/log/syslog
[sudo] password for kudomarkos: 
Feb  6 19:02:33 kudomarkos wpa_supplicant[753]: message repeated 66 times: [ 
wlan0: CTRL-EVENT-SCAN-STARTED ]
Feb  6 19:02:36 kudomarkos wpa_supplicant[753]: nl80211: 
send_and_recv->nl_recvmsgs failed: -33
Feb  6 19:04:33 kudomarkos wpa_supplicant[753]: wlan0: CTRL-EVENT-SCAN-STARTED 
Feb  6 19:06:33 kudomarkos wpa_supplicant[753]: wlan0: CTRL-EVENT-SCAN-STARTED 
Feb  6 19:06:35 kudomarkos wpa_supplicant[753]: nl80211: 
send_and_recv->nl_recvmsgs failed: -33
Feb  6 19:08:33 kudomarkos wpa_supplicant[753]: wlan0: CTRL-EVENT-SCAN-STARTED 
Feb  6 19:12:40 kudomarkos kernel: [ 8383.205580] usbcore: registered new 
interface driver stk1160
Feb  6 19:15:05 kudomarkos somagic-init: Libgcrypt warning: missing 
initialization - please fix the application
Feb  6 19:17:01 kudomarkos CRON[3780]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)
Feb  6 19:23:41 kudomarkos kernel: [ 9044.292742] usb 2-3: USB disconnect, 
device number 6
Feb  6 19:24:15 kudomarkos kernel: [ 9078.300052] usb 2-3: new high-speed USB 
device number 7 using ehci-pci
Feb  6 19:24:15 kudomarkos kernel: [ 9078.432812] usb 2-3: New USB device 
found, idVendor=1c88, idProduct=0007
Feb  6 19:24:15 kudomarkos kernel: [ 9078.432817] usb 2-3: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Feb  6 19:24:15 kudomarkos kernel: [ 9078.432820] usb 2-3: Product: SM-USB 007
Feb  6 19:24:15 kudomarkos kernel: [ 9078.432822] usb 2-3: Manufacturer: 
Somagic, Inc.
Feb  6 19:24:15 kudomarkos kernel: [ 9078.432825] usb 2-3: SerialNumber: SMBL007
Feb  6 19:24:15 kudomarkos mtp-probe: checking bus 2, device 7: 
"/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3"
Feb  6 19:24:15 kudomarkos mtp-probe: bus: 2, device: 7 was not an MTP device

---------- and now "sudo somagic-init" in another terminal--------- 

Feb  6 19:27:56 kudomarkos somagic-init: Libgcrypt warning: missing 
initialization - please fix the application
Feb  6 19:28:03 kudomarkos somagic-init: Libgcrypt warning: missing 
initialization - please fix the application
Feb  6 19:28:03 kudomarkos kernel: [ 9306.408407] usb 2-3: USB disconnect, 
device number 7
Feb  6 19:28:04 kudomarkos kernel: [ 9306.684118] usb 2-3: new high-speed USB 
device number 8 using ehci-pci
Feb  6 19:28:04 kudomarkos kernel: [ 9306.816925] usb 2-3: New USB device 
found, idVendor=1c88, idProduct=003c
Feb  6 19:28:04 kudomarkos kernel: [ 9306.816930] usb 2-3: New USB device 
strings: Mfr=1, Product=2, SerialNumber=3
Feb  6 19:28:04 kudomarkos kernel: [ 9306.816933] usb 2-3: Product: SMI Grabber 
DEV 
Feb  6 19:28:04 kudomarkos kernel: [ 9306.816935] usb 2-3: Manufacturer:  
Somagic, Inc.  
Feb  6 19:28:04 kudomarkos kernel: [ 9306.816938] usb 2-3: SerialNumber: 
SMIGRABBER9876543210
Feb  6 19:28:04 kudomarkos mtp-probe: checking bus 2, device 8: 
"/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3"
Feb  6 19:28:04 kudomarkos mtp-probe: bus: 2, device: 8 was not an MTP device

Original comment by Ghost.In...@gmail.com on 6 Feb 2015 at 6:34

GoogleCodeExporter commented 9 years ago
hi, it is working as designed.

the code is basically two parts, kernel code and user code.

if you want it to show up in /dev/video1 compile the kernel module.

In the user code I run:
#somagic-init
that uploads the firmware (like you did above)
#somagic-capture | mplayer -vf yadif,screenshot -demuxer rawvideo -rawvideo 
"pal:format=uyvy:fps=25" -aspect 4:3 -
displays the capture. You can use vlc or ffmpeg to write it to file etc

Original comment by md.ve...@gmail.com on 8 Feb 2015 at 5:41