[mythtv-users] IVTV stops working, can't use test_ioctl?

James S. White james at jameswhite.org
Wed Nov 19 09:35:26 EST 2003


If you cannot use cat /dev/video > capture.mpg than the mythtv list is not
the place to be asking... The ivtv-devel mailint list would be more likely
to help you. That being said, what version of the ivtv driver are you using?
I had a similar problem with ivtv creating zero byte files, and updating to
this :

http://www.kernel.org/pub/linux/kernel/people/axboe/ivtv/ivtv-031118A-0.12.tar.bz2

fixed it.

--------------------------------------------------------------
James S. White                      GAPS Incorporated
james at jameswhite.org                Electrical Engineer - Etc.
http://www.jameswhite.org           Caffeine is my anti-drug.
--------------------------------------------------------------
"If you think education is expensive, try ignorance" - Derek Bok

On Tue, 18 Nov 2003 rob.parkhill at shaw.ca wrote:

> Just wondering if anyone has seen this problem before.
>
> I had my PVR-250 up and running on RH9, kernel 2.4.20-8 by compiling IVTV from the latest CVS tarball (copying the videodev2.h file over.) Everything was working great, and I made a few test captures.
>
> But after a reboot, I can't make recordings anymore. When I try to set the video input using test_ioctl, I get:
>
>     # /usr/lib/ivtv/test_ioctl -p 6
>     ioctl: VIDIOC_S_INPUT
>     ioctl: VIDIOC_S_INPUT failed
>
> When I try to capture some video with "cat /dev/video0 > temp.mpg", the command immediately returns with no errors, and I get a 0 byte test.mpg file.
>
> /dev/video0 exists, and lspci shows that the PVR-250 is being recognized properly.
>
> The only slight wierdness is from dmesg:
>
> i2c-core.o: adapter unregistered: ivtv i2c driver #0
> ivtv: You've not seen the last of willy!
> ivtv: SGarray_size = 340, DSGarray_size = 16
> ivtv: Found an iTVC15 based chip
> tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
> i2c-core.o: client [Philips NTSC (FI1236 and compati] registered to adapter [ivtv i2c driver #0](pos. 0).
> saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
> i2c-core.o: client [saa7115[4]] registered to adapter [ivtv i2c driver #0](pos. 1).
> i2c-core.o: client [MSP3435G-B6] registered to adapter [ivtv i2c driver #0](pos. 2).
> i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0.
> ivtv: Encoder revision: 0x02040011
> ivtv: Decoder revision: 0x02020023
> ivtv: No mem on buf alloc!
> ivtv: Buffer alloc failed!
> ivtv: No mem on buf alloc!
> ivtv: Buffer alloc failed!
> ivtv: Device or minor 0 not accepted
> ivtv: Device or minor 1 not accepted
> ivtv: Device or minor 2 not accepted
> ivtv: Registered v4l2 device, minor 3
> ivtv: Registered v4l2 device, minor 32
> ivtv: Registered v4l2 device, minor 224
>
> I've also tries using axboe's ivtv driver, but I see the exact same behavior.
>
> Searching the ivtv mailing lists turns up nothing.
>
> Anyone have any ideas where to go from here?
>
> thanks...
>          Rob
>



More information about the mythtv-users mailing list