Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 09:24:32 -0500
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        Marco Trillo <marcotrillo@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: No mixer with Snapper
Message-ID:  <20090301142432.GC1166@narn.knownspace>
In-Reply-To: <b9c23c9f0903010445k32205622u6dca98b98a26e93b@mail.gmail.com>
References:  <20090228165533.GA1166@narn.knownspace> <b9c23c9f0903010445k32205622u6dca98b98a26e93b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_beta-15139-1235917442-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Sun, Mar 01, 2009 at 01:45:57PM +0100, Marco Trillo wrote:
> Hi,
> 
> On 2/28/09, Justin Hibbits <jrh29@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

--=_beta-15139-1235917442-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="i2c.out"

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 

--=_beta-15139-1235917442-0001-2--



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