Re: [linux-dvb] Testing HVR1800

2008-01-22 Thread Steven Toth
Chaogui Zhang wrote:
> On Jan 22, 2008 1:45 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
>>
>>
>> Chaogui Zhang wrote:
>>> On Jan 22, 2008 5:38 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
>>> [snip]
 So I spoke a bit too soon. For whatever reason it started working in
 Myth, although I still can't get a good cat /dev/video1.  BUt I can't
 change the channel.  When I try and change the channel Mythfrontend
 reports an error and the exits back to the menu.  When I go back into
 livetv it is on the same original channel and there is no audio.  If I
 exit out and go back in I get audio back, but still can;t change the
 channel.

>>> Although I don't have the HVR1800...
>>>
>>> In my experience, it is generally easier to test a new driver if you
>>> use simpler applications such as tvtime, azap/dvbscan. These programs
>>> will tell you pretty quickly whether the device and its driver are
>>> working properly or not. Once you are sure the drivers are working
>>> properly, then move on to your favorite media center or any other
>>> program.
>>>
>>> Trying to test device driver with MythTV sometimes muddles the water
>>> too much and you won't know whether it is a problem with the driver or
>>> the application.
>>>
>> I don't think a cat /dev/video1 can get much simpler.  But in this case
>> I am getting results that would appear to be reversed.  The simpler
>> testing method is giving poor results, while the more complex
>> application is giving better results, although not 100%.
>>
> 
> Is the device properly initialized by the driver when you did "cat
> /dev/video1"? Is it tuned to the right channel/frequency/source input?
> "cat /dev/video1" itself lacks the ability to control the device and
> therefore you won't be able to test the driver's ability to change
> channels, for example, without relying on another application.
> 

The driver needs more work, especially for dealing with channel changes 
(and maybe other ioctls).   cat /dev/video1 works fine for me.

- Steve

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


Re: [linux-dvb] Testing HVR1800

2008-01-22 Thread Chaogui Zhang
On Jan 22, 2008 1:45 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
>
>
>
> Chaogui Zhang wrote:
> > On Jan 22, 2008 5:38 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
> > [snip]
> >> So I spoke a bit too soon. For whatever reason it started working in
> >> Myth, although I still can't get a good cat /dev/video1.  BUt I can't
> >> change the channel.  When I try and change the channel Mythfrontend
> >> reports an error and the exits back to the menu.  When I go back into
> >> livetv it is on the same original channel and there is no audio.  If I
> >> exit out and go back in I get audio back, but still can;t change the
> >> channel.
> >>
> >
> > Although I don't have the HVR1800...
> >
> > In my experience, it is generally easier to test a new driver if you
> > use simpler applications such as tvtime, azap/dvbscan. These programs
> > will tell you pretty quickly whether the device and its driver are
> > working properly or not. Once you are sure the drivers are working
> > properly, then move on to your favorite media center or any other
> > program.
> >
> > Trying to test device driver with MythTV sometimes muddles the water
> > too much and you won't know whether it is a problem with the driver or
> > the application.
> >
>
> I don't think a cat /dev/video1 can get much simpler.  But in this case
> I am getting results that would appear to be reversed.  The simpler
> testing method is giving poor results, while the more complex
> application is giving better results, although not 100%.
>

Is the device properly initialized by the driver when you did "cat
/dev/video1"? Is it tuned to the right channel/frequency/source input?
"cat /dev/video1" itself lacks the ability to control the device and
therefore you won't be able to test the driver's ability to change
channels, for example, without relying on another application.

-- 
Chaogui Zhang

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


Re: [linux-dvb] Testing HVR1800

2008-01-22 Thread Barry Quiel


Chaogui Zhang wrote:
> On Jan 22, 2008 5:38 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
> [snip]
>> So I spoke a bit too soon. For whatever reason it started working in
>> Myth, although I still can't get a good cat /dev/video1.  BUt I can't
>> change the channel.  When I try and change the channel Mythfrontend
>> reports an error and the exits back to the menu.  When I go back into
>> livetv it is on the same original channel and there is no audio.  If I
>> exit out and go back in I get audio back, but still can;t change the
>> channel.
>>
> 
> Although I don't have the HVR1800...
> 
> In my experience, it is generally easier to test a new driver if you
> use simpler applications such as tvtime, azap/dvbscan. These programs
> will tell you pretty quickly whether the device and its driver are
> working properly or not. Once you are sure the drivers are working
> properly, then move on to your favorite media center or any other
> program.
> 
> Trying to test device driver with MythTV sometimes muddles the water
> too much and you won't know whether it is a problem with the driver or
> the application.
> 

I don't think a cat /dev/video1 can get much simpler.  But in this case 
I am getting results that would appear to be reversed.  The simpler 
testing method is giving poor results, while the more complex 
application is giving better results, although not 100%.


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


Re: [linux-dvb] Testing HVR1800

2008-01-22 Thread Chaogui Zhang
On Jan 22, 2008 5:38 PM, Barry Quiel <[EMAIL PROTECTED]> wrote:
[snip]
>
> So I spoke a bit too soon. For whatever reason it started working in
> Myth, although I still can't get a good cat /dev/video1.  BUt I can't
> change the channel.  When I try and change the channel Mythfrontend
> reports an error and the exits back to the menu.  When I go back into
> livetv it is on the same original channel and there is no audio.  If I
> exit out and go back in I get audio back, but still can;t change the
> channel.
>

Although I don't have the HVR1800...

In my experience, it is generally easier to test a new driver if you
use simpler applications such as tvtime, azap/dvbscan. These programs
will tell you pretty quickly whether the device and its driver are
working properly or not. Once you are sure the drivers are working
properly, then move on to your favorite media center or any other
program.

Trying to test device driver with MythTV sometimes muddles the water
too much and you won't know whether it is a problem with the driver or
the application.

-- 
Chaogui Zhang

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


Re: [linux-dvb] Testing HVR1800

2008-01-22 Thread Barry Quiel


Barry Quiel wrote:
> Steven Toth wrote:
>> Barry Quiel wrote:
>>> I'm testing the HVR1800 driver (analog portion) out of 
>>> hg/~stoth/cx23885-video and am getting the following error in the 
>>> message log:
>>>
>>> kernel: cx25840' 4-0044: unable to open firmware v4l-cx23885-avcore-01.fw
>>>
>>> Which makes sense because I can't find that file anywhere on my 
>>> system.   It also isn't included in truck or ~stoth/cx23885-video 
>>> repositories.
>> http://steventoth.net/linux/hvr1800/
>>
>> - Steve
> 
> 
> So I've been trying to test the analog part of this card and its not 
> going well.  That's not to say that the driver doesn't work, I'm sure 
> its something I trying to do.  The DVB portion is working fine.  I'm 
> trying to test using MythTV.
> 
> First off the driver is creating 2 video devices in /dev.  I'm guessing 
> that one of them is the analog card with MPEG2 encoder support and the 
> other is just a the frame grabber.  When I select /dev/video1 ( I used 
> ivtv_first_minor to move off the PVR500 /dev links ) in the MythTV setup 
> it recognizes the card ( probes correctly ) and shows me what my inputs 
> are to select from.  I chose Television ( vs s-video etc ).  When I 
> attempt to watch LiveTV it just never starts.  Actually it does start, 
> and then exits back to the menu.  The frontend doesn't see a recording 
> file being generated.
> 
> I can cat /dev/video1 to a file and get audio and video.  But the video 
> is super dark.  I can barely make out any shapes.  But the audio is fine.
> 
> 

So I spoke a bit too soon. For whatever reason it started working in 
Myth, although I still can't get a good cat /dev/video1.  BUt I can't 
change the channel.  When I try and change the channel Mythfrontend 
reports an error and the exits back to the menu.  When I go back into 
livetv it is on the same original channel and there is no audio.  If I 
exit out and go back in I get audio back, but still can;t change the 
channel.


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


Re: [linux-dvb] Testing HVR1800

2008-01-21 Thread Barry Quiel
Steven Toth wrote:
> Barry Quiel wrote:
>> I'm testing the HVR1800 driver (analog portion) out of 
>> hg/~stoth/cx23885-video and am getting the following error in the 
>> message log:
>>
>> kernel: cx25840' 4-0044: unable to open firmware v4l-cx23885-avcore-01.fw
>>
>> Which makes sense because I can't find that file anywhere on my 
>> system.   It also isn't included in truck or ~stoth/cx23885-video 
>> repositories.
> 
> http://steventoth.net/linux/hvr1800/
> 
> - Steve


So I've been trying to test the analog part of this card and its not 
going well.  That's not to say that the driver doesn't work, I'm sure 
its something I trying to do.  The DVB portion is working fine.  I'm 
trying to test using MythTV.

First off the driver is creating 2 video devices in /dev.  I'm guessing 
that one of them is the analog card with MPEG2 encoder support and the 
other is just a the frame grabber.  When I select /dev/video1 ( I used 
ivtv_first_minor to move off the PVR500 /dev links ) in the MythTV setup 
it recognizes the card ( probes correctly ) and shows me what my inputs 
are to select from.  I chose Television ( vs s-video etc ).  When I 
attempt to watch LiveTV it just never starts.  Actually it does start, 
and then exits back to the menu.  The frontend doesn't see a recording 
file being generated.

I can cat /dev/video1 to a file and get audio and video.  But the video 
is super dark.  I can barely make out any shapes.  But the audio is fine.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.8/1235 - Release Date: 1/21/2008 9:39 
AM


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


Re: [linux-dvb] Testing HVR1800

2008-01-21 Thread Steven Toth
Barry Quiel wrote:
> I'm testing the HVR1800 driver (analog portion) out of 
> hg/~stoth/cx23885-video and am getting the following error in the 
> message log:
> 
> kernel: cx25840' 4-0044: unable to open firmware v4l-cx23885-avcore-01.fw
> 
> Which makes sense because I can't find that file anywhere on my system. 
>   It also isn't included in truck or ~stoth/cx23885-video repositories.

http://steventoth.net/linux/hvr1800/

- Steve

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


[linux-dvb] Testing HVR1800

2008-01-21 Thread Barry Quiel
I'm testing the HVR1800 driver (analog portion) out of 
hg/~stoth/cx23885-video and am getting the following error in the 
message log:

kernel: cx25840' 4-0044: unable to open firmware v4l-cx23885-avcore-01.fw

Which makes sense because I can't find that file anywhere on my system. 
  It also isn't included in truck or ~stoth/cx23885-video repositories.


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