[Alsa-user] powermac / tumbler sound stops after few seconds

2008-01-29 Thread not disclosed

Dear AU list,

Sorry if this is received more than once, the original never seemed to arrive...
 
I have linux install on a powerbook G4 titanium and the sound does not work. At 
best I get a short
burst of sound 1-5seconds long and then nothing and the application hangs (in 
this case aplay).
 
I have tried my distro alsa and compiling 1.0.15 from scratch and I get the 
same result.
 
I have determined that this line in aplay is where the fault is:
 
line 1260: r= writei_func(handle, data, count);
 
I am presuming this is where the data is written to the driver and what happens 
is the program calls writei fine for a few calls
and after a random amount of time (normally 1-5 seconds). writei never returns 
and the sound stops.
 
writei seems to be pointing to snd_pcm_writei which I am guessing evenutally 
calls a a kernel driver API function somewhere (but I don't know where).
 
I have recompiled the alsa driver with debugging on and explicitly turned on 
the debugging printks in the powermac tumbler driver.  These indicate
that the powermac tumbler driver is being used but give no indication of any 
problem.
 
I should add that the sound worked perfectly under maxosx.
 
It looks to me like this is a kernel driver / hardware issue and I need advice 
as to how to track this and debug it.
 
I am using alsa 1.0.15 kernel 2.6.22.13-0.3 (suse 10.3) on a ppc and I think I 
have a powermac tumbler sound card.
 
Any hints gratefully received.
 
BTW The AOA / soundbus devices would not compile for me - it looks like the 
kernel api interface has changed and the module has not
been changed to match, the offending call is add_uevent_var in 
aoa/soundbus/core.c.  I am not sure if it is out of date or not maintained
but the number of parameters does not match the correct number of parameters in 
my kernel sources so it will not compile.
 
Since this is may be a driver issue is there a better place to post this 
problem, LKML for instance?
 
Cheers,
 
SA
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] powermac / tumbler sound stops after few seconds

2008-01-29 Thread Clemens Ladisch
not disclosed wrote:
 I have linux install on a powerbook G4 titanium and the sound does not work. 
 At best I get a short
 burst of sound 1-5seconds long and then nothing and the application hangs (in 
 this case aplay).

This bug has been fixed in ALSA 1.0.16rc2.


HTH
Clemens

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user