Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 01:03:51 +0200
From:      Christian Ramseyer <rc@networkz.ch>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: Audio on Sunblade 100
Message-ID:  <4A8F27D7.20503@networkz.ch>
In-Reply-To: <20090821193740.GA66639@alchemy.franken.de>
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> <alpine.LNX.2.00.0908211010390.13578@servww6.ww.uni-erlangen.de> <4A8EDE72.6040703@networkz.ch> <20090821193740.GA66639@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <seletor> 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: <Acer Labs M5451> port 0x900-0x9ff mem 0x424000-0x424fff at device
8.0 on pci0
pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x900
pcm0: <Analog Devices AD1881A AC97 Codec (id = 0x41445348)>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8F27D7.20503>