* cpufreq change appears to cause ps2 mouse hangs
@ 2005-04-25 19:04 Eric Oosting
2005-04-25 19:19 ` Dmitry Torokhov
2005-04-26 10:52 ` Bruno Ducrot
0 siblings, 2 replies; 3+ messages in thread
From: Eric Oosting @ 2005-04-25 19:04 UTC (permalink / raw)
To: cpufreq
I wanted to bring a problem I am having to your
attention in hopes that
you might be able to help me correct my problem.
I have a dell latitude C600 laptop with a PIII 1Ghz
proc running the
latest Ubuntu (5.04) release and 2.6.10. Ubuntu uses
powernowd to adjust
frequency scaling.
My problem is that whenever powernowd changes the
frequency on my cpu my
mouse hangs for about a second with the following
error to
/var/log/messages:
Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 lost synchronization,
throwing 4 bytes away.
Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 lost sync at byte 1
Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 lost sync at byte 1
Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 - driver resynched.
Apr 22 21:06:34 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 lost synchronization,
throwing 1 bytes away.
Apr 22 21:06:34 localhost kernel: psmouse.c: TouchPad
at isa0060/serio1/input0 lost sync at byte 1
This also happens if I have a standard USB mouse
plugged in. If I disable
powernowd I don't get any hickups. I don't believe the
problem is directly
because of powernowd because I am able to reproduce
the problem by running
"echo 700000 >
/sys/device/system/cpu/cpu0/cpufreq/scaling_setspeed"
or
setting it back to 1000000.
Have you any ideas on how I might solve or mitigate
the problems I am
having? The cpu frequency scaling capabilities of the
2.6 kernel are
wonderful and I would much prefer to fix the problem
then disable any
tools that would change the scaling dynamically.
Thanks,
Eric
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cpufreq change appears to cause ps2 mouse hangs
2005-04-25 19:04 cpufreq change appears to cause ps2 mouse hangs Eric Oosting
@ 2005-04-25 19:19 ` Dmitry Torokhov
2005-04-26 10:52 ` Bruno Ducrot
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2005-04-25 19:19 UTC (permalink / raw)
To: Eric Oosting; +Cc: cpufreq
On 4/25/05, Eric Oosting <eoosting@yahoo.com> wrote:
>
> My problem is that whenever powernowd changes the
> frequency on my cpu my
> mouse hangs for about a second with the following
> error to
> /var/log/messages:
>
> Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost synchronization,
> throwing 4 bytes away.
I don't think it is cpufreq that is to blame, but rather because (I am
speculating here) powernowd reads /proc/acpi/battery/BATX/info which
is known to take a _long_ time and mess up KBC...
Do you see the same messages if you switch frequency directly through
sysfs without powernowd involved?
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cpufreq change appears to cause ps2 mouse hangs
2005-04-25 19:04 cpufreq change appears to cause ps2 mouse hangs Eric Oosting
2005-04-25 19:19 ` Dmitry Torokhov
@ 2005-04-26 10:52 ` Bruno Ducrot
1 sibling, 0 replies; 3+ messages in thread
From: Bruno Ducrot @ 2005-04-26 10:52 UTC (permalink / raw)
To: Eric Oosting; +Cc: cpufreq
On Mon, Apr 25, 2005 at 12:04:59PM -0700, Eric Oosting wrote:
> I wanted to bring a problem I am having to your
> attention in hopes that
> you might be able to help me correct my problem.
>
> I have a dell latitude C600 laptop with a PIII 1Ghz
> proc running the
> latest Ubuntu (5.04) release and 2.6.10. Ubuntu uses
> powernowd to adjust
> frequency scaling.
>
> My problem is that whenever powernowd changes the
> frequency on my cpu my
> mouse hangs for about a second with the following
> error to
> /var/log/messages:
>
> Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost synchronization,
> throwing 4 bytes away.
> Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost sync at byte 1
> Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost sync at byte 1
> Apr 22 20:58:44 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 - driver resynched.
> Apr 22 21:06:34 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost synchronization,
> throwing 1 bytes away.
> Apr 22 21:06:34 localhost kernel: psmouse.c: TouchPad
> at isa0060/serio1/input0 lost sync at byte 1
>
> This also happens if I have a standard USB mouse
> plugged in. If I disable
> powernowd I don't get any hickups. I don't believe the
> problem is directly
> because of powernowd because I am able to reproduce
> the problem by running
> "echo 700000 >
> /sys/device/system/cpu/cpu0/cpufreq/scaling_setspeed"
> or
> setting it back to 1000000.
>
> Have you any ideas on how I might solve or mitigate
> the problems I am
> having? The cpu frequency scaling capabilities of the
> 2.6 kernel are
> wonderful and I would much prefer to fix the problem
> then disable any
> tools that would change the scaling dynamically.
>
What cpufreq driver are you using (speedstep-ich, speedstep-smi)?
What kind of southbridge (ich or piix4 or whatever)?
Could you post a dmesg and a lspci -v?
Also have you the same problem but without ACPI? (I suspect actually
a problem with the power state, a cat /proc/acpi/processor/*/power may
help also)
Cheers,
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-26 10:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25 19:04 cpufreq change appears to cause ps2 mouse hangs Eric Oosting
2005-04-25 19:19 ` Dmitry Torokhov
2005-04-26 10:52 ` Bruno Ducrot
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.