WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] DVB tuner not working in PV guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DVB tuner not working in PV guest
From: Steve Allison <xen-users@xxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Jul 2011 20:24:29 +0100
Delivery-date: Thu, 28 Jul 2011 12:25:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240812ca5765acfcbb@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <p0624082eca50d1f82c76@xxxxxxxxxxxxxxxxxxxxxx> <p06240812ca5765acfcbb@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
On 28/07/2011 20:16, Simon Hobson wrote:
At 21:00 +0100 23/7/11, I wrote:
I'm trying to setup a new home server, and part one is getting a new version of MythTV running. Host is Debian with Xen4.0.1 and kernel 2.6.32-5-xen-amd64, PV guest is also Debian with kernel 2.6.32-5-xen-amd64. I have a DVB-T tuner (HVR-1200, PCIe card) I am trying to use in the guest with pciback.hide etc. The whole thing is running on an HP Proliant Microserver I bought while HP had a mail-in rebate going.

If I boot the host without Xen, I can access the card with dvbtune and it lists the channels in a multiplex :
<snip>
And the card shows up in the boot log :
02:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02)

I've hidden the card from Dom0 by adding "xen-pciback.hide=(02:00.0)" to the grub config.


When I boot the guest, I can see it's tuner card
eddi kernel: [ 25.348011] cx23885[0]/0: found at 0000:00:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xfe600000

But if I try to access it with dvbtune, it can't detect any channels :

# dvbtune -f 801833000 -i
Using DVB card "NXP TDA10048HN DVB-T"
tuning DVB-T (in United Kingdom) to 801833000 Hz
polling....
Getting frontend event
FE_STATUS:
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Bit error rate: 1965
Signal strength: 61680
SNR: 131
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
<transponder type="T" freq="801833000">
Nothing to read from fd_pat
Nothing to read from fd_sdt
</transponder>

No ideas ?
Any suggestions where to look or further information I need to provide ?


I'm using a similar card.

Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)

Simply booting up in Xen on the dom0 rendered the card unable to scan for channels. It would load its drivers, create its block devices and seem to function in all aspects except for tuning, basically rendering it useless.

I had the same idea as you and was trying to get a PV mythtv backend, after it failing in domU, I moved to just trying to get it to work on the dom0 but was suffering the same issues.

I was using the w-scan debian package to scan for channels without needing to install Myth for testing and found that in a standard *-xen kernel it worked fine, but if I loaded xen dom0 with the same kernel, it didn't.

--
May the ping be with you ..


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>