From: "Dustin Coates" <dcoates@systemoverload.net>
To: "'Dustin Coates'" <dcoates@systemoverload.net>,
"'Steven Toth'" <stoth@linuxtv.org>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] HVR-1800 Analouge Issues
Date: Mon, 6 Oct 2008 22:34:18 -0500 [thread overview]
Message-ID: <002d01c9282d$9494aa20$bdbdfe60$@net> (raw)
In-Reply-To: <48E3026A.6050904@systemoverload.net>
Dustin Coates wrote:
> 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
>
With a little tinkering i got rid of the forcecc error by changing one
line in the cx23885-video.c, while keeping the video as it is...
diff -r cx23885-video.c cx23885-video.bak
148c148
< .depth = 16,
---
> .depth = 32,
Still same old static picture on the video (refer to uploaded video
earlier post). Hangs while changing channels. Still getting the firmware
errors.
[ 170.043529] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.043552] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.043568] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.043584] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.043600] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_AUDIO_PROPERTIES
[ 170.044920] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.044937] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_BIT_RATE
[ 170.046521] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 170.046536] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_BIT_RATE
[ 170.047762] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = SET_OUTPUT_PORT
[ 171.045396] Firmware and/or mailbox pointer not initialized or
corrupted, signature = 0xfeffffff, cmd = PING_FW
[Dustin Coates]
Well, I've blacklisted the module, I'm tired of fooling with it, and not
getting any help. Guess it's a $140 paper weight till sometimes gets time or
cares.
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next prev parent reply other threads:[~2008-10-07 3:34 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
2008-10-01 4:54 ` Dustin Coates
2008-10-07 3:34 ` Dustin Coates [this message]
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='002d01c9282d$9494aa20$bdbdfe60$@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