Audio on Sunblade 100

Christian Ramseyer rc at networkz.ch
Fri Aug 21 23:03:58 UTC 2009


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 at pci0:0:7:0:       class=0x060100 card=0x153310b9 chip=0x153310b9
rev=0x00 hdr=0x00
pcm0 at 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 at pci0:1:7:0 0:255`

[root at ds9000 ~]# pciconf -rb isab0 at 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 at ds9000 ~]# pciconf -rb pcm0 at 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



More information about the freebsd-sparc64 mailing list