From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 21 23:03:58 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B08C106568E for ; Fri, 21 Aug 2009 23:03:58 +0000 (UTC) (envelope-from rc@networkz.ch) Received: from x27.netnea.com (gstserv.netnea.com [213.200.225.210]) by mx1.freebsd.org (Postfix) with ESMTP id 940388FC24 for ; Fri, 21 Aug 2009 23:03:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by x27.netnea.com (Postfix) with ESMTP id 64B0D33DF6 for ; Sat, 22 Aug 2009 01:03:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at neanet.com Received: from x27.netnea.com ([127.0.0.1]) by localhost (x27.netnea.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N5vYmHJs-Mmw for ; Sat, 22 Aug 2009 01:03:54 +0200 (CEST) Received: from asado-180.local (unknown [89.236.172.36]) by x27.netnea.com (Postfix) with ESMTPSA id 0BBBA33DF5 for ; Sat, 22 Aug 2009 01:03:54 +0200 (CEST) Message-ID: <4A8F27D7.20503@networkz.ch> Date: Sat, 22 Aug 2009 01:03:51 +0200 From: Christian Ramseyer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org References: <4A7C6B50.3070503@networkz.ch> <20090817205340.GA75477@alchemy.franken.de> <20090817215612.GB75477@alchemy.franken.de> <20090818192748.GA6585@alchemy.franken.de> <20090819161410.GA19351@alchemy.franken.de> <4A8DC0DF.4040701@networkz.ch> <4A8EDE72.6040703@networkz.ch> <20090821193740.GA66639@alchemy.franken.de> In-Reply-To: <20090821193740.GA66639@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Audio on Sunblade 100 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 23:03:58 -0000 Marius Strobl wrote: > but without deeper insight in the sound subsystem and > no programming manual for the M5451 this is kind of > unfun... Let me say that I really appreciate your effort, but it's not really an issue of life and dead for me so I'd also accept if you let it go and moved on :) > Given that the driver works for Gheorghe with the same > hardware model I suspect an initialization issue based > on different firmware revsions. Could both of you please > run `pciconf -lv` and report the two lines starting > with isab0 and pcm0 (just these two lines, not the > whole output from that command). isab0@pci0:0:7:0: class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00 pcm0@pci0:0:8:0: class=0x040100 card=0x545110b9 chip=0x545110b9 rev=0x01 hdr=0x00 > Then get a complete > dump of the PCI configuration header by running > `pciconf -rb 0:255` on the selectors > contained in the isab0 and pcm0 strings, for example: > `pciconf -rb isab0@pci0:1:7:0 0:255` [root@ds9000 ~]# pciconf -rb isab0@pci0:0:7:0 0:255 b9 10 33 15 0f 00 10 02 00 00 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b9 10 33 15 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00 11 13 49 80 83 09 00 07 00 00 00 10 00 00 fd 01 00 00 00 40 00 07 02 00 6e 03 09 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 80 20 00 00 00 00 06 00 41 03 00 d3 04 02 00 02 00 00 01 10 07 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [root@ds9000 ~]# pciconf -rb pcm0@pci0:0:8:0 0:255 b9 10 51 54 07 00 90 02 01 00 01 04 00 10 00 00 01 09 00 00 00 40 42 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b9 10 51 54 00 00 00 00 dc 00 00 00 00 00 00 00 23 01 02 18 00 00 00 00 00 04 00 e2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 22 e6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Please also report the pcm0 parts of a verbose boot > (stop the boot count-down by pressing space and > issue a `set boot_verbose`, followed by `boot`, then > get the pcm0 lines from for example the dmesg-output). > pcm0: port 0x900-0x9ff mem 0x424000-0x424fff at device 8.0 on pci0 pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x900 pcm0: pcm0: Codec features headphone, 6 bit master volume, Analog Devices Phat Stereo pcm0: Primary codec extended features variable rate PCM pcm0: ac97 codec dac ready count: 0 pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "line": pcm0: Mixer "mic": pcm0: Mixer "cd": pcm0: Mixer "rec": pcm0: Mixer "igain": pcm0: Mixer "line1": pcm0: Mixer "phin": pcm0: Mixer "phout": pcm0: Mixer "video": pcm0: [GIANT-LOCKED] pcm0: [ITHREAD] pcm0: M1533 0x7e: 0x1 -> 0x1 pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap c1140000, 10000; 0xc0c50000 -> c1140000 pcm0: sndbuf_setmap c1160000, 10000; 0xc0c70000 -> c1160000 If you'd like, I could also setup SSH access for you. Christian