[mythtv-users] 0.25-master does not work with IVTV - Inappropriate ioctl for device

Saul A. Peebsen jaglover at gmail.com
Sat Mar 24 23:02:50 UTC 2012


On Sat, 24 Mar 2012 10:20:32 -0500
Anthony Messina <amessina at messinet.com> wrote:

> On 03/21/2012 06:30 PM, Saul A. Peebsen wrote:
> > On Thu, 22 Mar 2012 11:56:30 +1300
> > Nick Rout <nick.rout at gmail.com> wrote:
> > 
> >> > On Thu, Mar 22, 2012 at 11:25 AM, Saul A. Peebsen
> >> > <jaglover at gmail.com> wrote:
> >>> > > A snippet of BE log is below, I built it with IVTV enabled. I
> >>> > > do not know how many times I have tried 0.25, my 2250 never
> >>> > > worked, still not working ... I wonder what am I missing?
> >>> > >
> >>> > > 2012-03-21 17:12:59.504515 I  Connected to database
> >>> > > 'mythconverg' at host: localhost 2012-03-21 17:12:59.506553
> >>> > > I  TVRec(7): HW Tuner: 7->7 2012-03-21 17:12:59.515583 E
> >>> > > ormat_to_mode() does not recognize V4L 2012-03-21
> >>> > > 17:12:59.537906 I V4LChannel(/dev/video1):
> >>> > > SetInputAndFormat(7, NTSC) (v4l v2) input_switch: 0
> >>> > > mode_switch: 1 2012-03-21 17:12:59.842218 N AutoExpire:
> >>> > > CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
> >>> > > 2012-03-21 17:12:59.932753 N  AutoExpire: CalcParams(): Max
> >>> > > required Free Space: 2.0 GB w/freq: 15 min 2012-03-21
> >>> > > 17:12:59.942850 E
> >>> > > RecordingInfo::InsertProgram(ProgramInfo(1066_20120321171259.mpg):
> >>> > > channame(TV Land) startts(Wed Mar 21 17:00:00 2012) endts(Wed
> >>> > > Mar 21 17:30:00 2012) recstartts(Wed Mar 21 17:12:59 2012)
> >>> > > recendts(Wed Mar 21 17:32:00 2012) title(M*A*S*H)): recording
> >>> > > already exists... 2012-03-21 17:12:59.958621 I  Database
> >>> > > connection created: DBManager10 2012-03-21 17:12:59.958641 I
> >>> > > New DB connection, total: 10 2012-03-21 17:12:59.958934 I
> >>> > > Connected to database 'mythconverg' at host: localhost
> >>> > > 2012-03-21 17:12:59.970561 W MPEGRec(/dev/video1):
> >>> > > StartEncoding failed eno: Inappropriate ioctl for device (25)
> >> > 
> >> > Is this the same or realted to this error:
> >> > http://www.gossamer-threads.com/lists/mythtv/users/509446
> > Hard to tell, I'll try the patch tomorrow. 
> >  
> >> > Also are you sure your video device has not moved?
> > I'm sure, I did not shut down the PC and I verified everything is in
> > place running mythtv-setup.
> 
> Patch submitted:
> http://code.mythtv.org/trac/ticket/10501
> 

Thanks for the patch. :)

I was hoping 0.25 will work for me the very first time ...
unfortunately I did a 'git pull' and now it doesn't build any more ... 

g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG
-fomit-frame-pointer -fPIC -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3
-fvisibility-inlines-hidden -Wmissing-declarations -fno-strict-aliasing
-fvisibility=hidden -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE
-DRUNPREFIX=\"/usr/local\" -DLIBDIRNAME=\"lib\" -DMBASE_API -Dlinux
-DUSING_LIBUDF -DUSING_X11 -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4
-I/usr/include -I/usr/local -I/usr/include/libxml2 -I. -o logging.o
logging.cpp logging.cpp: In function 'void LogPrintLine(uint64_t,
LogLevel_t, const char*, int, const char*, int, const char*, ...)':
logging.cpp:1059:22: error: invalid conversion from 'const char*' to
'char*' [-fpermissive]

Hope it will be sorted soon.

-- 
Cheers, Saul


More information about the mythtv-users mailing list