From: Stelian Pop <stelian@popies.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] sound/ppc/pmac.c typo.
Date: Fri, 20 Jan 2006 17:09:26 +0100 [thread overview]
Message-ID: <1137773366.14920.16.camel@localhost.localdomain> (raw)
In-Reply-To: <s5hek3251ez.wl%tiwai@suse.de>
Le vendredi 20 janvier 2006 à 17:06 +0100, Takashi Iwai a écrit :
> At Fri, 20 Jan 2006 16:54:31 +0100,
> Stelian Pop wrote:
> >
> > Le vendredi 20 janvier 2006 à 15:51 +0100, Takashi Iwai a écrit :
> > > At Fri, 20 Jan 2006 11:35:38 +0100,
> > > Stelian Pop wrote:
> > > >
> > > > In 2.6.16-rc1 there is a small typo introduced by the 'Remove device_node addrs/n_addr' changes
> > > > which prevents my Powerbook G4 sound from working:
> > > >
> > > > Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
> > > > snd: can't request rsrc 0 (Sound Control: 0x80000000:80004fff)
> > > > ALSA device list:
> > > > No soundcards found.
> > > >
> > > > The patch below fixes it. Of course, the patch fixing the i2c issues
> > > > ('i2c_smbus_write_i2c_block_data' patch) needs to be applied to in order for
> > > > the sound to completly work.
> > > >
> > > > Signed-off-by: Stelian Pop <stelian@popies.net>
> > >
> > > Thanks, I applied it to ALSA tree now.
> >
> > Thanks.
> >
> > BTW, is it a hardware or a configuration issue the fact that I'm unable
> > to mix several alsa streams ?
>
> Did you install alsa-lib 1.0.11rc2, too? It should work with dmix as
> default.
This is an ubuntu breezy ppc distribution, and it seems that the package
is called libasound2, and it is based on alsa-lib 1.0.9-2.
Stracing the aplay process shows that dmix.conf is being read:
defiant:~ 20 > strace -eopen aplay wav/slow_20spindle_20motor.wav
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3
open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4
open("/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4
open("/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4
open("/dev/snd/controlC0", O_RDONLY) = 3
open("/dev/snd/controlC0", O_RDONLY) = 3
open("/dev/snd/controlC0", O_RDWR) = 3
open("/dev/snd/controlC1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC1", O_RDONLY) = -1 ENOENT (No such file or directory)
[...]
I suppose I could test with 1.0.11rc2 if it does make sense to.
Stelian.
--
Stelian Pop <stelian@popies.net>
next prev parent reply other threads:[~2006-01-20 16:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-20 10:35 [PATCH] sound/ppc/pmac.c typo Stelian Pop
2006-01-20 14:51 ` Takashi Iwai
2006-01-20 15:54 ` Stelian Pop
2006-01-20 16:06 ` Takashi Iwai
2006-01-20 16:09 ` Stelian Pop [this message]
2006-01-20 16:25 ` Takashi Iwai
2006-01-20 16:37 ` Stelian Pop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1137773366.14920.16.camel@localhost.localdomain \
--to=stelian@popies.net \
--cc=linuxppc-dev@ozlabs.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).