From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mario Manno Subject: Re: PCI quirks with via82xx soundcard / sysfs paths Date: Thu, 19 Oct 2006 21:12:27 +0200 Message-ID: <1161285147.4492.53.camel@lila> References: Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, 2006-10-19 at 16:13 +0100, Keir Fraser wrote: > On 16/10/06 19:42, "Mario Manno" 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@debian.org) (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@debian.org) (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