Hi All, I'm having some problems with my DC10+ and hope somebody could give me a hint where I can be looking, etc.
I'm using the DC10+ card, line input from a wireless camera. Unfortunately the wireless camera gets interference from other house devices (power supplies, microwave oven, etc), so sometimes the signal gets corrupted, and interference appears on its output. This seems to de-stabilise anything capturing from the driver, and requires applications to be killed and restarted. I'm trying to decide/find if this should be detected/handled in the software or kernel driver, so bear with me if this is nothing to do with the zoran kernel driver, please just tell me so! I'm calling the module: /sbin/insmod zr36067.ko card=2 v4l_buffsize=512 v4l_nbufs=32 debug=0 cat /proc/interrupts shows: 11: 430539787 XT-PIC DC10plus[0] (on its own IRQ) At init with debug: Zoran MJPEG board driver version 0.9.5 ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 MJPEG[0]: Zoran ZR36057 (rev 1) irq: 11, memory: 0xff8fe000. DC10plus[0]: Initializing i2c bus... DC10plus[0]: i2c_client_register() - driver id = 22 DC10plus[0]: i2c_client_register() - driver id = 48 DC10plus[0]: Initializing videocodec bus... DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888 ZORAN: 1 card(s) found DC10plus[0]: zr36057_init() - initializing card[0], zr=c7dbef60 DC10plus[0]: dc10plus_init() DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: Guests: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 DC10plus[0]: Detecting guests activity, please wait... DC10plus[0]: Guests: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 DC10plus[0]: 4430: 7 => 0x02 DC10plus[0]: 421: 7 => 0x01 DC10plus[0]: 20079: 7 => 0x03 DC10plus[0]: 421: 7 => 0x00 DC10plus[0]: 20084: 7 => 0x02 DC10plus[0]: 414: 7 => 0x01 DC10plus[0]: 21526: 7 => 0x03 DC10plus[0]: 420: 7 => 0x01 DC10plus[0]: interrupts received: GIRQ1:50 queue_state=0/0/0/0 DC10plus[0]: procfs entry /proc/zoran0 allocated. data=c7dbef60 And when my application is capturing: DC10plus[0]: zoran_open(motion, pid=[21655]), users(-)=0 DC10plus[0]: dc10plus_init() DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: VIDIOCGCAP DC10plus[0]: VIDIOCGCHAN - channel=0 DC10plus[0]: VIDIOCSCHAN - channel=0, norm=0 DC10plus[0]: VIDIOCGMBUF DC10plus[0]: mmap(V4L) of 0xa3c65000-0xa4c65000 (size=16777216) DC10plus[0]: VIDIOCMCAPTURE - frame=0, geom=352x288, fmt=15 DC10plus[0]: v4l_grab() - wrong bytes-per-pixel format DC10plus[0]: VIDIOCMCAPTURE - frame=0, geom=352x288, fmt=7 DC10plus[0]: set_vfe() - width = 352, height = 288 DC10plus[0]: VIDIOCMCAPTURE - frame=1, geom=352x288, fmt=7 DC10plus[0]: VIDIOCSYNC - frame=0 DC10plus[0]: VIDIOCMCAPTURE - frame=0, geom=352x288, fmt=7 DC10plus[0]: VIDIOCSYNC - frame=1 Which the last 4 lines then repeat constantly, until the application crashes reporting the following error: [1] sync error in proc 21724: Timer expired [1] mcapture error in proc 21724: Device or resource busy And this appears in debug: DC10plus[0]: VIDIOCSYNC - frame=0 DC10plus[0]: VIDIOCMCAPTURE - frame=0, geom=352x288, fmt=7 DC10plus[0]: set_vfe() - width = 352, height = 288 DC10plus[0]: VIDIOCSYNC - frame=1 DC10plus[0]: VIDIOCMCAPTURE - frame=1, geom=352x288, fmt=7 DC10plus[0]: munmap(V4L) DC10plus[0]: zoran_close(motion, pid=[21654]), users(+)=1 DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 DC10plus[0]: enable_jpg(IDLE) DC10plus[0]: interrupts received: GIRQ1:1346 queue_state=0/0/0/0 SO, to me, nothing seems to be generating an error, other than my application (which is motion by Kenneth Lavrsen) which seems to just detect that the device is timing out/device erroring. Thanks to anyone with info that might help! -- Andy w: http://www.thebmwz3.co.uk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users