[mythtv-users] 0.25 and V4L not working

Anthony Messina amessina at messinet.com
Sat Mar 24 15:04:00 UTC 2012


On 03/23/2012 11:34 PM, Anthony Messina wrote:
> On 03/23/2012 10:54 PM, Anthony Messina wrote:
>> > On 03/21/2012 03:50 PM, Michael T. Dean wrote:
>>>> >> > On 03/20/2012 08:30 PM, Eric B wrote:
>>>>>> >>> >> Hello all, I was just decided to update my system to 0.25 today and I
>>>>>> >>> >> noticed that my V4L card no longer workings in 0.25.
>>>>>> >>> >> The card works fine in tvtime and in 0.24. However it is totally
>>>>>> >>> >> broken in 0.25. The card is a pinnacle 800i.. nothing special
>>>>>> >>> >>
>>>>>> >>> >> http://www.linuxtv.org/wiki/index.php/Pinnacle_PCTV_HD_Card_%28800i%29
>>>>>> >>> >>
>>>>>> >>> >> I'm not sure if this is a bug or something weird with the 0.24 to 0.25
>>>>>> >>> >> update..  Anyone have any idea on how to fix this?
>>>> >> > 
>>>> >> > What distro?  Where did you get MythTV (from a package or
>>>> >> > built-from-source)?  What MythTV version (output of mythbackend
>>>> >> > --version)?  What did you use for configure options?  What is the output
>>>> >> > of:
>>>> >> > 
>>>> >> > find /usr/include -name '*videodev*'
>>>> >> > 
>>>> >> > Please do a:
>>>> >> > 
>>>> >> > make distclean
>>>> >> > 
>>>> >> > on your repo, then apply the attached patch to the tree (from inside the
>>>> >> > top directory of your mythtv repo--the one that contains mythtv and
>>>> >> > mythplugins and checksums and such):
>>>> >> > 
>>>> >> > patch -Np1 -i /path/to/mythtv-add_v4l1_header.patch
>>>> >> > 
>>>> >> > then re-configure, make, make install and see if it works.  Then, report
>>>> >> > back with results of the test, and the answers to the above questions.
>>>> >> > 
>>>> >> > Thanks,
>>>> >> > Mike
>>>> >> > 
>>>> >> > 
>>>> >> > _______________________________________________
>>>> >> > mythtv-users mailing list
>>>> >> > mythtv-users at mythtv.org
>>>> >> > http://www.mythtv.org/mailman/listinfo/mythtv-users
>> > 
>> > I'm having a similar issue with the HVR-2250.  The patch provided
>> > applied, but wouldn't build properly.  I'm going to try the attached
>> > patch.  -A
> Which did not work, unfortunately:
> 
>  23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23 23:30:03.343125 I
>  Updating status for "Inside March Madness" on cardid 9 (Tuning =>
> Recording)
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.468654 I  TVRec(9): rec->GetPathname():
> '/srv/video/tv1/2033_20120323233000.mpg'
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.487784 E  V4LRec(9:/dev/video0): Can't open vbi device: ''
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.487872 I  Database connection created: DBManager15
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.487900 I  New DB connection, total: 13
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.500246 W  MPEGRec(/dev/video0): StartEncoding failed
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: eno: Inappropriate ioctl
> for device (25)
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.500252 E  MPEGRec(/dev/video0): Failed to start recording
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: 2012-03-23
> 23:30:03.500554 W  MPEGRec(/dev/video0): StopEncoding failed
> Mar 23 23:30:03 mythtv-fe1 mythbackend[22496]: eno: Inappropriate ioctl
> for device (25)
> 
> 
> I'll take a better look tomorrow.  So much for the quick fix ;) -A

According to
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=9190d191b1b814dfb488125b54cf0de6eedd9220...


The attached patch works, but the logs are running constantly with
entries like:

MPEGRec(/dev/video0): FormatCC(0x45d6,0xc4c8)

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-0.25-v4l2_EINVAL_ENOTTY.patch
Type: text/x-patch
Size: 1074 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20120324/f3cfbc0e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20120324/f3cfbc0e/attachment-0001.bin 


More information about the mythtv-users mailing list