2002-01-15 12:27:21

by Denis Vlasenko

[permalink] [raw]
Subject: [BUG] cs46xx: sound distortion after hours of use

I have noticed that after hours of palying mp3s thru my onboard audio
(I use cs46xx module) sound becomes distorted (high-pitch noise).

Restarting xmms does not help.

rmmod cs46xx; modprobe cs46xx fixes it.
--
vda


2002-01-15 15:21:08

by Erik Mouw

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

On Tue, Jan 15, 2002 at 02:24:00PM -0200, Denis Vlasenko wrote:
> I have noticed that after hours of palying mp3s thru my onboard audio
> (I use cs46xx module) sound becomes distorted (high-pitch noise).
>
> Restarting xmms does not help.
>
> rmmod cs46xx; modprobe cs46xx fixes it.

Are you running a battery monitor or something similar? In that case it
can cause the CPU to go into SMM with interrupts disabled to talk to
the batteries and completely forget about servicing the audio IRQ
thereby fscking up the sound. I had the same problems on my laptop and
killing gnome_battery_applet fixed it.


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635
Fax: +31-15-2781843 Email: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/

2002-01-15 19:29:59

by Dave Hansen

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

Erik Mouw wrote:

>On Tue, Jan 15, 2002 at 02:24:00PM -0200, Denis Vlasenko wrote:
>
>>I have noticed that after hours of palying mp3s thru my onboard audio
>>(I use cs46xx module) sound becomes distorted (high-pitch noise).
>>
>>Restarting xmms does not help.
>>
>>rmmod cs46xx; modprobe cs46xx fixes it.
>>
>Are you running a battery monitor or something similar? In that case it
>can cause the CPU to go into SMM with interrupts disabled to talk to
>the batteries and completely forget about servicing the audio IRQ
>thereby fscking up the sound. I had the same problems on my laptop and
>killing gnome_battery_applet fixed it.
>
I have the same problem, but very rarely. I, too, use the
rmmod/modprobe technique to fix it. Have either of you found a way to
excite the problem without waiting hours for it to happen?

--
Dave Hansen
[email protected]

2002-01-15 20:24:50

by Erik Mouw

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

On Tue, Jan 15, 2002 at 11:27:30AM -0800, David C. Hansen wrote:
> Erik Mouw wrote:
> >Are you running a battery monitor or something similar? In that case it
> >can cause the CPU to go into SMM with interrupts disabled to talk to
> >the batteries and completely forget about servicing the audio IRQ
> >thereby fscking up the sound. I had the same problems on my laptop and
> >killing gnome_battery_applet fixed it.
> >
> I have the same problem, but very rarely. I, too, use the
> rmmod/modprobe technique to fix it. Have either of you found a way to
> excite the problem without waiting hours for it to happen?

'cat /proc/apm' is usually enough to trigger it on my laptop. Note that
my laptop needs the i810_audio+ac97_codec drivers.


Erik

--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635
Fax: +31-15-2781843 Email: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/

2002-01-15 20:44:20

by Dave Hansen

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

>Erik Mouw wrote:
>I have the same problem, but very rarely. I, too, use the
>rmmod/modprobe technique to fix it. Have either of you found a way to
>excite the problem without waiting hours for it to happen?
>

[email protected] wrote:
> Open and close XMMS a couple of times, while listening to mp3s. This
> almost always does it for me. I reported this problem many, many
> months ago, but was told I needed to contact the driver maintainer. I
> did this and received no reply. I wish you better luck! Using here:
> IBM Thinkpad A20m.
>

Hmmm. I've tried doing this: while true; do cat /proc/apm; done > /dev/null
I then open and close XMMS a few times and plug/unplug my AC adapter
trying to get something to happen. I haven't had any luck. The
frustrating part is that I've had the problem before. I just can't get
it to do it now.
BTW, I have a Thinkpad T21. Do any of you have a non-IBM notebook?


2002-01-15 22:17:14

by Bill Nottingham

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

David C. Hansen ([email protected]) said:
> BTW, I have a Thinkpad T21. Do any of you have a non-IBM notebook?

I have an IBM notebook and I see it from time to time. If I had to guess,
it's probably related to the powersaving stuff. (That seems to be the
common-to-IBM quirk for cs46xx. ;) )

Bill

2002-01-16 03:00:56

by William Lee Irwin III

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

On Tue, Jan 15, 2002 at 11:27:30AM -0800, David C. Hansen wrote:
> I have the same problem, but very rarely. I, too, use the
> rmmod/modprobe technique to fix it. Have either of you found a way to
> excite the problem without waiting hours for it to happen?

It happens whenever I use it at all. Want to try it on my laptop sometime?


Cheers,
Bill

2002-01-17 01:04:36

by Andrew Kanaber

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

On Tue, Jan 15, 2002 at 09:32:01PM +0000, David C. Hansen wrote:
> BTW, I have a Thinkpad T21. Do any of you have a non-IBM notebook?

I have a non-IBM non-notebook apparently with this problem. It's an Athlon
XP/Via KT266A desktop system with a Turtle Beach Santa Cruz soundcard,
running kernel 2.4.17 with cs46xx as a module and APM compiled in. Sound
became very distorted playing MP3s, rmmod cs46xx followed by modprobe cs46xx
fixed the problem. It's only happened once so far, but I've only had this
machine for two weeks.

I'm afraid cat /proc/apm doesn't seem to reproduce the problem for me
either.

Andrew

2002-01-24 11:28:44

by Denis Vlasenko

[permalink] [raw]
Subject: Re: [BUG] cs46xx: sound distortion after hours of use

> > BTW, I have a Thinkpad T21. Do any of you have a non-IBM notebook?
>
> I have a non-IBM non-notebook apparently with this problem. It's an Athlon
> XP/Via KT266A desktop system with a Turtle Beach Santa Cruz soundcard,
> running kernel 2.4.17 with cs46xx as a module and APM compiled in. Sound
> became very distorted playing MP3s, rmmod cs46xx followed by modprobe
> cs46xx fixed the problem. It's only happened once so far, but I've only had
> this machine for two weeks.
>
> I'm afraid cat /proc/apm doesn't seem to reproduce the problem for me
> either.

Just happened here again. I pressed pause in XMMS, then pressed it again to
unpause, now sound is mixed with high-pitched noise
--
vda