I have compiled an EasyCAP module for kernel version 3.1.10 and I can load 
it manually via insmod easycap.ko with no errors and when I run lsmod I can 
see the module loaded. When I plug in my EasyCAP device, I get the 
following (below) in dmesg. It seems like the audio portion of EasyCAP is 
registering but not the video portion. It always says "unable to register 
with videodev" and no video0 is shown in /dev. I have run the same module 
on an older kernel (configured so the kernel version matches) and it seems 
to work fine, I can see /dev/video0 and can access it. Can anyone point me 
in the right direction? 

<6>[ 1914.645877] usb 2-1: new high speed USB device number 2 using tegra-ehci
> <6>[ 1914.677956] usb 2-1: New USB device found, idVendor=05e1, idProduct=0408
> <6>[ 1914.678467] usb 2-1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=0
> <6>[ 1914.678942] usb 2-1: Product: USB 2.0 Video Capture Controller
> <6>[ 1914.679208] usb 2-1: Manufacturer: Syntek Semiconductor
> <4>[ 1914.856384] inok_isr_work_function hostmode=1 usbhost_external_power=0 
> usbhost_charge_slave_devices=1
> <4>[ 1914.856797] inok_isr_work_function no power usbhost_external_power=0
> <7>[ 1918.748287] easycap::1adjust_standard: selected standard: PAL_BGHIN
> <7>[ 1919.106174] easycap::1adjust_format: sought:      
> 640x480,UYVY(0x59565955),1=field,0x00=std mask
> <7>[ 1919.106367] easycap::1adjust_format: sought:      V4L2_FIELD_NONE
> <7>[ 1919.106486] easycap::1adjust_format: actioning: 640x480 
> PAL_BGHIN_AT_640x480_FMT_UYVY-n
> <7>[ 1919.136174] easycap::1adjust_brightness: adjusting brightness to  0x7F
> <7>[ 1919.166044] easycap::1adjust_contrast: adjusting contrast to  0x3F
> <7>[ 1919.196034] easycap::1adjust_saturation: adjusting saturation to  0x2F
> <7>[ 1919.226013] easycap::1adjust_hue: adjusting hue to  0x00
> <4>[ 1919.227504] ------------[ cut here ]------------
> <4>[ 1919.227621] WARNING: at 
> /media/240GB/cm10.1-std/kernel/asus/grouper/drivers/media/video/v4l2-dev.c:559
>  __video_register_device+0x40c/0x4bc()
> <4>[ 1919.227855] Modules linked in: easycap(C) [last unloaded: easycap]
> <4>[ 1919.228212] [<c0014de0>] (unwind_backtrace+0x0/0x138) from [<c0062f18>] 
> (warn_slowpath_common+0x4c/0x64)
> <4>[ 1919.228385] [<c0062f18>] (warn_slowpath_common+0x4c/0x64) from 
> [<c0062f4c>] (warn_slowpath_null+0x1c/0x24)
> <4>[ 1919.228557] [<c0062f4c>] (warn_slowpath_null+0x1c/0x24) from 
> [<c03ef3f4>] (__video_register_device+0x40c/0x4bc)
> <4>[ 1919.228749] [<c03ef3f4>] (__video_register_device+0x40c/0x4bc) from 
> [<bf004678>] (easycap_usb_probe+0x8f0/0x14f0 [easycap])
> <4>[ 1919.228938] [<bf004678>] (easycap_usb_probe+0x8f0/0x14f0 [easycap]) 
> from [<c037d384>] (usb_probe_interface+0xe8/0x224)
> <4>[ 1919.229115] [<c037d384>] (usb_probe_interface+0xe8/0x224) from 
> [<c02d51c4>] (driver_probe_device+0xb4/0x294)
> <4>[ 1919.229227] [<c02d51c4>] (driver_probe_device+0xb4/0x294) from 
> [<c02d3f00>] (bus_for_each_drv+0x5c/0x88)
> <4>[ 1919.229327] [<c02d3f00>] (bus_for_each_drv+0x5c/0x88) from [<c02d509c>] 
> (device_attach+0x94/0xb8)
> <4>[ 1919.229497] [<c02d509c>] (device_attach+0x94/0xb8) from [<c02d47f4>] 
> (bus_probe_device+0x24/0x40)
> <4>[ 1919.229688] [<c02d47f4>] (bus_probe_device+0x24/0x40) from [<c02d2d48>] 
> (device_add+0x4b0/0x59c)
> <4>[ 1919.229877] [<c02d2d48>] (device_add+0x4b0/0x59c) from [<c037b988>] 
> (usb_set_configuration+0x4c4/0x644)
> <4>[ 1919.230056] [<c037b988>] (usb_set_configuration+0x4c4/0x644) from 
> [<c0383700>] (generic_probe+0x44/0x94)
> <4>[ 1919.230175] [<c0383700>] (generic_probe+0x44/0x94) from [<c037d4f8>] 
> (usb_probe_device+0x38/0x74)
> <4>[ 1919.230359] [<c037d4f8>] (usb_probe_device+0x38/0x74) from [<c02d51c4>] 
> (driver_probe_device+0xb4/0x294)
> <4>[ 1919.230550] [<c02d51c4>] (driver_probe_device+0xb4/0x294) from 
> [<c02d3f00>] (bus_for_each_drv+0x5c/0x88)
> <4>[ 1919.230750] [<c02d3f00>] (bus_for_each_drv+0x5c/0x88) from [<c02d509c>] 
> (device_attach+0x94/0xb8)
> <4>[ 1919.230940] [<c02d509c>] (device_attach+0x94/0xb8) from [<c02d47f4>] 
> (bus_probe_device+0x24/0x40)
> <4>[ 1919.231050] [<c02d47f4>] (bus_probe_device+0x24/0x40) from [<c02d2d48>] 
> (device_add+0x4b0/0x59c)
> <4>[ 1919.231241] [<c02d2d48>] (device_add+0x4b0/0x59c) from [<c037446c>] 
> (usb_new_device+0x160/0x238)
> <4>[ 1919.231429] [<c037446c>] (usb_new_device+0x160/0x238) from [<c03752d0>] 
> (hub_thread+0x838/0x15c8)
> <4>[ 1919.231631] [<c03752d0>] (hub_thread+0x838/0x15c8) from [<c008127c>] 
> (kthread+0x80/0x88)
> <4>[ 1919.231827] [<c008127c>] (kthread+0x80/0x88) from [<c000f468>] 
> (kernel_thread_exit+0x0/0x8)
> <4>[ 1919.231937] ---[ end trace 6da77f86a678b993 ]---
> <3>[ 1919.232124] easycap: Not able to register with videodev
> <4>[ 1919.233561] ##### sound/usb/card.c REGISTER tv_sec=1919 
> ++++++++++++++++++++++++
> <4>[ 1919.234214] ##### endpoint.c snd_usb_add_audio_endpoint SUCCESS 'USB 
> Audio'
> <4>[ 1919.234535] ##### clock.c set_sample_rate dev=2 iface=2 altset=1 
> ep=0x84 rate=48000
>
>




 

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to