Skip to contentSkip to conversation

DVICO HDTV Dual Express2

linux-dvb Nicholas Leahy 4 participants 7 messages Apr 4, 2011 – Apr 6, 2011 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi

I purchased a DVICO HDTV Dual Express2 http://www.linuxtv.org/wiki/index.php/DViCO_FusionHDTV_DVB-T_Dual_Express2

The card has a CONEXANT CX23885-152 & DiBcom 7070PB1-AXGXba-G-b Tuners

I have been modifying the V4l-DVB code (cx23885-dvb.c, cx23885-cards.c &cx23885.h) based on the DVICO HDTV Dual Express to try and get the card to work. But I am having trouble with the 7070PB1-AXGXba-G-b tuners that I am trying to base on the FusionHDTV Dual Digital 4 (cxusb.c).

I can get Modprobe to load the 2 tuners, but DVBSCAN says the frontend is not loaded

Any help would be appreciated

Cheers Nick

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

Hi Nick,

Could you post the output of
lspci -vvv -nn
for the device in question - you'll also need to give the -s argument, eg -s 02:00.0
or whatever.

This is so it is clear what chips your example of the card is using - a given card may be implemented with different chipsets over time depending on how organised the manufacturer is.

Some kernel output similar to that shown on the wiki page, showing what happens at boot time, may be useful as well.

I have this card, and it is working reasonably well with recent media_build code:

$ sudo lspci -vvv -nn -s 04:00.0
04:00.0 Multimedia video controller [0400]: Conexant Systems, Inc.
CX23885 PCideo and Audio Decoder [14f1:8852] (rev 02)
        Subsystem: DViCO Corporation Device [18ac:db78]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Sping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbor<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 32
        Region 0: Memory at 90000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<64ns, <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsuppod-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- Trannd-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latenc0 <2us, L1 <4us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommCl
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
SlotClk+ DLAct- BWMgmt- ABWMgmt-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [90] Vital Product Data <?>
        Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+
Queue=0Enable+
                Address: 00000000fee0200c  Data: 41c9
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [200] Virtual Channel <?>
        Kernel driver in use: cx23885
        Kernel modules: cx23885
#3 lore raw

On 04/04/2011, at 20:01, Vincent McIntyre wrote:
Could you post the output of

Quoted 9 lines

lspci -vvv -nn
for the device in question - you'll also need to give the -s argument, eg -s 02:00.0
or whatever.

This is so it is clear what chips your example of the card is using - a given card may be implemented with different chipsets over time depending on how organised the manufacturer is.

Quoted 5 lines

Some kernel output similar to that shown on the wiki page, showing what happens at boot time, may be useful as well.

I have this card, and it is working reasonably well with recent media_build code:

I take it you use both tuners? I find I can only use one otherwise one of them hangs whatever app is using it.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

#4 lore raw
Quoted 4 lines · Daniel O'Connor

I take it you use both tuners? I find I can only use one otherwise one of them hangs whatever app is using it.

I do. I haven't tested very carefully that I can use both tuners at once successfully but I am pretty sure there have been times when both have been running. I only use them with mythtv,
unless I am testing something like new v4l modules and in that case I just use one tuner at a time.

The box has two tuner cards, and this one is usually the second one in the enumeration.

#5 lore raw
Quoted 6 lines · Vincent McIntyre
Quoted 4 lines · Daniel O'Connor

I take it you use both tuners? I find I can only use one otherwise one of them hangs whatever app is using it.

Quoted 8 lines

I do. I haven't tested very carefully that I can use both tuners at once successfully but I am pretty sure there have been times when both have been running. I only use them with mythtv,
unless I am testing something like new v4l modules and in that case I just use one tuner at a time.

The box has two tuner cards, and this one is usually the second one in the enumeration.

OK. I only have the one (dual tuner) card but I find that if I enable it mythtv eventually hangs opening one of them.

Perhaps the recent locking changes for that driver will help..

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

#6 lore raw

I have this card.

It had been working fine on 2.6.32 kernels, even using both tuners. Only complaint was that the stream from one transponder was always rubbish (but that channel had rubbish shows mostly anyway, so, meh).

Upgrading to a 2.6.35 kernel in an attempt to have a newly added card supported, seems to have fixed that problem.

However now if both tuners are in use, with one of them on another particular transponder (different to the previous problematic one), the recordings fail, with mythtv saying:

2011-04-03 19:56:53.271 DVBRec(10:/dev/dvb/adapter3/frontend0) Error:
Stream handler died unexpectedly.
2011-04-03 19:56:53.272 DVBRec(7:/dev/dvb/adapter2/frontend0) Error:

Stream handler died unexpectedly.

/var/log/messages doesn't say anything about this card around that time.

If only one of the tuners on the card is recording from that transponder, it works fine. It only fails when both tuners are in use. It doesn't matter whether the problematic transponder was tuned before, simultaneously or after the other.

I've since started running with the latest v4l releases, however the problem remains.

Quoted 39 lines · Daniel O'Connor
Quoted 6 lines · Vincent McIntyre
Quoted 4 lines · Daniel O'Connor

I take it you use both tuners? I find I can only use one otherwise one of them hangs whatever app is using it.

Quoted 8 lines

I do. I haven't tested very carefully that I can use both tuners at once successfully but I am pretty sure there have been times when both have been running. I only use them with mythtv,
unless I am testing something like new v4l modules and in that case I just use one tuner at a time.

The box has two tuner cards, and this one is usually the second one in the enumeration.

OK. I only have the one (dual tuner) card but I find that if I enable it mythtv eventually hangs opening one of them.

Perhaps the recent locking changes for that driver will help..

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#7 lore raw

I know I shouldn't have quoted mythtv to identify a problem, so I've tinkered with this a little more and can reproduce it using the dvb utilities.

I can reproduce the problem using tzap and cat'ing /dev/dvb/adapter[23]/dvr0 to files. When one of the tuners tunes the the bad transponder, the files stop growing. Not always immediately, but typically within a few seconds.

Turning on debugging in various dvb modules shows nothing obviously suspicious when it occurs, but I notice that when the problem occurs, when I kill the offending tzap, the following messages are logged.

Apr  6 10:45:39 media kernel: [95234.332590] cx23885_wakeup: 0 buffers
handled (should be 1)
Apr  6 10:45:39 media kernel: [95234.332606] cx23885_wakeup: 0 buffers

handled (should be 1)

But if I kill it without the problem manifesting (either by using a non-offending transponder, or by killing it before the failure occurs with the problematic transponder) these messages don't appear.

Also perhaps noteworthy is that once the offending tzap process is terminated, the file generated from the other resumes growing.

Here are the modules I thought to turn on debugging. Any other suggestions?

nathan@media:/sys/module$ grep -r 1 */parameters/*debug*
af9013/parameters/debug:1
cx23885/parameters/debug:1
cx23885/parameters/i2c_debug:1
cx23885/parameters/vbi_debug:1
cx23885/parameters/video_debug:1
dvb_core/parameters/cam_debug:1
dvb_core/parameters/debug:1
dvb_core/parameters/dvbdev_debug:1
dvb_core/parameters/frontend_debug:1
dvb_usb_af9015/parameters/debug:1
tuner_xc2028/parameters/debug:1
videobuf_core/parameters/debug:1
videobuf_dma_sg/parameters/debug:1
videobuf_dvb/parameters/debug:1
zl10353/parameters/debug:1
zl10353/parameters/debug_regs:1

I'm happy to help track this down further if anyone can advise how to proceed.

(I hope I haven't hijacked this thread, I never saw the earlier emails, but from what I could tell, it seems to be related to my experiences).

(sorry for the repeated email, Daniel, I accidentally didn't Reply-to-all)

Regards,
Nathan.