Re: go7007 question
On 9/10/2012 6:37 AM, vol...@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: GWC 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
Re: go7007 question
On Fri, Sep 07, 2012 at 06:18:31PM +0400, vol...@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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html