Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2008 20:21:23 +0100
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        Marco Trillo <marcotrillo@gmail.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: feedback: Apple Tumbler and Snapper audio: looking for testers
Message-ID:  <4910A0B3.4070808@fgznet.ch>
In-Reply-To: <b9c23c9f0811040159p22278891j65669ae63330b43e@mail.gmail.com>
References:  <490F5E89.4040608@fgznet.ch> <b9c23c9f0811040159p22278891j65669ae63330b43e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Marco,

Marco Trillo wrote:

> Thanks a lot for testing the driver!

Thank you for making it possible..... !

> Hmm... it seems that it is not able to detect the codec, so the volume
> cannot be changed.
> 
> I think the following patch should solve this problem -- it makes the
> driver also look for a "layout-id" property and use that, if the other
> match attempts have failed.

Indeed, it does:

pcm0: codec: <snapper> at address 6Ah on kiic0
0a:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0b:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0c:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0d:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0e:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0f:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
13:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
14:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
14:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
15:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
16:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
17:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
18:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
19:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01:  60
43:  02
02:  01 00 00 00 00 00
04:  00 00 00 00 00 00
05:  72
06:  72
07:  10 00 00 00 00 00 00 00 00
08:  10 00 00 00 00 00 00 00 00
21:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
22:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
23:  00 00 00
24:  00 00 00
40:  c2

And I can set the volume with the mixer utility now. GREAT!

Thanks again for writing this.

Regards,
Andreas

P.S, if you need momre details from the dmesg, let me know. Even if you 
need retesting stuff.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4910A0B3.4070808>