public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Dustin Coates <dcoates@systemoverload.net>
To: Steven Toth <stoth@linuxtv.org>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] HVR-1800 Analouge Issues
Date: Tue, 30 Sep 2008 23:21:24 -0500	[thread overview]
Message-ID: <48E2FAC4.2020202@systemoverload.net> (raw)
In-Reply-To: <48E2EADB.3050209@systemoverload.net>

Dustin Coates wrote:
> Dustin Coates wrote:
>   
>> Steven Toth wrote:
>>     
>>> Dustin Coates wrote:
>>>       
>>>> Dustin Coates wrote:
>>>>         
>>>>> Steven Toth wrote:
>>>>>  
>>>>>           
>>>>>> Dustin Coates wrote:
>>>>>>  
>>>>>>             
>>>>>>>  
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>> *From:* linux-dvb-bounces@linuxtv.org 
>>>>>>> [mailto:linux-dvb-bounces@linuxtv.org] *On Behalf Of *Dustin Coates
>>>>>>> *Sent:* Thursday, September 25, 2008 7:36 PM
>>>>>>> *To:* linux-dvb@linuxtv.org
>>>>>>> *Subject:* [linux-dvb] HVR-1800 Analouge Issues
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>> Hi Everyone,
>>>>>>>
>>>>>>>  
>>>>>>>
>>>>>>>                 Ok I’ve recently decided to start seeing if I can 
>>>>>>> figure out the issue with the Analouge, on this card, first my 
>>>>>>> normal dmesg.
>>>>>>>       
>>>>>>>               
>>>>>> The analog encoder works fine for me.
>>>>>>
>>>>>> In my case the basic analog tuner is usually /dev/video0 and the 
>>>>>> encoder is video1.
>>>>>>
>>>>>> Launch tvtime (which opens video0) tune and everything is fine, 
>>>>>> then cat /dev/video1 >test.mpg is working as expected.
>>>>>>
>>>>>> - Steve
>>>>>>
>>>>>>
>>>>>>     
>>>>>>             
>>>>> Ok, TVTime works, still some static on a mostly the lower, and higher
>>>>> channels.
>>>>>
>>>>> Mythtv is only showing a green screen.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> linux-dvb mailing list
>>>>> linux-dvb@linuxtv.org
>>>>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>>>>   
>>>>>           
>>>> Mythbackend.log is showing these errors.
>>>>
>>>> VIDIOCGCHAN: Invalid argument
>>>> VIDIOCMCAPTUREi0: Invalid argument
>>>> VIDIOCMCAPTUREi1: Invalid argument
>>>> VIDIOCMCAPTURE0: Invalid argument
>>>> VIDIOCMCAPTURE1: Invalid argument
>>>>
>>>>
>>>> I think if i can get past these errors it might just work...
>>>>         
>>> When tvtime was running can you try cat /dev/video1 >test.mpg as I 
>>> suggested?
>>>
>>> - Steve
>>>       
>> OK, when i load tvtime as tvtime --device=/dev/video1
>>
>> I get the an error.
>>
>> Videoinput: Driver refuses to set norm: Invalid argument
>>
>> When i load tvtime as /dev/video0
>>
>> I get a picture, but it's interlaced with a lot of static
>>
>> Then when i try to cat /dev/video0 i get a Device or resource busy
>>
>> cat /dev/video1, no errors . I play the file, and i get static, barley 
>> see picture, i can hear audio though.
>>
>> Uploaded the video file to: (only 14MB) 
>> http://systemoverload.net/test.mpg
>>
>> When  i set it up in mythtv i set it up as an analogue card.
>>
>> Setting it to /dev/video1 gives me these errors in mythbackend.log.
>>
>> 2008-09-29 16:15:40.761 Channel(/dev/video1) Error: 
>> SetInputAndFormat(2, NTSC)
>>            while setting format (v4l v2)
>>            eno: Invalid argument (22)
>> 2008-09-29 16:15:40.763 Channel(/dev/video1) Error: 
>> SetInputAndFormat(2, NTSC)
>>            while setting format (v4l v2)
>>            eno: Invalid argument (22)
>> 2008-09-29 16:15:40.764 Channel(/dev/video1) Error: 
>> SetInputAndFormat(2, ATSC)
>>            while setting format (v4l v2)
>>            eno: Invalid argument (22)
>> 2008-09-29 16:15:40.765 Channel(/dev/video1): SetInputAndFormat() failed
>> 2008-09-29 16:15:40.765 TVRec(2) Error: Failed to set channel to 2.
>> 2008-09-29 16:15:40.787 TVRec(2) Error: GetProgramRingBufferForLiveTV()
>>            ProgramInfo is invalid.
>> ProgramInfo: channame() startts(Mon Sep 29 16:15:40 2008) endts(Mon 
>> Sep 29 16:15:40 2008)
>>             recstartts(Mon Sep 29 16:15:40 2008) recendts(Mon Sep 29 
>> 16:15:40 2008)
>>             title()
>> VIDIOCGMBUF:: Invalid argument
>> 2008-09-29 16:15:41.849 AutoExpire: CalcParams(): Max required Free 
>> Space: 2.0 GB w/freq: 15 min
>> 2008-09-29 16:16:21.869 TVRec(2): Changing from WatchingLiveTV to None
>> 2008-09-29 16:16:21.888 Finished recording : channel 4294967295
>> 2008-09-29 16:16:21.892 scheduler: Finished recording: : channel 
>> 4294967295
>>
>> Setting it to /dev/video0 gives me the errors posted in my last email.
>>
>>
>>     
>
> To update myself.
>
> I got it working in mythtv. Still *alot *of static. Hangs on changing 
> channels in mythtv.
>
> Errors in dmesg are these.
>
> [ 4538.192246] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.193849] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.195655] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.204829] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.206956] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.208796] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.231697] format_by_fourcc(0x32315559) NOT FOUND
> [ 4538.250161] format_by_fourcc(0x32315559) NOT FOUND
> [ 4909.035067] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.035089] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.035106] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.035123] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.035138] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_AUDIO_PROPERTIES
> [ 4909.035880] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.035897] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_BIT_RATE
> [ 4909.037081] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4909.037097] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_BIT_RATE
> [ 4909.038460] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
> [ 4910.041384] Firmware and/or mailbox pointer not initialized or 
> corrupted, signature = 0xfeffffff, cmd = PING_FW
>
>
> I belive if we can get these sorted out....it will be working good
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>   
I figured out the format_by_fourcc errors are due to an incorrect 
compression format set in cx23885-video.c. Refering to this post, 
http://www.mail-archive.com/linux-dvb@linuxtv.org/msg29935.html. I made 
the changes suggest. The errors are gone, but video is black, audio is 
static on and off. Akin to switching channels when the cable is out.

So question. How would i go about finding the correct compression format 
for the HVR-1800. I think this would bring us one step closer...

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-10-01  4:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26  0:36 [linux-dvb] HVR-1800 Analouge Issues Dustin Coates
2008-09-29  5:01 ` Dustin Coates
2008-09-29 18:10   ` Steven Toth
2008-09-29 19:47     ` Dustin Coates
2008-09-29 20:09       ` Dustin Coates
2008-09-29 21:01         ` Steven Toth
2008-09-29 21:22           ` Dustin Coates
2008-10-01  3:13             ` Dustin Coates
2008-10-01  4:21               ` Dustin Coates [this message]
2008-10-01  4:54                 ` Dustin Coates
2008-10-07  3:34                   ` Dustin Coates
2008-10-07 15:21                     ` Steven Toth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48E2FAC4.2020202@systemoverload.net \
    --to=dcoates@systemoverload.net \
    --cc=linux-dvb@linuxtv.org \
    --cc=stoth@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox