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 16:54:31 +0100 [thread overview]
Message-ID: <1137772472.14920.9.camel@localhost.localdomain> (raw)
In-Reply-To: <s5hpsmn7y0l.wl%tiwai@suse.de>
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 ?
For example, if I issue two instances of 'aplay foo.wav', the first one
plays the sound while the second one remains stuck in:
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=7467, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0x7fee2bf8) = 0
ioctl(3, UI_DEV_CREATE, 0x7fee2ca0) = 0
close(3) = 0
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0x7fee2fa8) = 0
ioctl(3, 0x80045532, 0x7fee2fd8) = 0
open("/dev/snd/pcmC0D0p", O_RDWR
until the first one ends playing. Only then the second one continues the
execution.
Just in case this is useful:
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
# cat /proc/asound/cards
0 [Snapper ]: PMac Snapper - PowerMac Snapper
PowerMac Snapper (Dev 0) Sub-frame 0
# cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
# cat /proc/asound/pcm
00-00: PMac Snapper : PowerMac Snapper : playback 1 : capture 1
Stelian.
--
Stelian Pop <stelian@popies.net>
next prev parent reply other threads:[~2006-01-20 15:54 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 [this message]
2006-01-20 16:06 ` Takashi Iwai
2006-01-20 16:09 ` Stelian Pop
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=1137772472.14920.9.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.