Mailing List Archive

Re: [ivtv-devel] lircd / MythTV
[ We should move this to the mythtv-users mailing-list. ]

This is a common problem; the procedure that I've been suggesting:

- patch < v4l2 patches > kernel-source
- comment out the inclusion of time.h in
kernel-source/include/linux/videodev2.h as per Isaac
- cp kernel-source/include/linux/videodev*.h /usr/include/linux
- build and reboot under new kernel
[0] - update myth from cvs and build cleanly
- update ivtv drivers from cvs and build
- unload any previously-loaded v4l modules (specifically msp34xx)
- follow ivtv/doc/capturing.txt to insert modules in proper order

Please let us know if this works for you so that it can eventually get
rolled into the Myth documentation.

[0] Added since last post.


#if d18c7db /* Apr 27, 07:40 */
> With MythTV I get this when I start the backend:
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 open on minor 0
> Apr 27 07:38:43 spunk kernel: ivtv: current minor 0
> Apr 27 07:38:43 spunk kernel: ivtv: opened card # 0, stream 0
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 ioctl 0xc0347604
> Apr 27 07:38:43 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0xc0347604
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 ioctl 0x40347605
> Apr 27 07:38:43 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0x40347605
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 ioctl 0x803c7601
> Apr 27 07:38:43 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0x803c7601
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 ioctl 0xc0307602
> Apr 27 07:38:43 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0xc0307602
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 ioctl 0x40307603
> Apr 27 07:38:43 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0x40307603
> Apr 27 07:38:43 spunk kernel: ivtv: v4l2 close
>
> And this when I start the frontend and hit "Watch TV":
> Apr 27 07:41:01 spunk kernel: ivtv: v4l2 open on minor 0
> Apr 27 07:41:01 spunk kernel: ivtv: current minor 0
> Apr 27 07:41:01 spunk kernel: ivtv: opened card # 0, stream 0
> Apr 27 07:41:01 spunk kernel: ivtv: v4l2 ioctl 0x803c7601
> Apr 27 07:41:01 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0x803c7601
> Apr 27 07:41:01 spunk kernel: ivtv: v4l2 ioctl 0x40287611
> Apr 27 07:41:01 spunk kernel: ivtv: ivtv-api.c: unknown ioctl 0x40287611
>
> No video comes up and the MythTV interface does not respond to keys
> anymore, I have to Alt-Tab to shell and ctrl-C it to kill.
> Was there anything special I have to do the get MythTV to work with the
> 250 ?