Android OS Forum banner

[KERNEL MODULE] CM 10.1 Easycap Module

200K views 479 replies 53 participants last post by  mihalace  
#1 · (Edited by Moderator)
I have built an Easycap module for CM10.1 on the N7. This module should allow anyone to connect an Easycap and with the correct software, view video from the easycap. This is only for the Syntek EasyCAP (USB ID 05e1:0408) and no others.

This will only work on kernel version 3.1.10-gfcf72bf-dirty. You can check your kernel version under Settings --> About Tablet --> Kernel Version

To install, copy the easycap.ko to /data/local and then install the module by running

Once the module is installed and the device is plugged in, there should be a /dev/video* (where * can be a 0, 1, 2, 3, 4 or 5)
Depending on how you access /dev/video* you may need to chmod 0666 /dev/video* to allow access.

EDIT: Please see Rage2 post on page 9. I have not tested his release yet but once I can confirm, I will update the main post. Big thanks to Rage2!

EDIT2: Newest update from DmitrySmol and Adman. Ill try to keep the main post updated with links and news.

http://rootzwiki.com/topic/39717-kernel-module-cm-101-easycap-module/page-13#entry1437778

New version of CarCam out. See http://rootzwiki.com/topic/39717-kernel-module-cm-101-easycap-module/page-15#entry1443034

Thanks Adman and DmitrySmol!
 
#2 ·
dcplaya,

Same result here. Insmod worked with your module. Prior versions gave me the "Exec format error." Running Timur ROM on talapia. Have the correct Syntek video capture device.

Sorry I cannot be more help other than to second your result...no /dev/video*.

I also have a webcam. This worked fine. Got /dev/video0 when plugged in to USB hub. Had to chmod 666 and set proper video settings (carcam_api9.apk) and it works.

Clearly you are very close! Let me know if I can do anything else to help. Once this works I am ready to install!

c,
 
#3 · (Edited by Moderator)
The Easycap is working fine, but sometimes i get only a black screen (/dev/video0) is available and the permissions are corret.
i think there is a problem with the driver... when i listen online music with tunein there is no problemes, but when i start the carcam with easycap than the musik is lagging.
when i close the carcam app, the lagging problem still exist until i restart my tablet.
maybe the driver closes the videostream not correctly?
i checkt the CPU / RAM usage, when my music an tablet ar lagging but usages are okay.

a other question is, i used the easycap.ko from USBROM (build 20130302) than i took a hex editor and changed the version to the newest (current release).
the original easycap from USBROM is only 80KB in size and the easycap.ko in this thread have 900kb... it looks strange... maybe some other problem?

here is my kernel log, first the easycap works fine but than the devices shows only black screen.
Code:
<br />
<7>[ 2590.697759] [URL=easycap:]easycap:[/URL]: easycap_open: ==========OPEN=========<br />
<7>[ 2592.186997] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2592.546942] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2592.547237] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2592.547418] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 NTSC_M_AT_640x480_FMT_UYVY-i<br />
<7>[ 2592.577410] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2592.607065] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2592.609140] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2592.640700] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 2592.643915] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2592.644044] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: requested standard already in effect<br />
<7>[ 2592.644122] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2592.644245] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2592.644329] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 NTSC_M_AT_640x480_FMT_UYVY-i<br />
<7>[ 2592.704103] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: easycap driver shutting down on condition green<br />
<7>[ 2594.117501] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2594.506125] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2594.506195] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2594.506322] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 NTSC_M_AT_640x480_FMT_UYVY-i<br />
<7>[ 2594.536014] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2594.567847] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2594.596049] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2594.626338] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 2594.655964] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: easycap driver shutting down on condition green<br />
<7>[ 2595.897426] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2596.266598] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2596.267004] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2596.267254] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 NTSC_M_AT_640x480_FMT_UYVY-i<br />
<7>[ 2596.296103] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2596.326027] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2596.356021] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2596.386067] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<4>[ 2603.737350] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 2612.048170] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2621.507093] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2627.950323] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2636.564120] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 2647.893226] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2654.173173] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<4>[ 2659.560072] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<4>[ 2665.503079] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 2670.890286] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2676.927307] snd_pcm_update_hw_ptr0: 9 callbacks suppressed<br />
<4>[ 2682.104258] snd_pcm_update_hw_ptr0: 9 callbacks suppressed<br />
<4>[ 2690.218292] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2696.707441] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 2702.756175] snd_pcm_update_hw_ptr0: 10 callbacks suppressed<br />
<4>[ 2710.267091] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 2718.906082] snd_pcm_update_hw_ptr0: 7 callbacks suppressed<br />
<4>[ 2725.511158] snd_pcm_update_hw_ptr0: 15 callbacks suppressed<br />
<4>[ 2739.314190] snd_pcm_update_hw_ptr0: 10 callbacks suppressed<br />
<4>[ 2751.157107] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<4>[ 2756.222285] snd_pcm_update_hw_ptr0: 13 callbacks suppressed<br />
<7>[ 2758.224595] [URL=easycap:]easycap:[/URL]: easycap_open: ==========OPEN=========<br />
<7>[ 2759.687427] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2760.046298] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2760.046468] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2760.046754] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 NTSC_M_AT_640x480_FMT_UYVY-i<br />
<7>[ 2760.076494] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2760.106571] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2760.135893] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2760.166249] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 2760.172157] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2760.172383] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: requested standard already in effect<br />
<7>[ 2760.172791] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x576,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2760.173173] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2760.173965] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: cannot do: 720x576 with standard mask 0x01<br />
<7>[ 2760.174364] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x480 NTSC_M_AT_720x480_FMT_UYVY-i<br />
<4>[ 2762.656396] snd_pcm_update_hw_ptr0: 14 callbacks suppressed<br />
<4>[ 2769.308071] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2779.246149] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<4>[ 2785.956176] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2806.433761] snd_pcm_update_hw_ptr0: 17 callbacks suppressed<br />
<4>[ 2812.852172] snd_pcm_update_hw_ptr0: 9 callbacks suppressed<br />
<4>[ 2819.920188] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<4>[ 2826.468152] snd_pcm_update_hw_ptr0: 8 callbacks suppressed<br />
<4>[ 2838.517140] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2844.415128] snd_pcm_update_hw_ptr0: 11 callbacks suppressed<br />
<4>[ 2850.017274] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2859.123290] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2866.007562] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 2874.013158] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 2881.362284] snd_pcm_update_hw_ptr0: 9 callbacks suppressed<br />
<4>[ 2889.628313] snd_pcm_update_hw_ptr0: 7 callbacks suppressed<br />
<4>[ 2895.223374] snd_pcm_update_hw_ptr0: 17 callbacks suppressed<br />
<4>[ 2901.120059] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 2911.719175] snd_pcm_update_hw_ptr0: 8 callbacks suppressed<br />
<4>[ 2917.937225] snd_pcm_update_hw_ptr0: 9 callbacks suppressed<br />
<7>[ 2919.882619] [URL=easycap:]easycap:[/URL]: easycap_open: ==========OPEN=========<br />
<7>[ 2921.127262] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2921.486457] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2921.486864] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2921.487123] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x480 NTSC_M_AT_720x480_FMT_UYVY-i<br />
<7>[ 2921.515876] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2921.546292] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2921.548049] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2921.551606] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 2921.558484] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<7>[ 2921.939846] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x576,UYVY(0x59565955),4=field,0x00=std mask<br />
<7>[ 2921.940261] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2921.940479] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x576 PAL_BGHIN_AT_720x576_FMT_UYVY-i<br />
<7>[ 2922.010125] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: easycap driver shutting down on condition green<br />
<7>[ 2923.367447] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<7>[ 2923.756311] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x576,UYVY(0x59565955),4=field,0x00=std mask<br />
<7>[ 2923.756647] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2923.756832] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x576 PAL_BGHIN_AT_720x576_FMT_UYVY-i<br />
<7>[ 2923.786033] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2923.815969] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2923.846104] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2923.876011] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<4>[ 2924.162343] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 2930.222322] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 2942.052319] snd_pcm_update_hw_ptr0: 8 callbacks suppressed<br />
<7>[ 2953.806466] [URL=easycap::0easycap_dqbuf]easycap::0easycap_dqbuf[/URL]: aborted by signal<br />
<4>[ 2954.465923] al3010 debug log : light sensor chip is resumed<br />
<4>[ 2955.835215] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<6>[ 2961.166332] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 2961.166529] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 2961.172210] L2<br />
<6>[ 2961.268169] CP L2->L0<br />
<6>[ 2961.269323] L0<br />
<6>[ 2965.995995] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 2965.996893] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 2966.004764] L2<br />
<6>[ 2967.606389] CP L2->L0<br />
<6>[ 2967.608431] L0<br />
<6>[ 2969.995963] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 2969.996588] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 2970.002720] L2<br />
<6>[ 2970.301739] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 2970.314740] AP L2->L0<br />
<6>[ 2970.332531] L0<br />
<4>[ 2974.287276] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<7>[ 2981.132601] [URL=easycap:]easycap:[/URL]: easycap_open: ==========OPEN=========<br />
<7>[ 2984.347304] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<7>[ 2984.736324] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x576,UYVY(0x59565955),4=field,0x00=std mask<br />
<7>[ 2984.736567] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2984.736949] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x576 PAL_BGHIN_AT_720x576_FMT_UYVY-i<br />
<7>[ 2984.765933] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 2984.796138] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 2984.825895] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 2984.856135] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 2984.866245] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: NTSC_M<br />
<7>[ 2985.179779] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    720x480,UYVY(0x59565955),4=field,0x01=std mask<br />
<7>[ 2985.180186] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_INTERLACED<br />
<7>[ 2985.180605] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 720x480 NTSC_M_AT_720x480_FMT_UYVY-i<br />
<4>[ 2987.866385] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 2993.916353] snd_pcm_update_hw_ptr0: 2 callbacks suppressed<br />
<4>[ 2999.550237] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 3005.946194] snd_pcm_update_hw_ptr0: 8 callbacks suppressed<br />
<4>[ 3015.002274] snd_pcm_update_hw_ptr0: 1 callbacks suppressed<br />
<4>[ 3028.191201] snd_pcm_update_hw_ptr0: 5 callbacks suppressed<br />
<4>[ 3035.412203] snd_pcm_update_hw_ptr0: 15 callbacks suppressed<br />
<4>[ 3067.850116] snd_pcm_update_hw_ptr0: 14 callbacks suppressed<br />
<4>[ 3073.702185] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 3096.016306] snd_pcm_update_hw_ptr0: 6 callbacks suppressed<br />
<4>[ 3101.914162] snd_pcm_update_hw_ptr0: 4 callbacks suppressed<br />
<4>[ 3106.978724] al3010 debug log : light sensor chip is resumed<br />
<4>[ 3108.403288] snd_pcm_update_hw_ptr0: 3 callbacks suppressed<br />
<6>[ 3111.616411] usb 1-1: USB disconnect, device number 2<br />
<6>[ 3111.616603] usb 1-1.1: USB disconnect, device number 3<br />
<6>[ 3111.617987] usb 1-1.3: USB disconnect, device number 4<br />
<6>[ 3111.618130] usb 1-1.3.3: USB disconnect, device number 5<br />
<4>[ 3111.631605] irq_work()<br />
<7>[ 3111.715886] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716037] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716236] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716372] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716596] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716734] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.716928] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717069] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717258] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717394] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717588] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717724] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.717917] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.718083] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.718313] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.718447] [URL=easycap::0easycap_complete]easycap::0easycap_complete[/URL]: [URL=unknown:-19]unknown:-19[/URL] ENOMEM<br />
<7>[ 3111.722281] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video urbs    after all deletions<br />
<7>[ 3111.722371] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video pages   after all deletions<br />
<7>[ 3111.722527] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video structs after all deletions<br />
<7>[ 3111.722673] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video devices after all deletions<br />
<7>[ 3111.722749] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio urbs    after all deletions<br />
<7>[ 3111.722897] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio pages   after all deletions<br />
<7>[ 3111.723045] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio structs after all deletions<br />
<7>[ 3111.723133] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio devices after all deletions<br />
<4>[ 3112.215853] inok_isr_work_function hostmode=1 usbhost_external_power=1 usbhost_charge_slave_devices=0<br />
<4>[ 3112.216487] inok_isr_work_function fixed_install stop host-mode, don't chargeSlaves, don't stopChargeSlaves<br />
<4>[ 3112.216753] smb347_configure_otg otg=0 chargeSlaves=0 stopSlaves=0 lastOtg=1<br />
<4>[ 3112.217170] smb347_configure_otg disable host mode<br />
<4>[ 3112.217972] inok_isr_work_function fixed_install make external power detectable<br />
<4>[ 3112.219267] inok_isr_work_function fixed_install make host aware it is now discharging<br />
<6>[ 3112.219432] cable_type_detect()<br />
<6>[ 3112.219522] INOK=H no power<br />
<4>[ 3112.219682] ========================================================<br />
<4>[ 3112.219769] battery_callback  usb_cable_state = 0<br />
<4>[ 3112.219854] ========================================================<br />
<4>[ 3112.220011] battery_callback cable_wake_lock 5 sec...<br />
<4>[ 3112.220016] <br />
<6>[ 3112.220542] elan-ktf3k 1-0010: Update power source to 0<br />
<4>[ 3112.220904] inok_isr_work_function make external power detectable1<br />
<4>[ 3112.224269] inok_isr_work_function done hostmode=0 usbhost_external_power=0 usbhost_charge_slave_devices=0<br />
<6>[ 3114.919716] Wake7 for irq=390<br />
<6>[ 3114.919836] Disabling wake7<br />
<3>[ 3118.542706] init: untracked pid 14047 exited<br />
<3>[ 3119.380996] init: untracked pid 14105 exited<br />
<6>[ 3121.086349] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3121.086828] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3121.093044] L2<br />
<6>[ 3123.834700] CP L2->L0<br />
<6>[ 3123.866617] L0<br />
<6>[ 3126.996477] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3126.996937] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3127.002331] L2<br />
<4>[ 3130.388975] #### ehci-tegra tegra_usb_resume with smb347_deep_sleep=0 usbhost_charging_state=0: default<br />
<4>[ 3130.389132] irq_work()<br />
<6>[ 3130.665809] usb 1-1: new high speed USB device number 6 using tegra-ehci<br />
<6>[ 3130.697645] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608<br />
<6>[ 3130.697765] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0<br />
<6>[ 3130.697826] usb 1-1: Product: USB2.0 Hub<br />
<6>[ 3130.698643] hub 1-1:1.0: USB hub found<br />
<6>[ 3130.699006] hub 1-1:1.0: 4 ports detected<br />
<4>[ 3130.975771] inok_isr_work_function hostmode=0 usbhost_external_power=0 usbhost_charge_slave_devices=0<br />
<6>[ 3130.975890] cable_type_detect()<br />
<6>[ 3130.975951] INOK=L<br />
<6>[ 3130.976458] usb 1-1.1: new high speed USB device number 7 using tegra-ehci<br />
<5>[ 3130.976570] smb347_charger: [cable_type_detect] Reg39 : 0x10<br />
<5>[ 3130.977061] smb347_charger: [cable_type_detect] Reg3F : 0x83<br />
<5>[ 3130.977135] smb347_charger: [cable_type_detect] USB_IN<br />
<5>[ 3130.977452] smb347_charger: [cable_type_detect] Reg3E : 0x0e<br />
<6>[ 3130.977524] Cable: host mode charging ac<br />
<4>[ 3130.977594] ========================================================<br />
<4>[ 3130.977721] battery_callback  usb_cable_state = 3<br />
<4>[ 3130.977791] ========================================================<br />
<4>[ 3130.977919] battery_callback cable_wake_lock 5 sec...<br />
<4>[ 3130.977922] <br />
<6>[ 3130.978182] elan-ktf3k 1-0010: Update power source to 1<br />
<4>[ 3130.978654] inok_isr_work_function external power available, start host mode<br />
<4>[ 3130.978792] smb347_configure_otg otg=1 chargeSlaves=0 stopSlaves=0 lastOtg=0<br />
<4>[ 3130.979190] smb347_configure_otg enable host mode<br />
<4>[ 3130.979960] inok_isr_work_function external power available hostmode=1<br />
<6>[ 3131.022793] usb 1-1.1: New USB device found, idVendor=0ccd, idProduct=00e0<br />
<6>[ 3131.022913] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
<6>[ 3131.022975] usb 1-1.1: Product: RTL2832U<br />
<6>[ 3131.023083] usb 1-1.1: Manufacturer: Realtek<br />
<6>[ 3131.023142] usb 1-1.1: SerialNumber: 00000001<br />
<6>[ 3131.106214] usb 1-1.3: new high speed USB device number 8 using tegra-ehci<br />
<6>[ 3131.138019] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608<br />
<6>[ 3131.138141] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0<br />
<6>[ 3131.138205] usb 1-1.3: Product: USB2.0 Hub<br />
<6>[ 3131.139019] hub 1-1.3:1.0: USB hub found<br />
<6>[ 3131.139383] hub 1-1.3:1.0: 4 ports detected<br />
<6>[ 3131.416275] usb 1-1.3.3: new high speed USB device number 9 using tegra-ehci<br />
<6>[ 3131.446766] usb 1-1.3.3: New USB device found, idVendor=05e1, idProduct=0408<br />
<6>[ 3131.446842] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
<6>[ 3131.446964] usb 1-1.3.3: Product: USB 2.0 Video Capture Controller<br />
<6>[ 3131.447029] usb 1-1.3.3: Manufacturer: Syntek Semiconductor<br />
<6>[ 3132.132476] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3132.166439] AP L2->L0<br />
<6>[ 3132.176464] L0<br />
<6>[ 3132.201567] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<7>[ 3135.067260] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<7>[ 3135.396928] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),1=field,0x00=std mask<br />
<7>[ 3135.397301] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_NONE<br />
<7>[ 3135.397917] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 PAL_BGHIN_AT_640x480_FMT_UYVY-n<br />
<7>[ 3135.401828] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 3135.426364] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 3135.428058] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 3135.455918] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 3135.457729] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: registered with videodev: 0=minor<br />
<7>[ 3135.457832] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: ends successfully for interface 0<br />
<4>[ 3135.458651] ##### sound/usb/card.c REGISTER tv_sec=3135 ++++++++++++++++++++++++<br />
<4>[ 3135.459363] ##### endpoint.c snd_usb_add_audio_endpoint SUCCESS 'USB Audio'<br />
<4>[ 3135.459803] ##### clock.c set_sample_rate dev=9 iface=2 altset=1 ep=0x84 rate=48000<br />
<6>[ 3135.995989] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3135.996461] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3136.001963] L2<br />
<6>[ 3137.137114] AP L2->L0<br />
<6>[ 3137.138299] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3137.159908] L0<br />
<6>[ 3142.996337] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3142.997720] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3143.005388] L2<br />
<6>[ 3145.218825] CP L2->L0<br />
<6>[ 3145.256512] L0<br />
<6>[ 3148.006145] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3148.006421] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3148.012315] L2<br />
<6>[ 3184.412610] usb 1-1.3.3: USB disconnect, device number 9<br />
<7>[ 3184.427999] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video urbs    after all deletions<br />
<7>[ 3184.428164] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video pages   after all deletions<br />
<7>[ 3184.428430] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video structs after all deletions<br />
<7>[ 3184.428694] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video devices after all deletions<br />
<7>[ 3184.428841] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio urbs    after all deletions<br />
<7>[ 3184.429105] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio pages   after all deletions<br />
<7>[ 3184.429372] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio structs after all deletions<br />
<7>[ 3184.429519] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio devices after all deletions<br />
<6>[ 3189.476445] usb 1-1.3.3: new high speed USB device number 10 using tegra-ehci<br />
<6>[ 3189.508404] usb 1-1.3.3: New USB device found, idVendor=05e1, idProduct=0408<br />
<6>[ 3189.508687] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
<6>[ 3189.508855] usb 1-1.3.3: Product: USB 2.0 Video Capture Controller<br />
<6>[ 3189.509126] usb 1-1.3.3: Manufacturer: Syntek Semiconductor<br />
<7>[ 3191.187298] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<4>[ 3191.195813] smb347_set_InputCurrentlimit 1800<br />
<4>[ 3191.196618] smb347_charger_enable 0<br />
<6>[ 3191.197442] [charger] Disable AICL, retval=93 setting=83<br />
<6>[ 3191.198201] [charger] set charger limit, limit=1800 retval =73 setting=76<br />
<6>[ 3191.198797] [charger] re-enable AICL, setting=93<br />
<4>[ 3191.226024] smb347_charger_enable 1<br />
<7>[ 3191.546320] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),1=field,0x00=std mask<br />
<7>[ 3191.546717] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_NONE<br />
<7>[ 3191.546944] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 PAL_BGHIN_AT_640x480_FMT_UYVY-n<br />
<7>[ 3191.576096] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 3191.606106] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 3191.636099] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 3191.666115] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 3191.669654] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: registered with videodev: 0=minor<br />
<7>[ 3191.670069] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: ends successfully for interface 0<br />
<4>[ 3191.672261] ##### sound/usb/card.c REGISTER tv_sec=3191 ++++++++++++++++++++++++<br />
<4>[ 3191.673846] ##### endpoint.c snd_usb_add_audio_endpoint SUCCESS 'USB Audio'<br />
<4>[ 3191.674327] ##### clock.c set_sample_rate dev=10 iface=2 altset=1 ep=0x84 rate=48000<br />
<3>[ 3258.452478] binder: release proc 3117, transaction 592931, not freed<br />
<6>[ 3306.761700] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3306.795948] AP L2->L0<br />
<6>[ 3306.808081] L0<br />
<6>[ 3308.995967] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3308.996213] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3309.001568] L2<br />
<6>[ 3311.766582] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3311.805869] AP L2->L0<br />
<6>[ 3311.824669] L0<br />
<6>[ 3317.046016] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3317.046186] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3317.051083] L2<br />
<6>[ 3319.867604] CP L2->L0<br />
<6>[ 3319.906552] L0<br />
<6>[ 3322.996168] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3322.996352] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3323.001471] L2<br />
<3>[ 3362.102124] init: untracked pid 15218 exited<br />
<3>[ 3362.102897] init: untracked pid 15223 exited<br />
<3>[ 3377.556639] init: untracked pid 15293 exited<br />
<3>[ 3377.571408] init: untracked pid 15298 exited<br />
<6>[ 3419.469400] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3419.505831] AP L2->L0<br />
<6>[ 3419.521441] L0<br />
<6>[ 3424.996119] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3424.996414] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3425.001970] L2<br />
<6>[ 3428.124306] usb 1-1.3.3: USB disconnect, device number 10<br />
<7>[ 3428.149622] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video urbs    after all deletions<br />
<7>[ 3428.149908] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video pages   after all deletions<br />
<7>[ 3428.150175] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video structs after all deletions<br />
<7>[ 3428.150322] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=video devices after all deletions<br />
<7>[ 3428.150586] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio urbs    after all deletions<br />
<7>[ 3428.150850] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio pages   after all deletions<br />
<7>[ 3428.150999] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio structs after all deletions<br />
<7>[ 3428.151265] [URL=easycap:]easycap:[/URL]: easycap_delete:	    0=audio devices after all deletions<br />
<6>[ 3433.196362] usb 1-1.3.3: new high speed USB device number 11 using tegra-ehci<br />
<6>[ 3433.227573] usb 1-1.3.3: New USB device found, idVendor=05e1, idProduct=0408<br />
<6>[ 3433.227975] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
<6>[ 3433.228188] usb 1-1.3.3: Product: USB 2.0 Video Capture Controller<br />
<6>[ 3433.228564] usb 1-1.3.3: Manufacturer: Syntek Semiconductor<br />
<7>[ 3435.298322] [URL=easycap::0adjust_standard]easycap::0adjust_standard[/URL]: selected standard: PAL_BGHIN<br />
<7>[ 3435.446157] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    640x480,UYVY(0x59565955),1=field,0x00=std mask<br />
<7>[ 3435.446455] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: sought:    V4L2_FIELD_NONE<br />
<7>[ 3435.446736] [URL=easycap::0adjust_format]easycap::0adjust_format[/URL]: actioning: 640x480 PAL_BGHIN_AT_640x480_FMT_UYVY-n<br />
<7>[ 3435.476221] [URL=easycap::0adjust_brightness]easycap::0adjust_brightness[/URL]: adjusting brightness to  0x7F<br />
<7>[ 3435.509839] [URL=easycap::0adjust_contrast]easycap::0adjust_contrast[/URL]: adjusting contrast to  0x3F<br />
<7>[ 3435.535907] [URL=easycap::0adjust_saturation]easycap::0adjust_saturation[/URL]: adjusting saturation to  0x2F<br />
<7>[ 3435.565899] [URL=easycap::0adjust_hue]easycap::0adjust_hue[/URL]: adjusting hue to  0x00<br />
<7>[ 3435.567447] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: registered with videodev: 0=minor<br />
<7>[ 3435.567511] [URL=easycap::0easycap_usb_probe]easycap::0easycap_usb_probe[/URL]: ends successfully for interface 0<br />
<4>[ 3435.568229] ##### sound/usb/card.c REGISTER tv_sec=3435 ++++++++++++++++++++++++<br />
<4>[ 3435.568670] ##### endpoint.c snd_usb_add_audio_endpoint SUCCESS 'USB Audio'<br />
<4>[ 3435.568878] ##### clock.c set_sample_rate dev=11 iface=2 altset=1 ep=0x84 rate=48000<br />
<3>[ 3438.881986] init: untracked pid 15500 exited<br />
<3>[ 3438.888330] init: untracked pid 15494 exited<br />
<3>[ 3439.407708] init: untracked pid 15530 exited<br />
<3>[ 3439.416567] init: untracked pid 15536 exited<br />
<3>[ 3439.978064] init: untracked pid 15567 exited<br />
<3>[ 3439.994481] init: untracked pid 15572 exited<br />
<6>[ 3506.767184] usb_net_raw_ip_tx_urb_work: usb->susp_count 1 > 0 (suspended)<br />
<6>[ 3506.805832] AP L2->L0<br />
<6>[ 3506.815966] L0<br />
<6>[ 3511.996013] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3511.996542] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3512.002565] L2<br />
<6>[ 3514.280031] CP L2->L0<br />
<6>[ 3514.316600] L0<br />
<6>[ 3517.006238] usb_net_raw_ip_rx_urb_comp: rx urb e3aeaf60 - status -2<br />
<6>[ 3517.006860] usb_net_raw_ip_rx_urb_comp: rx urb e3a3f1c0 - status -2<br />
<6>[ 3517.013817] L2<br />
 
#5 · (Edited by Moderator)
Im running a not released kernel/module and I am getting no lags at all. I am also setting permissions via my modified ramdisk which isnt very secure but it was the easiest to setup and test my module and the camera hardware.

@Dra4g0n
Are you running the latest USBROM with that module from an older ROM?

I have also added a memory leak patch I found online to my version of the un-released module
https://github.com/d...e90464efbd896ec

I haven't released it yet because I cannot get it to run on USBROM's kernel, and I havent had time to to keep working with possible fixes. And no one seems to be able to answer what is causing it from my log (shown in the first post)

This has slowed down a little bit, I just havent had the chance to do tests lately.
 
#7 ·
If you look at my first post all of the way, I am having issues with my module running under Timur's kernel. I am currently waiting for the next release of his rom before I try a new build of the kernel.
 
#16 ·
Hi dcplaya,

I'm trying easycap.ko but I get same error: "Exec format error"
I use kernel 3.1.10-gfcf72bf and easycap.ko in this post (file size is 105.336 bytes) I have tried also easycap.ko found on Timur's kernel post (file size of 98.796 bytes) without success.
Which is the situation? Easycap can work? Do you need help on development (i'm a firmware developer)? If yes, it could be interesting explain how to build module
Thank you in advance
 
#19 ·
@dcplaya

I was able to rebuild easycap.ko and insmod to work, but when I attach easycap, I get error message during _video_register_device in v4l2-dev.c, line 559. This is caused by vdev->release equal to NULL.
I've missed something? Do you have already encoutered this kind of problem?

Thank you and I hope to help you in development (can you also explain me what you mean with "But I have a feeling it will result in the same issue as before."?)
 
#20 ·
Ska77

That is (one) of the same issues I have encountered. Somehow v4l2 has been changed causing a variable to point to a null value which is a big no no.

What version did you compile Easycap for? Was it Timur's 5/2 beta release?
 
#22 ·
I use Timur's kernel sources but maybe I can try to use the stock CM sources.

The kernel version is the text you enter in the Makefile, usually something like

Code:
KERNELRELEASE = "3.1.10-gae45ce1-dirty"
 
#25 ·
If I'll do, I'll share it!
But for now, I'm blocked. I'm trying to get latest kernel sources used by Timur and trying to make, after kernel build, zip file to use with Clockwork Mod.
Can you help me? Do you know links where can I get help?
 
#27 ·
Don't worry, Kuchar09, I'm going to evaluate to use USB webcam instead of usb grabber.
To increase angle view (usually small in USB webcam) I can add a len and I'll use hub usb to increase cable length.
I saw a lot of time your thread but I haven't understood if rearcam works with timur USBROM and which usb camera you've used.
Thank you
 
#29 ·
Any news here ?

A N7 with backup cam function would be so awesome :)

Are you aware of the driver-free UVC USB grabber which acts like a usb webcam ?

http://febon.blogspo.../2012/02/1.html

and here:

Sadly the company wants around $80 including shipping.

Maybe we can get a cheaper price when we make a groupbuy or sth. like this.
Or another option would be to collect a bounty and try to find a dev to make the easycap work for our N7.
 
#30 ·
D1dd1 -

Thanks for the info and link. I will be placing an order. I did come close to getting the EasyCap to work, but in the end I went toward getting a USB camera working first. This may have paid off as the Febon grabber should now be "plug and play" for me.

I have my backup cam working well with a USB video camera. I modified SimpleWebCam in several ways:
1) displays in "fullscreen." No title bar, back/home/recent buttons hidden.
2) image is horizontally mirrored - necessary so the image appears oriented correctly (like a mirror)
3) app does not show up in recent apps list
4) app is started by External Keyboard Helper which receives an F8 keyboard code from a JoyConEx (sent on sensing power from reverse light)
5) app listens for F9 code which is sent from JoyCon and decoded by EKH when no longer in reverse. So app opens very quickly when reverse engages and closes when reverse is disengaged.
6) the prior app that was running is restored when the app closes

Finally, I have figured out how to permenantly set the permissions on the /dev/video0 file. So, all in all, it works exactly as a good reverse cam should.

I will do my best to document all this and to share the code and app. As I will likely start a rootzwiki forum as well as posting the code to github - both of which I will have to learn how to do, it won't happen until this weekend at the earliest. Once done I will also post to Tumur's forum.