public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] HVR-4000 and analogue tv
@ 2008-09-24 15:22 Anders Semb Hermansen
  2008-09-24 16:18 ` Darron Broad
  0 siblings, 1 reply; 15+ messages in thread
From: Anders Semb Hermansen @ 2008-09-24 15:22 UTC (permalink / raw)
  To: linux-dvb

Hello all,

I put a HVR-4000 in my mythtv box, I'm only going to use it for  
analogue TV right now.

I have used dvb/v4l drivers from mercirual from yesterday and sfe-8969- 
untested.diff from http://dev.kewl.org/hauppauge/ to get HVR-4000  
support.

The system is Debian GNU/Linux lenny with latest packages and kernel  
updated yesterday. Mythtv and multimedia packages are from debian- 
multimedia.

I also get the same error described below when using dvb/v4l driver  
from http://linuxtv.org/hg/~stoth/s2-mfe

I added it as a v4l capture card in mythtv (/dev/video0 and sound  
from /dev/dsp2) and scanned for channels. Everything OK so far :)

When I use mythtv and go into "Watch TV" I get snow on the screen (and  
some green). If I change channel the picture comes up fine. So I  
always have to change channel after pressing "Watch TV". This will  
make recodings only show snow, because I cannot do the channel change  
"trick".

I got strange audio, but read somewhere else that I needed to change  
audo samplerate to 48000. That fixed that problem.

I get some errors from the kernel.

These come a lot:
Sep 24 16:37:57 xpc kernel: [  656.419808] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 24 16:37:57 xpc kernel: [  656.419816] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 24 16:37:57 xpc kernel: [  656.419825] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*

And also this:
Sep 24 16:37:57 xpc kernel: [  656.420004] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 24 16:37:57 xpc kernel: [  656.420011] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 24 16:37:57 xpc last message repeated 7 times
Sep 24 16:37:57 xpc kernel: [  656.420011] cx88[0]/1: IRQ loop  
detected, disabling interrupts
Sep 24 16:37:57 xpc kernel: [  656.428111] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 24 16:38:07 xpc kernel: [  666.548868] cx88[0]: irq aud [0x201101]  
dn_risci1* dnf_of dn_sync* mchg_irq
Sep 24 16:38:07 xpc kernel: [  666.588442] cx88[0]: irq aud [0x1101]  
dn_risci1* dnf_of dn_sync*

I also got this (belive this was with s2-mfe driver):
Sep 23 23:07:43 xpc kernel: [   89.399157] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 23 23:07:53 xpc kernel: [   99.528009] cx88[0]: irq aud [0x201101]  
dn_risci1* dnf_of dn_sync* mchg_irq
Sep 23 23:07:53 xpc kernel: [   99.528009] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 23 23:07:53 xpc last message repeated 48 times
Sep 23 23:07:53 xpc kernel: [   99.528009] cx88[0]/1: IRQ loop  
detected, disabling interrupts
Sep 23 23:07:53 xpc kernel: [   99.539066] cx88[0]: irq aud [0x1001]  
dn_risci1* dn_sync*
Sep 23 23:15:34 xpc kernel: [  561.012009] cx88[0]: video y / packed -  
dma channel status dump
Sep 23 23:15:34 xpc kernel: [  561.012022] cx88[0]:   cmds: initial  
risc: 0x12f1c000
Sep 23 23:15:34 xpc kernel: [  561.012027] cx88[0]:   cmds: cdt  
base    : 0x00180440
Sep 23 23:15:34 xpc kernel: [  561.012031] cx88[0]:   cmds: cdt  
size    : 0x0000000c
Sep 23 23:15:34 xpc kernel: [  561.012035] cx88[0]:   cmds: iq  
base     : 0x00180400
Sep 23 23:15:34 xpc kernel: [  561.012039] cx88[0]:   cmds: iq  
size     : 0x00000010
Sep 23 23:15:34 xpc kernel: [  561.012042] cx88[0]:   cmds: risc  
pc     : 0x132aa998
Sep 23 23:15:34 xpc kernel: [  561.012046] cx88[0]:   cmds: iq wr  
ptr   : 0x00000100
Sep 23 23:15:34 xpc kernel: [  561.012050] cx88[0]:   cmds: iq rd  
ptr   : 0x00000104
Sep 23 23:15:34 xpc kernel: [  561.012054] cx88[0]:   cmds: cdt  
current : 0x00000458
Sep 23 23:15:34 xpc kernel: [  561.012058] cx88[0]:   cmds: pci  
target  : 0x132a9b00
Sep 23 23:15:34 xpc kernel: [  561.012061] cx88[0]:   cmds: line /  
byte : 0x00f00000
Sep 23 23:15:34 xpc kernel: [  561.012067] cx88[0]:   risc0:  
0x80008200 [ sync resync count=512 ]
Sep 23 23:15:34 xpc kernel: [  561.012074] cx88[0]:   risc1:  
0x1c000500 [ write sol eol count=1280 ]
Sep 23 23:15:34 xpc kernel: [  561.012080] cx88[0]:   risc2:  
0x12f02500 [ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012084] cx88[0]:   risc3:  
0x18000100 [ write sol count=256 ]
Sep 23 23:15:34 xpc kernel: [  561.012090] cx88[0]:   iq 0: 0x132a9000  
[ write irq2 irq1 21 19 cnt1 resync 12 count=0 ]
Sep 23 23:15:34 xpc kernel: [  561.012099] cx88[0]:   iq 1: 0x1c000500  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012103] cx88[0]:   iq 2: 0x132a9600  
[ write irq2 irq1 21 19 cnt1 resync 12 count=1536 ]
Sep 23 23:15:34 xpc kernel: [  561.012111] cx88[0]:   iq 3: 0x80008200  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012115] cx88[0]:   iq 4: 0x1c000500  
[ write sol eol count=1280 ]
Sep 23 23:15:34 xpc kernel: [  561.012121] cx88[0]:   iq 5: 0x12f02500  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012125] cx88[0]:   iq 6: 0x18000100  
[ write sol count=256 ]
Sep 23 23:15:34 xpc kernel: [  561.012131] cx88[0]:   iq 7: 0x12f02f00  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012134] cx88[0]:   iq 8: 0x14000400  
[ write eol count=1024 ]
Sep 23 23:15:34 xpc kernel: [  561.012140] cx88[0]:   iq 9: 0x12f03000  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012144] cx88[0]:   iq a: 0x1c000500  
[ write sol eol count=1280 ]
Sep 23 23:15:34 xpc kernel: [  561.012150] cx88[0]:   iq b: 0x12f03900  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012154] cx88[0]:   iq c: 0x1c000500  
[ write sol eol count=1280 ]
Sep 23 23:15:34 xpc kernel: [  561.012160] cx88[0]:   iq d: 0x12f04300  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012163] cx88[0]:   iq e: 0x18000300  
[ write sol count=768 ]
Sep 23 23:15:34 xpc kernel: [  561.012169] cx88[0]:   iq f: 0x12f04d00  
[ arg #1 ]
Sep 23 23:15:34 xpc kernel: [  561.012172] cx88[0]: fifo: 0x00180c00 - 
 > 0x183400
Sep 23 23:15:34 xpc kernel: [  561.012175] cx88[0]: ctrl: 0x00180400 - 
 > 0x180460
Sep 23 23:15:34 xpc kernel: [  561.012178] cx88[0]:   ptr1_reg:  
0x00182000
Sep 23 23:15:34 xpc kernel: [  561.012182] cx88[0]:   ptr2_reg:  
0x00180488
Sep 23 23:15:34 xpc kernel: [  561.012185] cx88[0]:   cnt1_reg:  
0x00000004
Sep 23 23:15:34 xpc kernel: [  561.012189] cx88[0]:   cnt2_reg:  
0x00000000
Sep 23 23:15:34 xpc kernel: [  561.012198] cx88[0]/0: [de9049e0/1]  
timeout - dma=0x132aa000
Sep 23 23:15:34 xpc kernel: [  561.012201] cx88[0]/0: [de904320/2]  
timeout - dma=0x13388000
Sep 23 23:15:34 xpc kernel: [  561.012205] cx88[0]/0: [de9043e0/3]  
timeout - dma=0x104fc000
Sep 23 23:15:34 xpc kernel: [  561.012208] cx88[0]/0: [de9044a0/4]  
timeout - dma=0x107ba000
Sep 23 23:15:34 xpc kernel: [  561.012211] cx88[0]/0: [de904920/0]  
timeout - dma=0x12f1c000

Mythtv complains about unable to read:
008-09-24 17:07:02.587 NVR(/dev/video0) Error: Only read -1 bytes of  
4096 bytes from '/dev/dsp2
read audio: Input/output error
strange error flushing buffer ...


Where do I go from here?
Is this an error with the HVR-4000 driver or in mythtv?
It seems to work fine once I have changed channel.


Thanks for any help,
Anders


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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [linux-dvb] HVR-4000 and analogue tv
@ 2008-09-29  9:31 Jens.Peder.Terjesen
  2008-09-29  9:40 ` Anders Semb Hermansen
  0 siblings, 1 reply; 15+ messages in thread
From: Jens.Peder.Terjesen @ 2008-09-29  9:31 UTC (permalink / raw)
  To: linux-dvb


>Anders Semb Hermansen wrote:
>Thanks Darron. I'll guess I wait and see what happens with:
>http://svn.mythtv.org/trac/ticket/5744
>
>With working analogue I can look forward to November 11th when DVB-T
>broadcast begins in my area in Norway.
>
>
>Thanks again,
>Anders

I thought that the analogue and DVB-T on this card was quite separate
parts?

The DVB-T broadcast has probably already begun. At least it has in my part
of Norway where the official date is also November 11th.

Jens


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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [linux-dvb] HVR-4000 and analogue tv
@ 2008-09-29 10:31 Jens.Peder.Terjesen
  0 siblings, 0 replies; 15+ messages in thread
From: Jens.Peder.Terjesen @ 2008-09-29 10:31 UTC (permalink / raw)
  To: linux-dvb



-----linux-dvb-bounces@linuxtv.org wrote: -----

>To: Jens.Peder.Terjesen@devoteam.com
>From: Anders Semb Hermansen <anders@ginandtonic.no>
>Sent by: linux-dvb-bounces@linuxtv.org
>Date: 29-09-2008 11:40
>cc: linux-dvb@linuxtv.org
>Subject: Re: [linux-dvb] HVR-4000 and analogue tv
>
>Jens.Peder.Terjesen@devoteam.com wrote:
>> I thought that the analogue and DVB-T on this card was quite
>separate
>> parts?
>
>I think so yes.
>
>> The DVB-T broadcast has probably already begun. At least it has in
>my part
>> of Norway where the official date is also November 11th.
>
>I used w_scan yesterday and it returned results. I used scan to get a
>
>channels.conf which looks ok (don't have it here, I'm at work). But I
>
>could not manage to get it to play. I don't know if this is because
>of
>software not supporting frontend1 (DVB-T is on
>/dev/dvb/adapter0/frontend1), frontend0 is DVB-S or if it does not
>support the digital standard in norway yet. I tried to play using
>mplayer directly, and dvbstream with a pipe to mplayer (seems mplayer
>
>does not cope with different frontend).
>
>Any suggestion on how to go forward from here is appreceated.

This is about as far as I have come too.

I know that Kaffeine handles multiple frontends, but not sure about the
support for Norwegian DVB-T.
When I scanned with Kaffeine a few weeks ago it found only one of 24
channels, but there was no picture or sound. Not sure if this was because
the one channel it found is one of the encrypted ones.

I later patched and compiled DVB-apps, and this version of scan seemed to
be outputting correct information, but I am not sure if this can be used by
Kaffeine.

Jens


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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-09-29 10:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 15:22 [linux-dvb] HVR-4000 and analogue tv Anders Semb Hermansen
2008-09-24 16:18 ` Darron Broad
2008-09-24 17:02   ` Anders Semb Hermansen
2008-09-24 17:20     ` Darron Broad
2008-09-24 18:39       ` Anders Semb Hermansen
2008-09-24 19:09         ` Darron Broad
2008-09-24 19:31           ` Anders Semb Hermansen
2008-09-24 20:04           ` Janne Grunau
2008-09-24 21:11             ` Darron Broad
2008-09-24 19:28         ` Steven Toth
2008-09-25 23:42           ` Darron Broad
2008-09-26  7:43             ` Anders Semb Hermansen
  -- strict thread matches above, loose matches on Subject: below --
2008-09-29  9:31 Jens.Peder.Terjesen
2008-09-29  9:40 ` Anders Semb Hermansen
2008-09-29 10:31 Jens.Peder.Terjesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox