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-devel

Re: [Xen-devel] PCI quirks with via82xx soundcard / sysfs paths

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] PCI quirks with via82xx soundcard / sysfs paths
From: Mario Manno <m.manno@xxxxxxx>
Date: Thu, 19 Oct 2006 21:12:27 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 Oct 2006 09:34:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15D549E.2D1B%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C15D549E.2D1B%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2006-10-19 at 16:13 +0100, Keir Fraser wrote:
> On 16/10/06 19:42, "Mario Manno" <m.manno@xxxxxxx> wrote:
> 
> > (sundance
> >     (pci_ids        ('1186:1002'))
> >     (pci_config_space_fields        ('00000054:2:00000000'))
> > )
> > (snd_via82xx
> >     (pci_ids        ('1106:3059'))
> >     (pci_config_space_fields        ('000000c4:2:00000000'))
> > )
> 
> I'd like to put a comment by each permitted register to indicate its
> device-specific purpose. Unfortunately I can't find any reference to these
> register offsets in the drivers, which is very weird.
> 
> What Linux kernel version do these particular drivers come from?

Well, i added them because the log messages said so... but the addresses
indeed differ from my previous setup (same hypervisor, but debian kernel
2.6.17): Sundance didn't need quirks or permissive and vi82xx complained
about more addresses.

==============
dom0# cat /proc/version
Linux version 2.6.18-1-xen-amd64 (Debian 2.6.18-2) (waldi@xxxxxxxxxx)
(gcc version 4.1.2 20060920 (prerelease) (Debian 4.1.1-14)) #1 SMP Fri
Sep 29 18:28:20 CEST 2006

domU# cat /proc/version
Linux version 2.6.17-2-xen-amd64 (Debian 2.6.17-9) (waldi@xxxxxxxxxx)
(gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 SMP Wed
Sep 13 18:35:45 CEST 2006

dom0# dpkg -l 
ii  linux-image-2.6.17-2-xen-amd64      2.6.17-9
ii  linux-image-2.6.18-1-xen-amd64      2.6.18-2
ii  xen-hypervisor-3.0-unstable         3.0-unstable+hg11561-1
==============

I just upgraded the domU kernel to 2.6.18 and now i need all of the
following values for the onboard soundcard:
'000000c4:2:00000000'   # ??
'00000041:1:00000000'   # VIA_ACLINK_CTRL
'00000042:1:00000000'   # VIA_FUNC_ENABLE
'00000049:1:00000000'   # VIA8233_SPDIF_CTRL

But since i don't even get the soundcard working inside dom0, besides
mixer, i would drop this issue altogether. Asterisk will do fine without
a soundcard anyways.

Sundance however still works with 0x54.


-- 
Mario Manno <m.manno@xxxxxxx>


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