[mythtv-users] Hauppauge WinTV - At my wits end!

Mike Lowrie mlowrie at vendetta.ca
Thu Mar 9 05:17:40 UTC 2006


Mike Lowrie wrote:
> MagicITX wrote:
>   
>> On 3/8/06, William <wmunson at rochester.rr.com> wrote:
>>   
>>     
>>>> I purchased a cheap card to try out MythTV before taking the
>>>> plunge and
>>>> getting a more expensive card. I have a Hauppauge WinTV  model 38061,
>>>> rev B226. The card works fine with xawtv, all the channels
>>>> can be tuned
>>>> in, no problems.
>>>>
>>>> I have followed the setup instructions exactly and can't get this to
>>>> work. Problems arise when I try to add a capture device when running
>>>> mythtv-setup.
>>>>       
>>>>         
>>> What happens when you do a cat /dev/video > test.mpg?
>>>
>>> Do you capture a segment of video or snow? Try to divide the problem into
>>> smaller pieces to figure out if its the driver or myth.
>>>
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>
>>>     
>>>       
>> It isn't a card with onboard mpeg encoding so the output of 'cat
>> /dev/video0' will be raw video.
>>
>> Mike, do you go through setup and assign the capture device to a
>> channel listing?  (Or is it video source to channel listing?)  What
>> happens when you try to watch tv?
>>   
>>     
> Tim.,
>
> When I select "Input Connections", the system attempts to connect to  
> the [ 0: 00:00:00 ] device which of course does not exist.
>
> Also, when I set up the video sources, I give it a name and download the 
> Datadirect listings with my l/p, and when I click finish, the video 
> source is listed as '0', not what I called it.
>
> Looking at the SQL commands, it is entering it into the database:
> 2006-03-08 10:59:47.186 MSqlQuery: INSERT INTO videosource (sourceid) 
> VALUES (0);
> 2006-03-08 10:59:47.186 MSqlQuery: SELECT LAST_INSERT_ID();
> 2006-03-08 10:59:47.187 MSqlQuery: SELECT * FROM videosource WHERE 
> sourceid = 2;
> 2006-03-08 10:59:47.188 MSqlQuery: UPDATE videosource SET sourceid = 2, 
> name = 'testsource' WHERE sourceid = 2;
> 2006-03-08 10:59:47.189 MSqlQuery: SELECT * FROM videosource WHERE 
> sourceid = 2;
> 2006-03-08 10:59:47.190 MSqlQuery: UPDATE videosource SET sourceid = 2, 
> xmltvgrabber = 'datadirect' WHERE sourceid = 2;
> 2006-03-08 10:59:47.191 MSqlQuery: SELECT * FROM videosource WHERE 
> sourceid = 2;
> 2006-03-08 10:59:47.192 MSqlQuery: UPDATE videosource SET sourceid = 2, 
> userid = 'mlowrie' WHERE sourceid = 2;
> 2006-03-08 10:59:47.192 MSqlQuery: SELECT * FROM videosource WHERE 
> sourceid = 2;
> 2006-03-08 10:59:47.193 MSqlQuery: UPDATE videosource SET sourceid = 2, 
> password = 'a1a07783' WHERE sourceid = 2;
>
> But for whatever reason, testsource is never listed, its always listed 
> as '0'.
>
> Ok, Something is definitely wrong with my setup here. Even going through 
> the General Setup, if I change the IP, go through the rest of the pages, 
> and go back into General Setup, the IP's are listed as '0'.
>
> I think my capture device is working fine. I think something is wrong 
> with MythTV obtaining/parsing data from MySQL.
>
> Mike
> _______________________________________________
>
>   
I figured out what was happening. I had a suspicion that the 
MythTV<->MySQL communication was somehow not happening. I recompiled QT 
with the MySQL 5.0.18 headers and everything seems to work fine now.

When I originally compiled QT, I was using an older version of MySQL, so 
maybe the newer DB with older headers is not compatible. Not sure. 
Something else may have occurred.

Thanks for the help though.

Mike



More information about the mythtv-users mailing list