All of lore.kernel.org
 help / color / mirror / Atom feed
* No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)
@ 2003-07-21 21:53 ted
  2003-07-22  9:03 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: ted @ 2003-07-21 21:53 UTC (permalink / raw)
  To: alsa-devel

(Originally sent on the 17th, subscribed and resent due to lack of
response from moderators.)

I've been unable to get the latest stable ALSA to produce any sound at
all.  I even tried the "loading+unloading dmasound_pmac first" trick, but
to no avail.  Everything looks fine, but applications using ALSA refuse to
work or crash.  Using OSS emulation appears to work, but there's no sound
output at all (yes, I've tried maxing out the mixer controls).

Any ideas?

The kernel driver seems to work pretty well, but it only supports a single
DSP device (which is rather annoying at times, especially since you
apparently need one for even just console beeps).

System is a PowerBook Titanium II w/ TAS3001c.  Let me know if you need
more info.  Thanks!



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)
  2003-07-21 21:53 No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now) ted
@ 2003-07-22  9:03 ` Takashi Iwai
  2003-07-22 14:15   ` Stephen Waters
  2003-07-22 16:34   ` ted
  0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-07-22  9:03 UTC (permalink / raw)
  To: ted; +Cc: alsa-devel

At Mon, 21 Jul 2003 17:53:15 -0400 (EDT),
ted wrote:
> 
> (Originally sent on the 17th, subscribed and resent due to lack of
> response from moderators.)
 
there is no human moderator but it simply goes to /dev/null...

> I've been unable to get the latest stable ALSA to produce any sound at
> all.  I even tried the "loading+unloading dmasound_pmac first" trick, but
> to no avail.  Everything looks fine, but applications using ALSA refuse to
> work or crash.  Using OSS emulation appears to work, but there's no sound
> output at all (yes, I've tried maxing out the mixer controls).
> 
> Any ideas?
> 
> The kernel driver seems to work pretty well, but it only supports a single
> DSP device (which is rather annoying at times, especially since you
> apparently need one for even just console beeps).
> 
> System is a PowerBook Titanium II w/ TAS3001c.  Let me know if you need
> more info.  Thanks!

please tell me the kernel version.  then i can compare the source of
dmasound_pmac to fix the alsa code.


thanks,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)
  2003-07-22  9:03 ` Takashi Iwai
@ 2003-07-22 14:15   ` Stephen Waters
  2003-07-22 16:34   ` ted
  1 sibling, 0 replies; 7+ messages in thread
From: Stephen Waters @ 2003-07-22 14:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: ted, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

On Tue, 2003-07-22 at 04:03, Takashi Iwai wrote:
> At Mon, 21 Jul 2003 17:53:15 -0400 (EDT),
> ted wrote:
> > 
> > (Originally sent on the 17th, subscribed and resent due to lack of
> > response from moderators.)
>  
> there is no human moderator but it simply goes to /dev/null...

Can you at least change the response message to say that there are no
human moderators?  That might be helpful to keep from annoying users.

-s


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)
  2003-07-22  9:03 ` Takashi Iwai
  2003-07-22 14:15   ` Stephen Waters
@ 2003-07-22 16:34   ` ted
  2003-08-06 20:22     ` ted
  1 sibling, 1 reply; 7+ messages in thread
From: ted @ 2003-07-22 16:34 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, 22 Jul 2003, Takashi Iwai wrote:

> > I've been unable to get the latest stable ALSA to produce any sound at
> > all.  I even tried the "loading+unloading dmasound_pmac first" trick, but
> > to no avail.  Everything looks fine, but applications using ALSA refuse to
> > work or crash.  Using OSS emulation appears to work, but there's no sound
> > output at all (yes, I've tried maxing out the mixer controls).
> >
> > Any ideas?
> >
> > The kernel driver seems to work pretty well, but it only supports a single
> > DSP device (which is rather annoying at times, especially since you
> > apparently need one for even just console beeps).
> >
> > System is a PowerBook Titanium II w/ TAS3001c.  Let me know if you need
> > more info.  Thanks!
>
> please tell me the kernel version.  then i can compare the source of
> dmasound_pmac to fix the alsa code.

I use Ben's stable tree (from http://www.penguinppc.org/dev/kernel.shtml).
I'd be happy to test any code changes.  Just let me know.  Thanks!



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now)
  2003-07-22 16:34   ` ted
@ 2003-08-06 20:22     ` ted
  2003-08-27 23:27       ` No sound output on PowerBook Titanium II (TAS3001c) - update ted
  0 siblings, 1 reply; 7+ messages in thread
From: ted @ 2003-08-06 20:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, 22 Jul 2003, ted wrote:

> On Tue, 22 Jul 2003, Takashi Iwai wrote:
>
> > > I've been unable to get the latest stable ALSA to produce any sound at
> > > all.  I even tried the "loading+unloading dmasound_pmac first" trick, but
> > > to no avail.  Everything looks fine, but applications using ALSA refuse to
> > > work or crash.  Using OSS emulation appears to work, but there's no sound
> > > output at all (yes, I've tried maxing out the mixer controls).
> > >
> > > Any ideas?
> > >
> > > The kernel driver seems to work pretty well, but it only supports a single
> > > DSP device (which is rather annoying at times, especially since you
> > > apparently need one for even just console beeps).
> > >
> > > System is a PowerBook Titanium II w/ TAS3001c.  Let me know if you need
> > > more info.  Thanks!
> >
> > please tell me the kernel version.  then i can compare the source of
> > dmasound_pmac to fix the alsa code.
>
> I use Ben's stable tree (from http://www.penguinppc.org/dev/kernel.shtml).
> I'd be happy to test any code changes.  Just let me know.  Thanks!

Any luck with this?  If someone could give me a little direction, I'd be
willing to give it a shot myself.  Thanks.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - update
  2003-08-06 20:22     ` ted
@ 2003-08-27 23:27       ` ted
  2003-08-28 20:18         ` No sound output on PowerBook Titanium II (TAS3001c) - interesting new discovery ted
  0 siblings, 1 reply; 7+ messages in thread
From: ted @ 2003-08-27 23:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Wed, 6 Aug 2003, ted wrote:

> On Tue, 22 Jul 2003, ted wrote:
>
> > On Tue, 22 Jul 2003, Takashi Iwai wrote:
> >
> > > > I've been unable to get the latest stable ALSA to produce any sound at
> > > > all.  I even tried the "loading+unloading dmasound_pmac first" trick, but
> > > > to no avail.  Everything looks fine, but applications using ALSA refuse to
> > > > work or crash.  Using OSS emulation appears to work, but there's no sound
> > > > output at all (yes, I've tried maxing out the mixer controls).
> > > >
> > > > Any ideas?
> > > >
> > > > The kernel driver seems to work pretty well, but it only supports a single
> > > > DSP device (which is rather annoying at times, especially since you
> > > > apparently need one for even just console beeps).
> > > >
> > > > System is a PowerBook Titanium II w/ TAS3001c.  Let me know if you need
> > > > more info.  Thanks!
> > >
> > > please tell me the kernel version.  then i can compare the source of
> > > dmasound_pmac to fix the alsa code.
> >
> > I use Ben's stable tree (from http://www.penguinppc.org/dev/kernel.shtml).
> > I'd be happy to test any code changes.  Just let me know.  Thanks!
>
> Any luck with this?  If someone could give me a little direction, I'd be
> willing to give it a shot myself.  Thanks.

In the process of taking a closer look at this problem, I've made the
following discoveries:

1) I can prevent the crashing of XMMS (when using the ALSA output plugin
v0.9.12) by simply:

	a) setting the output plugin buffer time below 200ms, or
	b) disabling its use of mmap

But, still no sound.


2) aplay thinks everything is fine, but there's no sound (with or without
headphones connected - mixers maxed):

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Tumbler [PowerMac Tumbler], device 0: PMac Tumbler [PowerMac
Tumbler]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
# aplay /usr/lib/MozillaFirebird/res/samples/test.wav
Playing WAVE '/usr/lib/MozillaFirebird/res/samples/test.wav' : Unsigned 8
bit, Rate 22050 Hz, Mono
# aplay /usr/lib/xcdroast-0.98/sound/test.wav
Playing WAVE '/usr/lib/xcdroast-0.98/sound/test.wav' : Signed 16 bit
Little Endian, Rate 44100 Hz, Stereo
#


3) MPlayer gets stuck in a loop trying to reset the device (two examples
using "-ao alsa9" with the latest MPlayer+Gentoo patches):

[snip]
Checking audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 24000 hz, big endian signed int
AF_pre: 24000Hz 2ch Signed 16-bit (Big-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 24000 Hz, 2 channels, Signed 16-bit
(Big-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 24000 Hz/2 channels/2 bpf/16384 bytes buffer/Signed 16 bit Big
Endian
AO: [alsa9] 24000Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
Starting playback...
alsa-play: unknown status, trying to reset soundcard
alsa-play: unknown status, trying to reset soundcard
alsa-play: unknown status, trying to reset soundcard
...
[snip]


[snip]
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Big-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit
(Big-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 48000 Hz/2 channels/2 bpf/16384 bytes buffer/Signed 16 bit Big
Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
alsa-play: unknown status, trying to reset soundcard
alsa-play: unknown status, trying to reset soundcard
alsa-play: unknown status, trying to reset soundcard
...
[snip]


4) Symptoms are still present in v2.6.0-testX kernels.


Any of this ring any bells for anyone?  I'm willing to go over the code
myself, but I have very little driver programming experience, and
therefore no idea where to begin looking for the problem.  :(

Any tips would be greatly appreciated.  Thanks.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: No sound output on PowerBook Titanium II (TAS3001c) - interesting new discovery
  2003-08-27 23:27       ` No sound output on PowerBook Titanium II (TAS3001c) - update ted
@ 2003-08-28 20:18         ` ted
  0 siblings, 0 replies; 7+ messages in thread
From: ted @ 2003-08-28 20:18 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

It seems I can load the ALSA drivers, suspend the system, and upon
restoring, the sound output just magically starts working!

MPlayer still gets caught in the "unknown status, trying to reset
soundcard" loop on _most_ media files I've tried.  With one MPEG I've
tried, it actually starts playing, but it sounds terrible
(jitters/stutters).  I've included the relevant output below in hopes that
someone might have an idea what's going on:

[snip]
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Big-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 44100 Hz/2 channels/2 bpf/16384 bytes buffer/Signed 16 bit Big
Endian
AO: [alsa9] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
[snip]

FWIW, the same MPEG sounds fine using the OSS emulation.  Any thoughts
anyone?  So close, yet so far away.  :(



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-28 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21 21:53 No sound output on PowerBook Titanium II (TAS3001c) - resend (subscribed now) ted
2003-07-22  9:03 ` Takashi Iwai
2003-07-22 14:15   ` Stephen Waters
2003-07-22 16:34   ` ted
2003-08-06 20:22     ` ted
2003-08-27 23:27       ` No sound output on PowerBook Titanium II (TAS3001c) - update ted
2003-08-28 20:18         ` No sound output on PowerBook Titanium II (TAS3001c) - interesting new discovery ted

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.