Re: [Icewing-user] Problems intializing v4l-device in iceWing [5th update]
Brought to you by:
floemker
From: Axel H. <ahaasch@TechFak.Uni-Bielefeld.DE> - 2006-10-10 11:22:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, you're correct, I'm using the svideo input, not composite. Therefore I just tried out your proposals but neither doesn't work. In the following you see the output of the correct input=1: S-Video. I kicked out most of the redundant lines but nevertheless it looks as bad as with the wrong input used. Axel Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: zoran_open(icewing, pid=[13372]), users(-)=0 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: check_jpg_settings() - dec: 1, Hdcm: 1, Vdcm: 1, Tdcm: 1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: check_jpg_settings() - x: 0, y: 0, w: 768, y: 288 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: dc10plus_init() Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: enable_jpg(IDLE) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: UNKNOWN ioctl cmd: 0xc0685624 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: UNKNOWN ioctl cmd: 0xc0685624 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: UNKNOWN ioctl cmd: 0xc0385602 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_STREAMOFF Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: zoran_close(icewing, pid=[13372]), users(+)=1 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: enable_jpg(IDLE) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: interrupts received: GIRQ1:6 queue_state=0/0/0/0 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: zoran_close() done Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: zoran_open(icewing, pid=[13372]), users(-)=0 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: check_jpg_settings() - dec: 1, Hdcm: 1, Vdcm: 1, Tdcm: 1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: check_jpg_settings() - x: 0, y: 0, w: 768, y: 288 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: dc10plus_init() Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x00000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: enable_jpg(IDLE) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=9963776 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_G_CTRL - id=9963776 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=9963777 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_G_CTRL - id=9963777 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=9963778 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_G_CTRL - id=9963778 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=9963779 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_G_CTRL - id=9963779 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=9963780 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYCTRL - id=134217728 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=0 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=2 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=3 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=4 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=5 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUM_FMT - index=6 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_TRY_FMT - type=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_S_FMT - type=1, size=768x576, fmt=0x56595559 (YUYV) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_S_CTRL - id=134217732 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUMINPUT - index=0 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUMINPUT - index=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUMINPUT - index=2 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_ENUMINPUT - index=3 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_S_INPUT - input=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_REQBUFS - type=1 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: v4l_fbuffer_alloc() - using 1800 KB high memory Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYBUF - index=0, type=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: mmap(V4L) of 0x40816000-0x408f7000 (size=921600) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QUERYBUF - index=1, type=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: mmap(V4L) of 0x408f7000-0x409d8000 (size=921600) Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QBUF - type=1, index=0 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_QBUF - type=1, index=1 Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: VIDIOC_STREAMON Oct 10 13:15:16 Aphrodite kernel: DC10plus[0]: set_vfe() - width = 768, height = 576 Oct 10 13:15:16 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x41000000 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: zoran_poll() - no buffers queued Oct 10 13:15:17 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x41000000 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: zoran_poll() - no buffers queued Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: zoran_poll() - no buffers queued Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: VIDIOC_STREAMOFF Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: munmap(V4L) Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: munmap(V4L) Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: zoran_close(icewing, pid=[13371]), users(+)=1 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: v4l_fbuffer_free() Oct 10 13:15:17 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:17 Aphrodite kernel: zoran_irq: astat: 0x40000000, mask: 0x01000000 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: enable_jpg(IDLE) Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: interrupts received: GIRQ1:60 queue_state=0/0/0/0 Oct 10 13:15:17 Aphrodite kernel: DC10plus[0]: zoran_close() done Frank Loemker wrote, On 10.10.2006 13:13: > Hello, > > On Tue, Oct 10, 2006 at 12:59:51PM +0200, Axel Haasch wrote: >> Ok, I changed the options for the kernel module like this and reloaded it: >> >> zr36067 debug=4 default_norm=0 lock_norm=0 pass_through=1 v4l_bufsize=900 v4l_nbufs=2 >> >> Attached, you'll find the output of >> >>> icewing -sg v debug >> and my /var/log/messages entries. So far I see nothing unusual except the >> lines >> >> UNKNOWN ioctl cmd: 0xc068562 > > That's ok. iceWing first tries to access the grabber via a slightly older V4L2 > interface. If this fails the current programming interface is used. As the > driver complies to the current interface, the old accessing method gives the > error messages. > >> ./icewing -sg v debug >> ... >> v4l2: Using format 4: YUYV Size: 768x576 >> v4l2: Unable to switch of AGC! >> v4l2: Available video inputs: >> 0: Composite >> 1: S-Video >> 2: Internal/comp >> v4l2: Using input 0 > > A short question before I check the complete /var/log/messages log: > Is input 0, i.e. composite, the correct input? If not, try to start iceWing > with the command: > > icewing -sg v debug:input=1 > or > icewing -sg v debug:input=2 > > depending on which input is the correct one. > Will check the log's next. > > Bye, > - -- Int. Conference on Computer Vision Systems 07: Vision Systems in the Real World 21st-24th March, Bielefeld, Germany http://www.icvs2007.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQEVAwUBRSuCYDuI6ru3QAHZAQrJsQf/eptHajb1/fBMnxJBTBzJihhgx0ip691I WKAu9a5vyBcJ9glKstmSuX98ktbpPD3PxDx4xdJXiPlFEO2xiamUY2L1QvfRbg7S xXTl8mqjvVZRhZtDQzs2tkXPNtnAYpOnlxr+RQo/Fc2EXDT2IRkiW6IwjlbOCS6s 5bW94yvSm6j5IoZ0RKw9odI+sSkaKeIx0ZiDX+408kOepZo9V75bcJWne1HZnQ0M htvLQRuJT0ptpVDU+cCMcWfaT5gKaUf9dx7U28EPTiuFZXX3kcTYAOoIUjPIdKxE VXICdF49U1mYkOgGVOu8sdfLjzzd7foe+mHQfVDx+aaF+g9PlWlNjg== =I7Ey -----END PGP SIGNATURE----- |