No mixer with Snapper
Justin Hibbits
jrh29 at alumni.cwru.edu
Sun Mar 1 06:24:04 PST 2009
On Sun, Mar 01, 2009 at 01:45:57PM +0100, Marco Trillo wrote:
> Hi,
>
> On 2/28/09, Justin Hibbits <jrh29 at alumni.cwru.edu> wrote:
> > After upgrading my kernel to one with the Snapper audio driver integrated,
> > there
> > is no longer a /dev/mixer, so mixer setting does not work. I have a DSP
> > device,
> > and sound does play, it's just very quiet. Output from sndstat is:
> >
> > FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc)
> > Installed devices:
> > pcm0: <Apple I2S Audio Controller> at i2s [MPSAFE] (1p:1v/0r:0v channels
> > default)
> >
> > Previously I was using Marco's AOA2 patch, which worked well, and had an
> > adjustable mixer.
> >
>
> Hmm... the version of the AOA driver in -current changed the way the
> mixer is detected: it now attaches a real I2C device driver to the
> mixer device node.
>
> It seems that in this case the device node properties are different to
> what the driver knows, so it fails to match.
>
> Could you send the output of the 'i2c' OF device tree? Something like
> the following, from FreeBSD -current:
>
> % ofwdump -pr mac-io/i2c
>
> Thanks
> Marco
Attached is the output of ofwdump.
- Justin
-------------- next part --------------
Node 0xff965ed0: i2c
name:
69 32 63 00
'i2c'
device_type:
69 32 63 00
'i2c'
reg:
00 01 80 00 00 00 10 00
compatible:
6b 65 79 77 65 73 74 2d 69 32 63 00
'keywest-i2c'
built-in:
interrupts:
00 00 00 1a 00 00 00 01
interrupt-parent:
ff 95 b7 80
AAPL,address:
80 01 80 00
'\M^@\^A\M^@'
AAPL,address-step:
00 00 00 10
AAPL,i2c-rate:
00 00 00 64
AAPL,driver-name:
2e 69 32 63 2d 6d 61 63 2d 69 6f 00
'.i2c-mac-io'
Node 0xff966988: cereal
name:
63 65 72 65 61 6c 00
'cereal'
device_type:
73 65 72 69 61 6c 00
'serial'
Node 0xff9670b8: deq
name:
64 65 71 00
'deq'
device_type:
64 65 71 00
'deq'
i2c-address:
00 00 00 6a
Node 0xff9dc830: i2c-modem
name:
69 32 63 2d 6d 6f 64 65 6d 00
'i2c-modem'
device_type:
69 32 63 2d 6d 6f 64 65 6d 00
'i2c-modem'
modem-id:
01 0b 01 02 31 2e 30 46 31 31 2e 30 46 31 03 03 03 00 00 00
00 00 00 00
compatible:
64 61 73 68 32 00
'dash2'
slot-names:
00 00 00 01 4d 6f 64 65 6d 00
default-country-code:
00 00
More information about the freebsd-ppc
mailing list