Message ID | 20120907141831.GA12333@VPir.telros.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Sep 07, 2012 at 06:18:31PM +0400, volokh@telros.ru wrote: > On Thu, Sep 06, 2012 at 11:10:14PM +0400, Volokh Konstantin wrote: > > On Mon, Sep 03, 2012 at 02:37:16PM -0400, Adam Rosi-Kessel wrote: > > > > > > [469.928881] wis-saa7115: initializing SAA7115 at address 32 on WIS > > > GO7007SB EZ-USB > > > > > > [469.989083] go7007: probing for module i2c:wis_saa7115 failed > > > > > > [470.004785] wis-uda1342: initializing UDA1342 at address 26 on WIS > > > GO7007SB EZ-USB > > > > > > [470.005454] go7007: probing for module i2c:wis_uda1342 failed > > > > > > [470.011659] wis-sony-tuner: initializing tuner at address 96 on WIS > > > GO7007SB EZ-USB > Hi, I generated patchs, that u may in your own go7007/ folder > It contains go7007 initialization and i2c_subdev fixing > > It was checked for 3.6 branch (compile only) So I have this installed now (patched with your 3.6 patch) but I'm not seeing the device. The module is there: [ 416.189030] Linux media interface: v0.10 [ 416.198616] Linux video capture interface: v2.00 [ 416.220656] wis_uda1342: module is from the staging directory, the quality is unknown, you have been warned. # lsmod|grep -i go7 go7007_usb 10059 0 go7007 46966 1 go7007_usb v4l2_common 4206 1 go7007 videodev 78250 2 go7007,v4l2_common # uname -a Linux storage 3.6.0-rc4.ajk+ #5 SMP Sat Sep 8 22:05:57 EDT 2012 i686 GNU/Linux # grep -i go7 /boot/config-`uname -r` CONFIG_VIDEO_GO7007=m CONFIG_VIDEO_GO7007_USB=m CONFIG_VIDEO_GO7007_OV7640=m # CONFIG_VIDEO_GO7007_SAA7113 is not set # CONFIG_VIDEO_GO7007_SAA7115 is not set CONFIG_VIDEO_GO7007_TW9903=m CONFIG_VIDEO_GO7007_UDA1342=m CONFIG_VIDEO_GO7007_SONY_TUNER=m CONFIG_VIDEO_GO7007_TW2804=m But I'm not getting any device to appear: # ls /dev/video* ls: cannot access /dev/video*: No such file or directory # gorecord -format mpeg4 test.avi Driver loaded but no GO7007 devices found. Is the device connected properly? When I connect the device I see this: [ 585.705406] usb 1-4: udev 4, busnum 1, minor = 3 [ 585.705412] usb 1-4: New USB device found, idVendor=093b, idProduct=a004 [ 585.705415] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 585.705532] usb 1-4: usb_probe_device [ 585.705535] usb 1-4: configuration #1 chosen from 1 choice [ 585.706233] usb 1-4: adding 1-4:1.0 (config #1, interface 0) But no video node. Am I missing something? Adam -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Sep 08, 2012 at 10:23:31PM -0400, Adam Rosi-Kessel wrote: > On Fri, Sep 07, 2012 at 06:18:31PM +0400, volokh@telros.ru wrote: > > On Thu, Sep 06, 2012 at 11:10:14PM +0400, Volokh Konstantin wrote: > e > On Mon, Sep 03, 2012 at 02:37:16PM -0400, Adam Rosi-Kessel wrote: > > > > [469.928881] wis-saa7115: initializing SAA7115 at address 32 on WIS > > > > GO7007SB EZ-USB > > Hi, I generated patchs, that u may in your own go7007/ folder > > It contains go7007 initialization and i2c_subdev fixing > > It was checked for 3.6 branch (compile only) > So I have this installed now (patched with your 3.6 patch) but I'm not > seeing the device. OK, this was just a problem of needing to mount /proc/usb. With that mounted, the device is detected and the modules load automatically. gorecord just hangs, however: ------------[ cut here ]------------ WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Hardware name: Inspiron 530 Device: usb BOGUS urb xfer, pipe 1 != type 3 Modules linked in: wis_sony_tuner(C) wis_uda1342(C) go7007_usb(C) go7007(C) v4l2_common videodev media xt_LOG fuse ext4 jbd2 crc16 e1000e [last unloaded: go7007] Pid: 18595, comm: gorecord Tainted: G WC 3.6.0-rc4 Call Trace: [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 [<c13bc8fa>] ? usb_submit_urb+0x12a/0x3e0 [<c13bc8fa>] ? usb_submit_urb+0x12a/0x3e0 [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 [<c13bc8fa>] usb_submit_urb+0x12a/0x3e0 [<f938625a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] [<f9371af4>] go7007_read_interrupt+0x24/0x100 [go7007] [<f938615e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] [<f9371c4d>] go7007_start_encoder+0x7d/0x120 [go7007] [<c1624d84>] ? mutex_lock+0x14/0x40 [<f9370c2c>] vidioc_streamon+0xdc/0xf0 [go7007] [<f9004b75>] v4l_streamon+0x15/0x20 [videodev] [<f90070cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] [<c1075933>] ? ktime_get+0x43/0xf0 [<c107b9fa>] ? clockevents_program_event+0xca/0x180 [<c122bd28>] ? _copy_from_user+0x38/0x130 [<f9008b83>] video_usercopy+0x143/0x320 [videodev] [<c103be44>] ? irq_exit+0x54/0xc0 [<c10218a4>] ? smp_apic_timer_interrupt+0x54/0x90 [<c113b631>] ? inotify_handle_event+0x51/0xc0 [<c113b510>] ? idr_callback+0x80/0x80 [<c1626f66>] ? apic_timer_interrupt+0x2a/0x30 [<f9008d72>] video_ioctl2+0x12/0x20 [videodev] [<f9006e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] [<f9003913>] v4l2_ioctl+0x103/0x150 [videodev] [<f9003810>] ? v4l2_open+0x140/0x140 [videodev] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 [<c11e198a>] ? file_has_perm+0x9a/0xc0 [<c11e1e86>] ? selinux_file_ioctl+0x56/0x110 [<c11149cf>] sys_ioctl+0x7f/0x90 [<c162d18c>] sysenter_do_call+0x12/0x22 ---[ end trace 04d11de2981e53e3 ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Sep 08, 2012 at 10:23:31PM -0400, Adam Rosi-Kessel wrote: > On Fri, Sep 07, 2012 at 06:18:31PM +0400, volokh@telros.ru wrote: > > On Thu, Sep 06, 2012 at 11:10:14PM +0400, Volokh Konstantin wrote: > > > On Mon, Sep 03, 2012 at 02:37:16PM -0400, Adam Rosi-Kessel wrote: > > > > > > > > [469.928881] wis-saa7115: initializing SAA7115 at address 32 on WIS > > > > GO7007SB EZ-USB > > > > > > > > [469.989083] go7007: probing for module i2c:wis_saa7115 failed > > > > > > > > [470.004785] wis-uda1342: initializing UDA1342 at address 26 on WIS > > > > GO7007SB EZ-USB > > > > > > > > [470.005454] go7007: probing for module i2c:wis_uda1342 failed > > > > > > > > [470.011659] wis-sony-tuner: initializing tuner at address 96 on WIS > > > > GO7007SB EZ-USB > > Hi, I generated patchs, that u may in your own go7007/ folder > > It contains go7007 initialization and i2c_subdev fixing > > > > It was checked for 3.6 branch (compile only) > > So I have this installed now (patched with your 3.6 patch) but I'm not > seeing the device. > > The module is there: > > [ 416.189030] Linux media interface: v0.10 > [ 416.198616] Linux video capture interface: v2.00 > [ 416.220656] wis_uda1342: module is from the staging directory, the quality is unknown, you have been warned. > > # lsmod|grep -i go7 > go7007_usb 10059 0 > go7007 46966 1 go7007_usb > v4l2_common 4206 1 go7007 > videodev 78250 2 go7007,v4l2_common > > # uname -a > Linux storage 3.6.0-rc4.ajk+ #5 SMP Sat Sep 8 22:05:57 EDT 2012 i686 GNU/Linux > > # grep -i go7 /boot/config-`uname -r` > CONFIG_VIDEO_GO7007=m > CONFIG_VIDEO_GO7007_USB=m > CONFIG_VIDEO_GO7007_OV7640=m > # CONFIG_VIDEO_GO7007_SAA7113 is not set Linux must autoload these modules for working: wis-saa7115 wis-uda1342 wis-sony-tuner, so need set m below: > # CONFIG_VIDEO_GO7007_SAA7115 is not set > CONFIG_VIDEO_GO7007_TW9903=m > CONFIG_VIDEO_GO7007_UDA1342=m > CONFIG_VIDEO_GO7007_SONY_TUNER=m > CONFIG_VIDEO_GO7007_TW2804=m after compilation need install modules, or handly load them. modprobe wis-saa7115, etc ... for each modules. > > But I'm not getting any device to appear: > > # ls /dev/video* > ls: cannot access /dev/video*: No such file or directory > # gorecord -format mpeg4 test.avi > Driver loaded but no GO7007 devices found. > Is the device connected properly? > > When I connect the device I see this: > > [ 585.705406] usb 1-4: udev 4, busnum 1, minor = 3 > [ 585.705412] usb 1-4: New USB device found, idVendor=093b, idProduct=a004 > [ 585.705415] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > [ 585.705532] usb 1-4: usb_probe_device > [ 585.705535] usb 1-4: configuration #1 chosen from 1 choice > [ 585.706233] usb 1-4: adding 1-4:1.0 (config #1, interface 0) > > But no video node. > > Am I missing something? > > Adam -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Sep 09, 2012 at 08:21:55AM -0400, Adam Rosi-Kessel wrote: > On Sat, Sep 08, 2012 at 10:23:31PM -0400, Adam Rosi-Kessel wrote: > > On Fri, Sep 07, 2012 at 06:18:31PM +0400, volokh@telros.ru wrote: > > > On Thu, Sep 06, 2012 at 11:10:14PM +0400, Volokh Konstantin wrote: > > e > On Mon, Sep 03, 2012 at 02:37:16PM -0400, Adam Rosi-Kessel wrote: > > > > > [469.928881] wis-saa7115: initializing SAA7115 at address 32 on WIS > > > > > GO7007SB EZ-USB > > > Hi, I generated patchs, that u may in your own go7007/ folder > > > It contains go7007 initialization and i2c_subdev fixing > > > It was checked for 3.6 branch (compile only) > > So I have this installed now (patched with your 3.6 patch) but I'm not > > seeing the device. > > OK, this was just a problem of needing to mount /proc/usb. With that > mounted, the device is detected and the modules load automatically. > gorecord just hangs, however: > > ------------[ cut here ]------------ > WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() > Hardware name: Inspiron 530 > Device: usb > BOGUS urb xfer, pipe 1 != type 3 > Modules linked in: wis_sony_tuner(C) wis_uda1342(C) go7007_usb(C) go7007(C) v4l2_common videodev media xt_LOG fuse ext4 jbd2 crc16 e1000e I`m not seeing wis-sa7115 module, (it`s main module for video device) > [last unloaded: go7007] > Pid: 18595, comm: gorecord Tainted: G WC 3.6.0-rc4 > Call Trace: > [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 > [<c13bc8fa>] ? usb_submit_urb+0x12a/0x3e0 Some error in URB, did u machine have any ATI chipset? > [<c13bc8fa>] ? usb_submit_urb+0x12a/0x3e0 > [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 > [<c13bc8fa>] usb_submit_urb+0x12a/0x3e0 > [<f938625a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] > [<f9371af4>] go7007_read_interrupt+0x24/0x100 [go7007] > [<f938615e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] > [<f9371c4d>] go7007_start_encoder+0x7d/0x120 [go7007] > [<c1624d84>] ? mutex_lock+0x14/0x40 > [<f9370c2c>] vidioc_streamon+0xdc/0xf0 [go7007] > [<f9004b75>] v4l_streamon+0x15/0x20 [videodev] > [<f90070cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] > [<c1075933>] ? ktime_get+0x43/0xf0 > [<c107b9fa>] ? clockevents_program_event+0xca/0x180 > [<c122bd28>] ? _copy_from_user+0x38/0x130 > [<f9008b83>] video_usercopy+0x143/0x320 [videodev] > [<c103be44>] ? irq_exit+0x54/0xc0 > [<c10218a4>] ? smp_apic_timer_interrupt+0x54/0x90 > [<c113b631>] ? inotify_handle_event+0x51/0xc0 > [<c113b510>] ? idr_callback+0x80/0x80 > [<c1626f66>] ? apic_timer_interrupt+0x2a/0x30 > [<f9008d72>] video_ioctl2+0x12/0x20 [videodev] > [<f9006e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] > [<f9003913>] v4l2_ioctl+0x103/0x150 [videodev] > [<f9003810>] ? v4l2_open+0x140/0x140 [videodev] Can u send me: ls /dev/video* ls /dev/audio* ls /dev/tun* tail -n 500 /var/log/messages (after calling go_record) > [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 > [<c11e198a>] ? file_has_perm+0x9a/0xc0 > [<c11e1e86>] ? selinux_file_ioctl+0x56/0x110 > [<c11149cf>] sys_ioctl+0x7f/0x90 > [<c162d18c>] sysenter_do_call+0x12/0x22 > ---[ end trace 04d11de2981e53e3 ]--- Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 9/10/2012 6:37 AM, volokh@telros.ru wrote: > I`m not seeing wis-sa7115 module, (it`s main module for video device) OK, I recompiled with that built in. I had left it out because I had trouble compiling before, but now it went through fine. Seems to help. After recompiling, I have some progress--I can run gorecord and get audio, but there is no video signal in the resultant AVI. > Some error in URB, > did u machine have any ATI chipset? Yes: 01:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600XT] (prog-if 00 [VGA controller]) 01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series] > Can u send me: > ls /dev/video* > ls /dev/audio* > ls /dev/tun* # ls -l /dev/tun* /dev/aud* /dev/vid* /dev/dsp* ls: cannot access /dev/tun*: No such file or directory crw-rw----+ 1 root audio 14, 4 Sep 10 16:57 /dev/audio crw-rw----+ 1 root audio 14, 36 Sep 10 21:01 /dev/audio2 crw-rw----+ 1 root audio 14, 3 Sep 10 16:57 /dev/dsp crw-rw----+ 1 root audio 14, 35 Sep 10 21:01 /dev/dsp2 crw-rw----+ 1 root video 81, 0 Sep 10 21:10 /dev/video0 > tail -n 500 /var/log/messages (after calling go_record) Attached. Sep 10 21:05:40 storage kernel: [ 474.278489] [<c113b510>] ? idr_callback+0x80/0x80 Sep 10 21:05:40 storage kernel: [ 474.278492] [<c11393c5>] ? send_to_group+0xe5/0x140 Sep 10 21:05:40 storage kernel: [ 474.278497] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:05:40 storage kernel: [ 474.278501] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:05:40 storage kernel: [ 474.278505] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:05:40 storage kernel: [ 474.278509] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:05:40 storage kernel: [ 474.278513] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:05:40 storage kernel: [ 474.278518] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:05:40 storage kernel: [ 474.278522] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:05:40 storage kernel: [ 474.278524] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:05:40 storage kernel: [ 474.278528] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:05:40 storage kernel: [ 474.278530] ---[ end trace 7ad74e28071d6ef7 ]--- Sep 10 21:05:45 storage kernel: [ 479.673046] ------------[ cut here ]------------ Sep 10 21:05:45 storage kernel: [ 479.673058] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:05:45 storage kernel: [ 479.673060] Hardware name: Inspiron 530 Sep 10 21:05:45 storage kernel: [ 479.673062] Device: usb Sep 10 21:05:45 storage kernel: [ 479.673062] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:05:45 storage kernel: [ 479.673064] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:05:45 storage kernel: [ 479.673092] Pid: 11613, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:05:45 storage kernel: [ 479.673094] Call Trace: Sep 10 21:05:45 storage kernel: [ 479.673100] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:05:45 storage kernel: [ 479.673103] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.673106] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.673109] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:05:45 storage kernel: [ 479.673112] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.673115] [<c10432a9>] ? del_timer_sync+0x29/0x50 Sep 10 21:05:45 storage kernel: [ 479.673120] [<c159bb99>] ? schedule_timeout+0xf9/0x1b0 Sep 10 21:05:45 storage kernel: [ 479.673124] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:05:45 storage kernel: [ 479.673127] [<c1042d40>] ? lock_timer_base+0x50/0x50 Sep 10 21:05:45 storage kernel: [ 479.673132] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:05:45 storage kernel: [ 479.673135] [<f9e626cc>] go7007_usb_interface_reset+0x4c/0x130 [go7007_usb] Sep 10 21:05:45 storage kernel: [ 479.673139] [<f9e4dd90>] go7007_load_encoder+0xa0/0x180 [go7007] Sep 10 21:05:45 storage kernel: [ 479.673142] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:05:45 storage kernel: [ 479.673146] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:05:45 storage kernel: [ 479.673149] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:05:45 storage kernel: [ 479.673153] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:05:45 storage kernel: [ 479.673158] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673163] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673166] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:05:45 storage kernel: [ 479.673170] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:05:45 storage kernel: [ 479.673175] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:05:45 storage kernel: [ 479.673179] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673184] [<c109d7bf>] ? irq_to_desc+0xf/0x20 Sep 10 21:05:45 storage kernel: [ 479.673213] [<c103be44>] ? irq_exit+0x54/0xc0 Sep 10 21:05:45 storage kernel: [ 479.673216] [<c1003ca6>] ? do_IRQ+0x46/0xb0 Sep 10 21:05:45 storage kernel: [ 479.673220] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:05:45 storage kernel: [ 479.673223] [<c15a4a29>] ? common_interrupt+0x29/0x30 Sep 10 21:05:45 storage kernel: [ 479.673228] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673233] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673237] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673241] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:05:45 storage kernel: [ 479.673245] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:05:45 storage kernel: [ 479.673250] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:05:45 storage kernel: [ 479.673253] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:05:45 storage kernel: [ 479.673256] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:05:45 storage kernel: [ 479.673259] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:05:45 storage kernel: [ 479.673261] ---[ end trace 7ad74e28071d6ef8 ]--- Sep 10 21:05:45 storage kernel: [ 479.685226] ------------[ cut here ]------------ Sep 10 21:05:45 storage kernel: [ 479.685237] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:05:45 storage kernel: [ 479.685239] Hardware name: Inspiron 530 Sep 10 21:05:45 storage kernel: [ 479.685241] Device: usb Sep 10 21:05:45 storage kernel: [ 479.685241] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:05:45 storage kernel: [ 479.685243] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:05:45 storage kernel: [ 479.685271] Pid: 11613, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:05:45 storage kernel: [ 479.685273] Call Trace: Sep 10 21:05:45 storage kernel: [ 479.685278] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:05:45 storage kernel: [ 479.685282] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.685284] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.685287] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:05:45 storage kernel: [ 479.685290] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:05:45 storage kernel: [ 479.685295] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:05:45 storage kernel: [ 479.685299] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:05:45 storage kernel: [ 479.685303] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:05:45 storage kernel: [ 479.685306] [<f9e4ddb9>] go7007_load_encoder+0xc9/0x180 [go7007] Sep 10 21:05:45 storage kernel: [ 479.685309] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:05:45 storage kernel: [ 479.685313] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:05:45 storage kernel: [ 479.685316] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:05:45 storage kernel: [ 479.685320] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:05:45 storage kernel: [ 479.685325] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685330] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685333] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:05:45 storage kernel: [ 479.685337] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:05:45 storage kernel: [ 479.685342] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:05:45 storage kernel: [ 479.685346] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685351] [<c109d7bf>] ? irq_to_desc+0xf/0x20 Sep 10 21:05:45 storage kernel: [ 479.685354] [<c103be44>] ? irq_exit+0x54/0xc0 Sep 10 21:05:45 storage kernel: [ 479.685358] [<c1003ca6>] ? do_IRQ+0x46/0xb0 Sep 10 21:05:45 storage kernel: [ 479.685362] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:05:45 storage kernel: [ 479.685366] [<c15a4a29>] ? common_interrupt+0x29/0x30 Sep 10 21:05:45 storage kernel: [ 479.685370] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685375] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685379] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685383] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:05:45 storage kernel: [ 479.685387] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:05:45 storage kernel: [ 479.685392] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:05:45 storage kernel: [ 479.685395] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:05:45 storage kernel: [ 479.685398] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:05:45 storage kernel: [ 479.685401] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:05:45 storage kernel: [ 479.685403] ---[ end trace 7ad74e28071d6ef9 ]--- Sep 10 21:06:01 storage logger: Starting CrashPlan Sep 10 21:06:01 storage logger: Starting VNC server Sep 10 21:06:02 storage logger: Starting fuppes Sep 10 21:06:02 storage kernel: [ 496.846062] ------------[ cut here ]------------ Sep 10 21:06:02 storage kernel: [ 496.846072] WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0x9b/0xd0() Sep 10 21:06:02 storage kernel: [ 496.846074] Hardware name: Inspiron 530 Sep 10 21:06:02 storage kernel: [ 496.846075] empty IPI mask Sep 10 21:06:02 storage kernel: [ 496.846077] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:06:02 storage kernel: [ 496.846100] Pid: 11984, comm: java Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:06:02 storage kernel: [ 496.846102] Call Trace: Sep 10 21:06:02 storage kernel: [ 496.846106] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:06:02 storage kernel: [ 496.846109] [<c102232b>] ? default_send_IPI_mask_logical+0x9b/0xd0 Sep 10 21:06:02 storage kernel: [ 496.846111] [<c102232b>] ? default_send_IPI_mask_logical+0x9b/0xd0 Sep 10 21:06:02 storage kernel: [ 496.846114] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:06:02 storage kernel: [ 496.846116] [<c102232b>] default_send_IPI_mask_logical+0x9b/0xd0 Sep 10 21:06:02 storage kernel: [ 496.846119] [<c1020692>] native_send_call_func_ipi+0x42/0x60 Sep 10 21:06:02 storage kernel: [ 496.846123] [<c1082312>] smp_call_function_many+0x172/0x200 Sep 10 21:06:02 storage kernel: [ 496.846125] [<c102f750>] ? flush_tlb_mm_range+0x1a0/0x1a0 Sep 10 21:06:02 storage kernel: [ 496.846128] [<c102f436>] native_flush_tlb_others+0x26/0x30 Sep 10 21:06:02 storage kernel: [ 496.846130] [<c102f57f>] flush_tlb_page+0x4f/0x80 Sep 10 21:06:02 storage kernel: [ 496.846134] [<c10f4920>] ptep_clear_flush+0x20/0x30 Sep 10 21:06:02 storage kernel: [ 496.846137] [<c10e8f9e>] do_wp_page+0x24e/0x6f0 Sep 10 21:06:02 storage kernel: [ 496.846140] [<c10d00d8>] ? __alloc_pages_nodemask+0x218/0x6e0 Sep 10 21:06:02 storage kernel: [ 496.846142] [<c10e9c5a>] handle_pte_fault+0x33a/0x8f0 Sep 10 21:06:02 storage kernel: [ 496.846145] [<c10ea2f6>] handle_mm_fault+0xe6/0x1a0 Sep 10 21:06:02 storage kernel: [ 496.846148] [<c15a0c77>] do_page_fault+0xf7/0x3f0 Sep 10 21:06:02 storage kernel: [ 496.846151] [<c10820a4>] ? generic_smp_call_function_interrupt+0x84/0x180 Sep 10 21:06:02 storage kernel: [ 496.846154] [<c15a0b80>] ? spurious_fault+0x110/0x110 Sep 10 21:06:02 storage kernel: [ 496.846156] [<c159e4a6>] error_code+0x5a/0x60 Sep 10 21:06:02 storage kernel: [ 496.846159] [<c15a0b80>] ? spurious_fault+0x110/0x110 Sep 10 21:06:02 storage kernel: [ 496.846160] ---[ end trace 7ad74e28071d6efa ]--- Sep 10 21:07:08 storage kernel: [ 562.417253] ------------[ cut here ]------------ Sep 10 21:07:08 storage kernel: [ 562.417264] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:08 storage kernel: [ 562.417266] Hardware name: Inspiron 530 Sep 10 21:07:08 storage kernel: [ 562.417269] Device: usb Sep 10 21:07:08 storage kernel: [ 562.417269] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:08 storage kernel: [ 562.417271] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:08 storage kernel: [ 562.417299] Pid: 14107, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:08 storage kernel: [ 562.417300] Call Trace: Sep 10 21:07:08 storage kernel: [ 562.417305] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:08 storage kernel: [ 562.417309] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:08 storage kernel: [ 562.417312] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:08 storage kernel: [ 562.417314] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:08 storage kernel: [ 562.417317] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:08 storage kernel: [ 562.417322] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:08 storage kernel: [ 562.417327] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:08 storage kernel: [ 562.417330] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:07:08 storage kernel: [ 562.417334] [<f9e4dc4d>] go7007_start_encoder+0x7d/0x120 [go7007] Sep 10 21:07:08 storage kernel: [ 562.417339] [<c159c0d4>] ? mutex_lock+0x14/0x40 Sep 10 21:07:08 storage kernel: [ 562.417342] [<f9e4cc2c>] vidioc_streamon+0xdc/0xf0 [go7007] Sep 10 21:07:08 storage kernel: [ 562.417347] [<f9e21b75>] v4l_streamon+0x15/0x20 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417352] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417357] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:08 storage kernel: [ 562.417362] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417366] [<c1139edd>] ? fsnotify_add_notify_event+0x13d/0x190 Sep 10 21:07:08 storage kernel: [ 562.417370] [<c113b631>] ? inotify_handle_event+0x51/0xc0 Sep 10 21:07:08 storage kernel: [ 562.417373] [<c113b510>] ? idr_callback+0x80/0x80 Sep 10 21:07:08 storage kernel: [ 562.417376] [<c11393c5>] ? send_to_group+0xe5/0x140 Sep 10 21:07:08 storage kernel: [ 562.417385] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417389] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417392] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417396] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:08 storage kernel: [ 562.417399] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:08 storage kernel: [ 562.417403] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:08 storage kernel: [ 562.417405] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:08 storage kernel: [ 562.417408] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:08 storage kernel: [ 562.417411] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:08 storage kernel: [ 562.417412] ---[ end trace 7ad74e28071d6efb ]--- Sep 10 21:07:13 storage kernel: [ 567.785027] ------------[ cut here ]------------ Sep 10 21:07:13 storage kernel: [ 567.785038] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:13 storage kernel: [ 567.785040] Hardware name: Inspiron 530 Sep 10 21:07:13 storage kernel: [ 567.785042] Device: usb Sep 10 21:07:13 storage kernel: [ 567.785042] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:13 storage kernel: [ 567.785045] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:13 storage kernel: [ 567.785072] Pid: 14107, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:13 storage kernel: [ 567.785074] Call Trace: Sep 10 21:07:13 storage kernel: [ 567.785080] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:13 storage kernel: [ 567.785083] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.785086] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.785089] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:13 storage kernel: [ 567.785092] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.785095] [<c10432a9>] ? del_timer_sync+0x29/0x50 Sep 10 21:07:13 storage kernel: [ 567.785100] [<c159bb99>] ? schedule_timeout+0xf9/0x1b0 Sep 10 21:07:13 storage kernel: [ 567.785104] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:13 storage kernel: [ 567.785107] [<c1042d40>] ? lock_timer_base+0x50/0x50 Sep 10 21:07:13 storage kernel: [ 567.785112] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:13 storage kernel: [ 567.785115] [<f9e626cc>] go7007_usb_interface_reset+0x4c/0x130 [go7007_usb] Sep 10 21:07:13 storage kernel: [ 567.785119] [<f9e4dd90>] go7007_load_encoder+0xa0/0x180 [go7007] Sep 10 21:07:13 storage kernel: [ 567.785122] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:07:13 storage kernel: [ 567.785126] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:07:13 storage kernel: [ 567.785129] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:07:13 storage kernel: [ 567.785132] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:07:13 storage kernel: [ 567.785137] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785142] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785146] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:07:13 storage kernel: [ 567.785150] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:07:13 storage kernel: [ 567.785154] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:13 storage kernel: [ 567.785159] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785162] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:07:13 storage kernel: [ 567.785166] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:07:13 storage kernel: [ 567.785169] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:07:13 storage kernel: [ 567.785173] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:07:13 storage kernel: [ 567.785177] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:07:13 storage kernel: [ 567.785181] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785186] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785190] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785194] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:13 storage kernel: [ 567.785198] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:13 storage kernel: [ 567.785202] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:13 storage kernel: [ 567.785206] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:13 storage kernel: [ 567.785209] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:13 storage kernel: [ 567.785212] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:13 storage kernel: [ 567.785214] ---[ end trace 7ad74e28071d6efc ]--- Sep 10 21:07:13 storage kernel: [ 567.796737] ------------[ cut here ]------------ Sep 10 21:07:13 storage kernel: [ 567.796748] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:13 storage kernel: [ 567.796750] Hardware name: Inspiron 530 Sep 10 21:07:13 storage kernel: [ 567.796752] Device: usb Sep 10 21:07:13 storage kernel: [ 567.796752] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:13 storage kernel: [ 567.796754] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:13 storage kernel: [ 567.796781] Pid: 14107, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:13 storage kernel: [ 567.796783] Call Trace: Sep 10 21:07:13 storage kernel: [ 567.796788] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:13 storage kernel: [ 567.796791] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.796794] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.796797] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:13 storage kernel: [ 567.796800] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:13 storage kernel: [ 567.796804] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:13 storage kernel: [ 567.796809] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:13 storage kernel: [ 567.796812] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:07:13 storage kernel: [ 567.796816] [<f9e4ddb9>] go7007_load_encoder+0xc9/0x180 [go7007] Sep 10 21:07:13 storage kernel: [ 567.796819] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:07:13 storage kernel: [ 567.796823] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:07:13 storage kernel: [ 567.796826] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:07:13 storage kernel: [ 567.796830] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:07:13 storage kernel: [ 567.796835] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796839] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796843] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:07:13 storage kernel: [ 567.796847] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:07:13 storage kernel: [ 567.796851] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:13 storage kernel: [ 567.796856] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796859] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:07:13 storage kernel: [ 567.796863] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:07:13 storage kernel: [ 567.796867] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:07:13 storage kernel: [ 567.796870] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:07:13 storage kernel: [ 567.796874] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:07:13 storage kernel: [ 567.796878] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796883] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796887] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796891] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:13 storage kernel: [ 567.796895] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:13 storage kernel: [ 567.796899] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:13 storage kernel: [ 567.796903] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:13 storage kernel: [ 567.796905] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:13 storage kernel: [ 567.796909] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:13 storage kernel: [ 567.796911] ---[ end trace 7ad74e28071d6efd ]--- Sep 10 21:07:29 storage kernel: [ 583.170292] ------------[ cut here ]------------ Sep 10 21:07:29 storage kernel: [ 583.170302] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:29 storage kernel: [ 583.170304] Hardware name: Inspiron 530 Sep 10 21:07:29 storage kernel: [ 583.170306] Device: usb Sep 10 21:07:29 storage kernel: [ 583.170306] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:29 storage kernel: [ 583.170308] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:29 storage kernel: [ 583.170335] Pid: 14646, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:29 storage kernel: [ 583.170337] Call Trace: Sep 10 21:07:29 storage kernel: [ 583.170342] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:29 storage kernel: [ 583.170345] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:29 storage kernel: [ 583.170348] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:29 storage kernel: [ 583.170351] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:29 storage kernel: [ 583.170354] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:29 storage kernel: [ 583.170359] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:29 storage kernel: [ 583.170363] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:29 storage kernel: [ 583.170366] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:07:29 storage kernel: [ 583.170370] [<f9e4dc4d>] go7007_start_encoder+0x7d/0x120 [go7007] Sep 10 21:07:29 storage kernel: [ 583.170375] [<c159c0d4>] ? mutex_lock+0x14/0x40 Sep 10 21:07:29 storage kernel: [ 583.170378] [<f9e4cc2c>] vidioc_streamon+0xdc/0xf0 [go7007] Sep 10 21:07:29 storage kernel: [ 583.170383] [<f9e21b75>] v4l_streamon+0x15/0x20 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170388] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170392] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:29 storage kernel: [ 583.170397] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170401] [<c11128b9>] ? path_openat+0x99/0x3a0 Sep 10 21:07:29 storage kernel: [ 583.170410] [<f85b7ca6>] ? ext4_orphan_add+0x56/0x1c0 [ext4] Sep 10 21:07:29 storage kernel: [ 583.170414] [<c11043a3>] ? do_sync_write+0x93/0xd0 Sep 10 21:07:29 storage kernel: [ 583.170419] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170423] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170427] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170431] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:29 storage kernel: [ 583.170434] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:29 storage kernel: [ 583.170439] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:29 storage kernel: [ 583.170442] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:29 storage kernel: [ 583.170445] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:29 storage kernel: [ 583.170449] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:29 storage kernel: [ 583.170451] ---[ end trace 7ad74e28071d6efe ]--- Sep 10 21:07:34 storage kernel: [ 588.543025] ------------[ cut here ]------------ Sep 10 21:07:34 storage kernel: [ 588.543038] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:34 storage kernel: [ 588.543040] Hardware name: Inspiron 530 Sep 10 21:07:34 storage kernel: [ 588.543042] Device: usb Sep 10 21:07:34 storage kernel: [ 588.543042] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:34 storage kernel: [ 588.543044] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:34 storage kernel: [ 588.543074] Pid: 14646, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:34 storage kernel: [ 588.543076] Call Trace: Sep 10 21:07:34 storage kernel: [ 588.543081] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:34 storage kernel: [ 588.543085] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.543088] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.543091] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:34 storage kernel: [ 588.543093] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.543097] [<c10432a9>] ? del_timer_sync+0x29/0x50 Sep 10 21:07:34 storage kernel: [ 588.543102] [<c159bb99>] ? schedule_timeout+0xf9/0x1b0 Sep 10 21:07:34 storage kernel: [ 588.543106] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:34 storage kernel: [ 588.543109] [<c1042d40>] ? lock_timer_base+0x50/0x50 Sep 10 21:07:34 storage kernel: [ 588.543114] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:34 storage kernel: [ 588.543118] [<f9e626cc>] go7007_usb_interface_reset+0x4c/0x130 [go7007_usb] Sep 10 21:07:34 storage kernel: [ 588.543121] [<f9e4dd90>] go7007_load_encoder+0xa0/0x180 [go7007] Sep 10 21:07:34 storage kernel: [ 588.543124] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:07:34 storage kernel: [ 588.543128] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:07:34 storage kernel: [ 588.543131] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:07:34 storage kernel: [ 588.543135] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:07:34 storage kernel: [ 588.543140] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543144] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543148] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:07:34 storage kernel: [ 588.543152] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:07:34 storage kernel: [ 588.543157] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:34 storage kernel: [ 588.543161] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543164] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:07:34 storage kernel: [ 588.543170] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:07:34 storage kernel: [ 588.543173] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:07:34 storage kernel: [ 588.543177] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:07:34 storage kernel: [ 588.543181] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:07:34 storage kernel: [ 588.543186] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543190] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543194] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543198] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:34 storage kernel: [ 588.543202] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:34 storage kernel: [ 588.543208] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:34 storage kernel: [ 588.543211] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:34 storage kernel: [ 588.543214] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:34 storage kernel: [ 588.543217] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:34 storage kernel: [ 588.543220] ---[ end trace 7ad74e28071d6eff ]--- Sep 10 21:07:34 storage kernel: [ 588.564639] ------------[ cut here ]------------ Sep 10 21:07:34 storage kernel: [ 588.564648] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:07:34 storage kernel: [ 588.564650] Hardware name: Inspiron 530 Sep 10 21:07:34 storage kernel: [ 588.564652] Device: usb Sep 10 21:07:34 storage kernel: [ 588.564652] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:07:34 storage kernel: [ 588.564653] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:07:34 storage kernel: [ 588.564677] Pid: 14646, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:07:34 storage kernel: [ 588.564679] Call Trace: Sep 10 21:07:34 storage kernel: [ 588.564683] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:07:34 storage kernel: [ 588.564686] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.564688] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.564690] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:07:34 storage kernel: [ 588.564693] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:07:34 storage kernel: [ 588.564696] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:07:34 storage kernel: [ 588.564700] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:07:34 storage kernel: [ 588.564703] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:07:34 storage kernel: [ 588.564706] [<f9e4ddb9>] go7007_load_encoder+0xc9/0x180 [go7007] Sep 10 21:07:34 storage kernel: [ 588.564708] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:07:34 storage kernel: [ 588.564711] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:07:34 storage kernel: [ 588.564714] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:07:34 storage kernel: [ 588.564717] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:07:34 storage kernel: [ 588.564721] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564724] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564727] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:07:34 storage kernel: [ 588.564731] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:07:34 storage kernel: [ 588.564734] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:07:34 storage kernel: [ 588.564738] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564740] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:07:34 storage kernel: [ 588.564743] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:07:34 storage kernel: [ 588.564746] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:07:34 storage kernel: [ 588.564749] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:07:34 storage kernel: [ 588.564752] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:07:34 storage kernel: [ 588.564756] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564759] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564763] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564766] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:07:34 storage kernel: [ 588.564769] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:07:34 storage kernel: [ 588.564774] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:07:34 storage kernel: [ 588.564776] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:07:34 storage kernel: [ 588.564779] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:07:34 storage kernel: [ 588.564782] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:07:34 storage kernel: [ 588.564784] ---[ end trace 7ad74e28071d6f00 ]--- Sep 10 21:10:22 storage kernel: [ 756.828863] ------------[ cut here ]------------ Sep 10 21:10:22 storage kernel: [ 756.828875] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:10:22 storage kernel: [ 756.828877] Hardware name: Inspiron 530 Sep 10 21:10:22 storage kernel: [ 756.828879] Device: usb Sep 10 21:10:22 storage kernel: [ 756.828879] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:10:22 storage kernel: [ 756.828881] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:10:22 storage kernel: [ 756.828909] Pid: 17894, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:10:22 storage kernel: [ 756.828911] Call Trace: Sep 10 21:10:22 storage kernel: [ 756.828917] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:10:22 storage kernel: [ 756.828920] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:22 storage kernel: [ 756.828923] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:22 storage kernel: [ 756.828926] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:10:22 storage kernel: [ 756.828929] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:22 storage kernel: [ 756.828933] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:10:22 storage kernel: [ 756.828938] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:10:22 storage kernel: [ 756.828941] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:10:22 storage kernel: [ 756.828945] [<f9e4dc4d>] go7007_start_encoder+0x7d/0x120 [go7007] Sep 10 21:10:22 storage kernel: [ 756.828950] [<c159c0d4>] ? mutex_lock+0x14/0x40 Sep 10 21:10:22 storage kernel: [ 756.828953] [<f9e4cc2c>] vidioc_streamon+0xdc/0xf0 [go7007] Sep 10 21:10:22 storage kernel: [ 756.828958] [<f9e21b75>] v4l_streamon+0x15/0x20 [videodev] Sep 10 21:10:22 storage kernel: [ 756.828963] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:10:22 storage kernel: [ 756.828968] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:10:22 storage kernel: [ 756.828972] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:10:22 storage kernel: [ 756.828977] [<c11128b9>] ? path_openat+0x99/0x3a0 Sep 10 21:10:22 storage kernel: [ 756.828986] [<f85b7ca6>] ? ext4_orphan_add+0x56/0x1c0 [ext4] Sep 10 21:10:22 storage kernel: [ 756.828990] [<c11043a3>] ? do_sync_write+0x93/0xd0 Sep 10 21:10:22 storage kernel: [ 756.828995] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:10:22 storage kernel: [ 756.828999] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:10:22 storage kernel: [ 756.829012] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:10:22 storage kernel: [ 756.829017] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:10:22 storage kernel: [ 756.829020] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:10:22 storage kernel: [ 756.829025] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:10:22 storage kernel: [ 756.829029] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:10:22 storage kernel: [ 756.829032] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:10:22 storage kernel: [ 756.829035] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:10:22 storage kernel: [ 756.829037] ---[ end trace 7ad74e28071d6f01 ]--- Sep 10 21:10:28 storage kernel: [ 762.212032] ------------[ cut here ]------------ Sep 10 21:10:28 storage kernel: [ 762.212044] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:10:28 storage kernel: [ 762.212046] Hardware name: Inspiron 530 Sep 10 21:10:28 storage kernel: [ 762.212048] Device: usb Sep 10 21:10:28 storage kernel: [ 762.212048] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:10:28 storage kernel: [ 762.212050] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:10:28 storage kernel: [ 762.212078] Pid: 17894, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:10:28 storage kernel: [ 762.212080] Call Trace: Sep 10 21:10:28 storage kernel: [ 762.212086] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:10:28 storage kernel: [ 762.212089] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.212092] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.212095] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:10:28 storage kernel: [ 762.212098] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.212101] [<c10432a9>] ? del_timer_sync+0x29/0x50 Sep 10 21:10:28 storage kernel: [ 762.212106] [<c159bb99>] ? schedule_timeout+0xf9/0x1b0 Sep 10 21:10:28 storage kernel: [ 762.212110] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:10:28 storage kernel: [ 762.212113] [<c1042d40>] ? lock_timer_base+0x50/0x50 Sep 10 21:10:28 storage kernel: [ 762.212117] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:10:28 storage kernel: [ 762.212121] [<f9e626cc>] go7007_usb_interface_reset+0x4c/0x130 [go7007_usb] Sep 10 21:10:28 storage kernel: [ 762.212125] [<f9e4dd90>] go7007_load_encoder+0xa0/0x180 [go7007] Sep 10 21:10:28 storage kernel: [ 762.212128] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:10:28 storage kernel: [ 762.212131] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:10:28 storage kernel: [ 762.212135] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:10:28 storage kernel: [ 762.212138] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:10:28 storage kernel: [ 762.212144] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212148] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212152] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:10:28 storage kernel: [ 762.212156] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:10:28 storage kernel: [ 762.212160] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:10:28 storage kernel: [ 762.212165] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212168] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:10:28 storage kernel: [ 762.212172] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:10:28 storage kernel: [ 762.212176] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:10:28 storage kernel: [ 762.212179] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:10:28 storage kernel: [ 762.212183] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:10:28 storage kernel: [ 762.212188] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212192] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212196] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212200] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:10:28 storage kernel: [ 762.212204] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:10:28 storage kernel: [ 762.212209] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:10:28 storage kernel: [ 762.212212] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:10:28 storage kernel: [ 762.212215] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:10:28 storage kernel: [ 762.212218] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:10:28 storage kernel: [ 762.212220] ---[ end trace 7ad74e28071d6f02 ]--- Sep 10 21:10:28 storage kernel: [ 762.227833] ------------[ cut here ]------------ Sep 10 21:10:28 storage kernel: [ 762.227842] WARNING: at drivers/usb/core/urb.c:414 usb_submit_urb+0x12a/0x3e0() Sep 10 21:10:28 storage kernel: [ 762.227844] Hardware name: Inspiron 530 Sep 10 21:10:28 storage kernel: [ 762.227846] Device: usb Sep 10 21:10:28 storage kernel: [ 762.227846] BOGUS urb xfer, pipe 1 != type 3 Sep 10 21:10:28 storage kernel: [ 762.227849] Modules linked in: wis_sony_tuner(C) wis_uda1342(C) wis_saa7115(C) go7007_usb(C) go7007(C) v4l2_common videodev media ipt_MASQUERADE xt_tcpudp ipt_REDIRECT xt_conntrack iptable_mangle nf_conntrack_ftp ipt_REJECT xt_LOG xt_limit xt_multiport xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_filter ip_tables x_tables fuse ext4 jbd2 crc16 e1000e Sep 10 21:10:28 storage kernel: [ 762.227876] Pid: 17894, comm: gorecord-cvs Tainted: G WC 3.6.0-rc4.go7007.saa7115+ #3 Sep 10 21:10:28 storage kernel: [ 762.227878] Call Trace: Sep 10 21:10:28 storage kernel: [ 762.227883] [<c1033f4d>] warn_slowpath_common+0x6d/0xa0 Sep 10 21:10:28 storage kernel: [ 762.227887] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.227889] [<c1394eda>] ? usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.227892] [<c1033ffe>] warn_slowpath_fmt+0x2e/0x30 Sep 10 21:10:28 storage kernel: [ 762.227895] [<c1394eda>] usb_submit_urb+0x12a/0x3e0 Sep 10 21:10:28 storage kernel: [ 762.227900] [<f9e6225a>] go7007_usb_read_interrupt+0x1a/0x40 [go7007_usb] Sep 10 21:10:28 storage kernel: [ 762.227904] [<f9e4daf4>] go7007_read_interrupt+0x24/0x100 [go7007] Sep 10 21:10:28 storage kernel: [ 762.227908] [<f9e6215e>] ? go7007_usb_send_firmware+0x3e/0x60 [go7007_usb] Sep 10 21:10:28 storage kernel: [ 762.227911] [<f9e4ddb9>] go7007_load_encoder+0xc9/0x180 [go7007] Sep 10 21:10:28 storage kernel: [ 762.227914] [<c1394da0>] ? usb_kill_urb+0x90/0xa0 Sep 10 21:10:28 storage kernel: [ 762.227918] [<f9e4de7b>] go7007_reset_encoder+0xb/0x20 [go7007] Sep 10 21:10:28 storage kernel: [ 762.227921] [<f9e4cacb>] go7007_streamoff+0xab/0xb0 [go7007] Sep 10 21:10:28 storage kernel: [ 762.227925] [<f9e4caf9>] vidioc_streamoff+0x29/0x80 [go7007] Sep 10 21:10:28 storage kernel: [ 762.227930] [<f9e21b95>] v4l_streamoff+0x15/0x20 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227935] [<f9e240cc>] __video_do_ioctl+0x28c/0x3a0 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227938] [<c105c692>] ? check_preempt_curr+0x72/0x90 Sep 10 21:10:28 storage kernel: [ 762.227942] [<c10631d7>] ? try_to_wake_up+0x197/0x220 Sep 10 21:10:28 storage kernel: [ 762.227946] [<c122a3d8>] ? _copy_from_user+0x38/0x130 Sep 10 21:10:28 storage kernel: [ 762.227951] [<f9e25b83>] video_usercopy+0x143/0x320 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227954] [<c105ec70>] ? __wake_up+0x40/0x50 Sep 10 21:10:28 storage kernel: [ 762.227959] [<c1292254>] ? tty_wakeup+0x34/0x70 Sep 10 21:10:28 storage kernel: [ 762.227962] [<c129a851>] ? pty_write+0x61/0x70 Sep 10 21:10:28 storage kernel: [ 762.227966] [<c12948d2>] ? do_output_char+0x1d2/0x200 Sep 10 21:10:28 storage kernel: [ 762.227970] [<c1053e7c>] ? remove_wait_queue+0x3c/0x50 Sep 10 21:10:28 storage kernel: [ 762.227974] [<f9e25d72>] video_ioctl2+0x12/0x20 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227979] [<f9e23e40>] ? v4l2_ioctl_get_lock+0x50/0x50 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227983] [<f9e20913>] v4l2_ioctl+0x103/0x150 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227987] [<f9e20810>] ? v4l2_open+0x140/0x140 [videodev] Sep 10 21:10:28 storage kernel: [ 762.227992] [<c111440e>] do_vfs_ioctl+0x7e/0x5c0 Sep 10 21:10:28 storage kernel: [ 762.227996] [<c11e108a>] ? file_has_perm+0x9a/0xc0 Sep 10 21:10:28 storage kernel: [ 762.228000] [<c11e1276>] ? selinux_file_ioctl+0x56/0x110 Sep 10 21:10:28 storage kernel: [ 762.228012] [<c11149cf>] sys_ioctl+0x7f/0x90 Sep 10 21:10:28 storage kernel: [ 762.228016] [<c15a44cc>] sysenter_do_call+0x12/0x22 Sep 10 21:10:28 storage kernel: [ 762.228018] ---[ end trace 7ad74e28071d6f03 ]---
Em Fri, 7 Sep 2012 18:18:31 +0400 volokh@telros.ru escreveu: > On Thu, Sep 06, 2012 at 11:10:14PM +0400, Volokh Konstantin wrote: > > On Mon, Sep 03, 2012 at 02:37:16PM -0400, Adam Rosi-Kessel wrote: > > > > > > [469.928881] wis-saa7115: initializing SAA7115 at address 32 on WIS > > > GO7007SB EZ-USB > > > > > > [469.989083] go7007: probing for module i2c:wis_saa7115 failed > > > > > > [470.004785] wis-uda1342: initializing UDA1342 at address 26 on WIS > > > GO7007SB EZ-USB > > > > > > [470.005454] go7007: probing for module i2c:wis_uda1342 failed > > > > > > [470.011659] wis-sony-tuner: initializing tuner at address 96 on WIS > > > GO7007SB EZ-USB > Hi, I generated patchs, that u may in your own go7007/ folder > It contains go7007 initialization and i2c_subdev fixing > > It was checked for 3.6 branch (compile only) Sorry, but I don't know what do you intend with this post. I can't merge this patch upstream for a number of reasons: - There's no Signed-off-by: on this patch; - There's no description explaining what is there at the patch; - the patch looks too complex - it is hard to believe that this is a single functional change. Merging lots of stuff into the same patch makes hard for it to be reviewed, so please break it into a proper, well-described patch series; - scripts/checkpatch.pl also didn't like the patch: ERROR: Missing Signed-off-by: line(s) total: 5 errors, 44 warnings, 393 lines checked Please fix it. Thanks! Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/staging/media/go7007/go7007-driver.c b/drivers/staging/media/go7007/go7007-driver.c index ece2dd1..2dff9b5 100644 --- a/drivers/staging/media/go7007/go7007-driver.c +++ b/drivers/staging/media/go7007/go7007-driver.c @@ -173,6 +173,11 @@ static int go7007_init_encoder(struct go7007 *go) go7007_write_addr(go, 0x3c82, 0x0001); go7007_write_addr(go, 0x3c80, 0x00fe); } + if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) { + /* set GPIO5 to be an output, currently low */ + go7007_write_addr(go, 0x3c82, 0x0000); + go7007_write_addr(go, 0x3c80, 0x00df); + } return 0; } @@ -192,17 +197,23 @@ int go7007_reset_encoder(struct go7007 *go) /* * Attempt to instantiate an I2C client by ID, probably loading a module. */ -static int init_i2c_module(struct i2c_adapter *adapter, const char *type, - int addr) +static int init_i2c_module(struct i2c_adapter *adapter, const struct go_i2c *const i2c) { struct go7007 *go = i2c_get_adapdata(adapter); struct v4l2_device *v4l2_dev = &go->v4l2_dev; + struct i2c_board_info info; + + memset(&info, 0, sizeof(info)); + strlcpy(info.type, i2c->type, sizeof(info.type)); + info.addr = i2c->addr; - if (v4l2_i2c_new_subdev(v4l2_dev, adapter, type, addr, NULL)) + if (i2c->id == I2C_DRIVERID_WIS_TW2804) + info.flags |= I2C_CLIENT_TEN; + if (v4l2_i2c_new_subdev_board(v4l2_dev, adapter, &info, NULL)) return 0; - printk(KERN_INFO "go7007: probing for module i2c:%s failed\n", type); - return -1; + printk(KERN_INFO "go7007: probing for module i2c:%s failed\n", i2c->type); + return -EINVAL; } /* @@ -238,9 +249,7 @@ int go7007_register_encoder(struct go7007 *go) } if (go->i2c_adapter_online) { for (i = 0; i < go->board_info->num_i2c_devs; ++i) - init_i2c_module(&go->i2c_adapter, - go->board_info->i2c_devs[i].type, - go->board_info->i2c_devs[i].addr); + init_i2c_module(&go->i2c_adapter, &go->board_info->i2c_devs[i]); if (go->board_id == GO7007_BOARDID_ADLINK_MPG24) i2c_clients_command(&go->i2c_adapter, DECODER_SET_CHANNEL, &go->channel_number); @@ -571,7 +580,7 @@ struct go7007 *go7007_alloc(struct go7007_board_info *board, struct device *dev) struct go7007 *go; int i; - go = kmalloc(sizeof(struct go7007), GFP_KERNEL); + go = kzalloc(sizeof(struct go7007), GFP_KERNEL); if (go == NULL) return NULL; go->dev = dev; diff --git a/drivers/staging/media/go7007/go7007-priv.h b/drivers/staging/media/go7007/go7007-priv.h index b58c394..b7b939a 100644 --- a/drivers/staging/media/go7007/go7007-priv.h +++ b/drivers/staging/media/go7007/go7007-priv.h @@ -88,7 +88,7 @@ struct go7007_board_info { int audio_bclk_div; int audio_main_div; int num_i2c_devs; - struct { + struct go_i2c { const char *type; int id; int addr; diff --git a/drivers/staging/media/go7007/go7007-usb.c b/drivers/staging/media/go7007/go7007-usb.c index 5443e25..9dbf5ec 100644 --- a/drivers/staging/media/go7007/go7007-usb.c +++ b/drivers/staging/media/go7007/go7007-usb.c @@ -1110,9 +1110,6 @@ static int go7007_usb_probe(struct usb_interface *intf, } else { u16 channel; - /* set GPIO5 to be an output, currently low */ - go7007_write_addr(go, 0x3c82, 0x0000); - go7007_write_addr(go, 0x3c80, 0x00df); /* read channel number from GPIO[1:0] */ go7007_read_addr(go, 0x3c81, &channel); channel &= 0x3; @@ -1245,7 +1242,6 @@ static void go7007_usb_disconnect(struct usb_interface *intf) struct urb *vurb, *aurb; int i; - go->status = STATUS_SHUTDOWN; usb_kill_urb(usb->intr_urb); /* Free USB-related structs */ @@ -1269,6 +1265,7 @@ static void go7007_usb_disconnect(struct usb_interface *intf) kfree(go->hpi_context); go7007_remove(go); + go->status = STATUS_SHUTDOWN; } static struct usb_driver go7007_usb_driver = { diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index c184ad3..b8f2eb6 100644 --- a/drivers/staging/media/go7007/go7007-v4l2.c +++ b/drivers/staging/media/go7007/go7007-v4l2.c @@ -98,7 +98,7 @@ static int go7007_open(struct file *file) if (go->status != STATUS_ONLINE) return -EBUSY; - gofh = kmalloc(sizeof(struct go7007_file), GFP_KERNEL); + gofh = kzalloc(sizeof(struct go7007_file), GFP_KERNEL); if (gofh == NULL) return -ENOMEM; ++go->ref_count; @@ -953,6 +953,7 @@ static int vidioc_streamon(struct file *file, void *priv, } mutex_unlock(&go->hw_lock); mutex_unlock(&gofh->lock); + call_all(&go->v4l2_dev, video, s_stream, 1); return retval; } @@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv, mutex_lock(&gofh->lock); go7007_streamoff(go); mutex_unlock(&gofh->lock); + call_all(&go->v4l2_dev, video, s_stream, 0); return 0; } @@ -1832,5 +1834,6 @@ void go7007_v4l2_remove(struct go7007 *go) mutex_unlock(&go->hw_lock); if (go->video_dev) video_unregister_device(go->video_dev); - v4l2_device_unregister(&go->v4l2_dev); + if (go->status != STATUS_SHUTDOWN) + v4l2_device_unregister(&go->v4l2_dev); } diff --git a/drivers/staging/media/go7007/wis-saa7115.c b/drivers/staging/media/go7007/wis-saa7115.c index 46cff59..9065cc7 100644 --- a/drivers/staging/media/go7007/wis-saa7115.c +++ b/drivers/staging/media/go7007/wis-saa7115.c @@ -21,10 +21,17 @@ #include <linux/videodev2.h> #include <linux/ioctl.h> #include <linux/slab.h> +#include <media/v4l2-common.h> +#include <media/v4l2-ioctl.h> +#include <media/v4l2-subdev.h> +#include <media/v4l2-ctrls.h> +#include <media/v4l2-device.h> #include "wis-i2c.h" struct wis_saa7115 { + struct v4l2_subdev sd; + struct v4l2_ctrl_handler hdl; int norm; int brightness; int contrast; @@ -182,6 +189,15 @@ static u8 initial_registers[] = 0x00, 0x00, /* Terminator (reg 0x00 is read-only) */ }; +static const struct v4l2_subdev_core_ops wis_saa7115_core_ops = { +}; + +static const struct v4l2_subdev_video_ops wis_saa7115_video_ops = { +/* .s_routing = tw2804_s_video_routing, + .s_mbus_fmt = tw2804_s_mbus_fmt, + .s_stream = tw2804_s_stream,*/ +}; + static int write_reg(struct i2c_client *client, u8 reg, u8 value) { return i2c_smbus_write_byte_data(client, reg, value); @@ -197,10 +213,16 @@ static int write_regs(struct i2c_client *client, u8 *regs) return 0; } +inline struct wis_saa7115 *to_state(struct v4l2_subdev *sd) +{ + return container_of(sd, struct wis_saa7115, sd); +} + static int wis_saa7115_command(struct i2c_client *client, unsigned int cmd, void *arg) { - struct wis_saa7115 *dec = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_saa7115 *dec = to_state(sd); switch (cmd) { case VIDIOC_S_INPUT: @@ -395,11 +417,18 @@ static int wis_saa7115_command(struct i2c_client *client, return 0; } +static const struct v4l2_subdev_ops wis_saa7115_ops = { + .core = &wis_saa7115_core_ops, + .video = &wis_saa7115_video_ops, +// .video = &wis_sony_tuner_video_ops, +}; + static int wis_saa7115_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct i2c_adapter *adapter = client->adapter; struct wis_saa7115 *dec; + struct v4l2_subdev *sd; if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA)) return -ENODEV; @@ -407,13 +436,14 @@ static int wis_saa7115_probe(struct i2c_client *client, dec = kmalloc(sizeof(struct wis_saa7115), GFP_KERNEL); if (dec == NULL) return -ENOMEM; + sd = &dec->sd; + v4l2_i2c_subdev_init(sd, client, &wis_saa7115_ops); dec->norm = V4L2_STD_NTSC; dec->brightness = 128; dec->contrast = 64; dec->saturation = 64; dec->hue = 0; - i2c_set_clientdata(client, dec); printk(KERN_DEBUG "wis-saa7115: initializing SAA7115 at address %d on %s\n", @@ -431,8 +461,10 @@ static int wis_saa7115_probe(struct i2c_client *client, static int wis_saa7115_remove(struct i2c_client *client) { - struct wis_saa7115 *dec = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_saa7115 *dec = to_state(sd); + v4l2_device_unregister_subdev(sd); kfree(dec); return 0; } diff --git a/drivers/staging/media/go7007/wis-sony-tuner.c b/drivers/staging/media/go7007/wis-sony-tuner.c index 8f1b7d4..884a261 100644 --- a/drivers/staging/media/go7007/wis-sony-tuner.c +++ b/drivers/staging/media/go7007/wis-sony-tuner.c @@ -23,6 +23,9 @@ #include <media/tuner.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h> +#include <media/v4l2-subdev.h> +#include <media/v4l2-ctrls.h> +#include <media/v4l2-device.h> #include "wis-i2c.h" @@ -67,6 +70,8 @@ static struct sony_tunertype sony_tuners[] = { }; struct wis_sony_tuner { + struct v4l2_subdev sd; + struct v4l2_ctrl_handler hdl; int type; v4l2_std_id std; unsigned int freq; @@ -74,10 +79,32 @@ struct wis_sony_tuner { u32 audmode; }; +inline struct wis_sony_tuner *to_state(struct v4l2_subdev *sd) +{ + return container_of(sd, struct wis_sony_tuner, sd); +} + +static const struct v4l2_subdev_tuner_ops wis_sony_tuner_ops = { +}; + +static const struct v4l2_subdev_core_ops wis_sony_core_ops = { +/* .log_status = wis_sony_tuner_log_status, + .g_chip_ident = wis_sony_tuner_g_chip_ident, + .g_ext_ctrls = v4l2_subdev_g_ext_ctrls, + .try_ext_ctrls = v4l2_subdev_try_ext_ctrls, + .s_ext_ctrls = v4l2_subdev_s_ext_ctrls, + .g_ctrl = v4l2_subdev_g_ctrl, + .s_ctrl = v4l2_subdev_s_ctrl, + .queryctrl = v4l2_subdev_queryctrl, + .querymenu = v4l2_subdev_querymenu, + .s_std = wis_sony_tuner_s_std,*/ +}; + /* Basically the same as default_set_tv_freq() in tuner.c */ static int set_freq(struct i2c_client *client, int freq) { - struct wis_sony_tuner *t = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_sony_tuner *t = to_state(sd); char *band_name; int n; int band_select; @@ -220,7 +247,8 @@ static struct { static int mpx_setup(struct i2c_client *client) { - struct wis_sony_tuner *t = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_sony_tuner *t = to_state(sd); u16 source = 0; u8 buffer[3]; struct i2c_msg msg; @@ -336,7 +364,8 @@ static int mpx_setup(struct i2c_client *client) static int set_if(struct i2c_client *client) { - struct wis_sony_tuner *t = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_sony_tuner *t = to_state(sd); u8 buffer[4]; struct i2c_msg msg; int default_mpx_mode = 0; @@ -384,7 +413,8 @@ static int set_if(struct i2c_client *client) static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) { - struct wis_sony_tuner *t = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_sony_tuner *t = to_state(sd); switch (cmd) { #if 0 @@ -654,24 +684,33 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) return 0; } + +static const struct v4l2_subdev_ops wis_sony_ops = { + .core = &wis_sony_core_ops, + .tuner = &wis_sony_tuner_ops, +// .video = &wis_sony_tuner_video_ops, +}; + static int wis_sony_tuner_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct i2c_adapter *adapter = client->adapter; struct wis_sony_tuner *t; + struct v4l2_subdev *sd; if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_I2C_BLOCK)) return -ENODEV; - t = kmalloc(sizeof(struct wis_sony_tuner), GFP_KERNEL); + t = kzalloc(sizeof(struct wis_sony_tuner), GFP_KERNEL); if (t == NULL) return -ENOMEM; + sd = &t->sd; + v4l2_i2c_subdev_init(sd, client, &wis_sony_ops); t->type = -1; t->freq = 0; t->mpxmode = 0; t->audmode = V4L2_TUNER_MODE_STEREO; - i2c_set_clientdata(client, t); printk(KERN_DEBUG "wis-sony-tuner: initializing tuner at address %d on %s\n", @@ -682,8 +721,10 @@ static int wis_sony_tuner_probe(struct i2c_client *client, static int wis_sony_tuner_remove(struct i2c_client *client) { - struct wis_sony_tuner *t = i2c_get_clientdata(client); + struct v4l2_subdev *sd = i2c_get_clientdata(client); + struct wis_sony_tuner *t = to_state(sd); + v4l2_device_unregister_subdev(sd); kfree(t); return 0; } diff --git a/drivers/staging/media/go7007/wis-uda1342.c b/drivers/staging/media/go7007/wis-uda1342.c index 0127be2..83aa1b9 100644 --- a/drivers/staging/media/go7007/wis-uda1342.c +++ b/drivers/staging/media/go7007/wis-uda1342.c @@ -18,9 +18,14 @@ #include <linux/module.h> #include <linux/init.h> #include <linux/i2c.h> +#include <linux/slab.h> #include <linux/videodev2.h> #include <media/tvaudio.h> #include <media/v4l2-common.h> +#include <media/v4l2-ioctl.h> +#include <media/v4l2-subdev.h> +#include <media/v4l2-ctrls.h> +#include <media/v4l2-device.h> #include "wis-i2c.h" @@ -31,6 +36,9 @@ static int write_reg(struct i2c_client *client, int reg, int value) return 0; } +static const struct v4l2_subdev_audio_ops wis_uda1342_audio_ops = { +}; + static int wis_uda1342_command(struct i2c_client *client, unsigned int cmd, void *arg) { @@ -59,10 +67,16 @@ static int wis_uda1342_command(struct i2c_client *client, return 0; } +static const struct v4l2_subdev_ops wis_uda1342_ops = { +// .core = &wis_uda1342_core_ops, + .audio = &wis_uda1342_audio_ops, +}; + static int wis_uda1342_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct i2c_adapter *adapter = client->adapter; + struct v4l2_subdev *sd; if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WORD_DATA)) return -ENODEV; @@ -70,7 +84,11 @@ static int wis_uda1342_probe(struct i2c_client *client, printk(KERN_DEBUG "wis-uda1342: initializing UDA1342 at address %d on %s\n", client->addr, adapter->name); + sd=kzalloc(sizeof(struct v4l2_subdev), GFP_KERNEL); + if (sd == NULL) + return -ENOMEM; + v4l2_i2c_subdev_init(sd, client, &wis_uda1342_ops); write_reg(client, 0x00, 0x8000); /* reset registers */ write_reg(client, 0x00, 0x1241); /* select input 1 */ @@ -79,6 +97,10 @@ static int wis_uda1342_probe(struct i2c_client *client, static int wis_uda1342_remove(struct i2c_client *client) { + struct v4l2_subdev *sd = i2c_get_clientdata(client); + + v4l2_device_unregister_subdev(sd); + kfree(sd); return 0; }