All of lore.kernel.org
 help / color / mirror / Atom feed
* weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
@ 2013-08-26  5:53 Udo van den Heuvel
  2013-08-27 15:40 ` Peter Hurley
  2013-08-27 17:41 ` Andreas Mohr
  0 siblings, 2 replies; 7+ messages in thread
From: Udo van den Heuvel @ 2013-08-26  5:53 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

Hello,

I am stuck with a weird keyboard related issue:
Since a few weeks I see loads of ^@^@^@^@^@^@ appear on the text console
while the PC_speaker beeps when this box is in runlevel 3.
When xorg is running the ^@^@^@ stream stops, as does the beeping, but I
can notice that selecting text, scrolling xterminals with the mouse are
interrupted by these characters appearing. (but not printing)

Removing/replacing the ps/2 keyboard does not help.
Rebooting does help for a while.

The hardware is a Gigabyte F2A85X-UP4, BIOS F5a 04/30/2013.
I replaced the board last weekend by a brand new F2A85X-UP4 with same
BIOS F5a but the problem persists.

What could this be?
Is it really a software issue?
If so: how could I help fix this?

Kind regards,
Udo

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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-26  5:53 weird keyboard issue (ps/2 port?) 3.9.x/3.10.x? Udo van den Heuvel
@ 2013-08-27 15:40 ` Peter Hurley
  2013-08-27 15:52   ` Udo van den Heuvel
  2013-08-27 17:41 ` Andreas Mohr
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Hurley @ 2013-08-27 15:40 UTC (permalink / raw)
  To: Udo van den Heuvel; +Cc: linux-kernel@vger.kernel.org, Jiri Slaby, Greg KH

[ +cc Greg KH, Jiri S ]

On 08/26/2013 01:53 AM, Udo van den Heuvel wrote:
> Hello,
>
> I am stuck with a weird keyboard related issue:
> Since a few weeks I see loads of ^@^@^@^@^@^@ appear on the text console
> while the PC_speaker beeps when this box is in runlevel 3.
> When xorg is running the ^@^@^@ stream stops, as does the beeping, but I
> can notice that selecting text, scrolling xterminals with the mouse are
> interrupted by these characters appearing. (but not printing)
>
> Removing/replacing the ps/2 keyboard does not help.
> Rebooting does help for a while.
>
> The hardware is a Gigabyte F2A85X-UP4, BIOS F5a 04/30/2013.
> I replaced the board last weekend by a brand new F2A85X-UP4 with same
> BIOS F5a but the problem persists.
>
> What could this be?
> Is it really a software issue?
> If so: how could I help fix this?

What changed 'a few weeks' ago when this problem started?
I noticed your USB post as well. Did that problem start at the same time
with the same change?

Regards,
Peter Hurley


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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-27 15:40 ` Peter Hurley
@ 2013-08-27 15:52   ` Udo van den Heuvel
  0 siblings, 0 replies; 7+ messages in thread
From: Udo van den Heuvel @ 2013-08-27 15:52 UTC (permalink / raw)
  To: Peter Hurley; +Cc: linux-kernel@vger.kernel.org, Jiri Slaby, Greg KH

On 2013-08-27 17:40, Peter Hurley wrote:
> [ +cc Greg KH, Jiri S ]
> 
> On 08/26/2013 01:53 AM, Udo van den Heuvel wrote:
>> Hello,
>>
>> I am stuck with a weird keyboard related issue:
>> Since a few weeks I see loads of ^@^@^@^@^@^@ appear on the text console
[...]
>> What could this be?
>> Is it really a software issue?
>> If so: how could I help fix this?
> 
> What changed 'a few weeks' ago when this problem started?

I upgraded to Fedora 19 (from F17) and rebuilt kernels.
I rebuilt some kernels, found the fix to the encrypted swap activation
issue, etc.
I'd have to look up the date, but around july 14th?
Due to unfortunate changes in systemd I could not boot older kernels
anymore in F19 and needed that swap fix (remove /sbin/hotplug helper
definition). 3.9.9 is oldest one that boots but shows the issue(s).
I am now rebuilding 3.8.5 to see if that makes a difference for any of
these issues.

> I noticed your USB post as well. Did that problem start at the same time
> with the same change?

First alone the USB issue was present, later the PS/2 issue started but
(stupidly) I failed to note the kernel version. (or date) (but it was
post F19 migration)

I did not find any stuff in /var/log/messages that correlates with the
'ps/2' issue. (ps/2 as that is the interface of my keyboard but the
source could be elsewhere)
I will retest if the ps/2 issue is also present without keyboard connected.
I will see if the ~2 day delay from boot is consistent with the issue
occurring.

Udo

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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-26  5:53 weird keyboard issue (ps/2 port?) 3.9.x/3.10.x? Udo van den Heuvel
  2013-08-27 15:40 ` Peter Hurley
@ 2013-08-27 17:41 ` Andreas Mohr
  2013-08-27 19:18   ` Geert Uytterhoeven
  2013-08-28 13:11   ` Udo van den Heuvel
  1 sibling, 2 replies; 7+ messages in thread
From: Andreas Mohr @ 2013-08-27 17:41 UTC (permalink / raw)
  To: Udo van den Heuvel; +Cc: linux-kernel@vger.kernel.org

Hi,

> What could this be?
> Is it really a software issue?
> If so: how could I help fix this?

Perhaps watching the output of some input event tools could help
gather some clues to eventually get it nailed down?

Some candidates:

evtest - utility to monitor Linux input device events
input-utils - utilities for the input layer of the Linux kernel
xinput - Runtime configuration and test of XInput devices


And what do /proc/interrupts counts say? Does PS/2 (i8042) generate events?

while :; do clear; cat /proc/interrupts; sleep 1; done


HTH [shot in the dark],

Andreas Mohr

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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-27 17:41 ` Andreas Mohr
@ 2013-08-27 19:18   ` Geert Uytterhoeven
  2013-08-27 19:26     ` Andreas Mohr
  2013-08-28 13:11   ` Udo van den Heuvel
  1 sibling, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2013-08-27 19:18 UTC (permalink / raw)
  To: Andreas Mohr; +Cc: Udo van den Heuvel, linux-kernel@vger.kernel.org

On Tue, Aug 27, 2013 at 7:41 PM, Andreas Mohr <andi@lisas.de> wrote:
> while :; do clear; cat /proc/interrupts; sleep 1; done

watch cat /proc/interrupts

(yes, I spent ca. 15 years of my life using a similar loop ;-)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-27 19:18   ` Geert Uytterhoeven
@ 2013-08-27 19:26     ` Andreas Mohr
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Mohr @ 2013-08-27 19:26 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Andreas Mohr, Udo van den Heuvel, linux-kernel@vger.kernel.org

On Tue, Aug 27, 2013 at 09:18:37PM +0200, Geert Uytterhoeven wrote:
> On Tue, Aug 27, 2013 at 7:41 PM, Andreas Mohr <andi@lisas.de> wrote:
> > while :; do clear; cat /proc/interrupts; sleep 1; done
> 
> watch cat /proc/interrupts
> 
> (yes, I spent ca. 15 years of my life using a similar loop ;-)

Urgh, how did I manage to forget about that? :)

However my solution surely achieves faster more better colorfully HD
since it's base POSIX shell rather than heavy-handed "watch" dependency :)

Andreas Mohr

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

* Re: weird keyboard issue (ps/2 port?) 3.9.x/3.10.x?
  2013-08-27 17:41 ` Andreas Mohr
  2013-08-27 19:18   ` Geert Uytterhoeven
@ 2013-08-28 13:11   ` Udo van den Heuvel
  1 sibling, 0 replies; 7+ messages in thread
From: Udo van den Heuvel @ 2013-08-28 13:11 UTC (permalink / raw)
  To: Andreas Mohr; +Cc: linux-kernel@vger.kernel.org

On 2013-08-27 19:41, Andreas Mohr wrote:
>> What could this be?
>> Is it really a software issue?
>> If so: how could I help fix this?
> 
> Perhaps watching the output of some input event tools could help
> gather some clues to eventually get it nailed down?

Sure.
First my input:

When I run this small script to fix the irq issue, I see that also the
stream of ^@^@^@ stops (or at least appears to do so), when those ^@^@^@
were active:

service motion stop
rmmod pwc
echo 0000:00:13.0 >/sys/bus/pci/drivers/ohci_hcd/unbind
echo 0000:00:13.0 >/sys/bus/pci/drivers/ohci_hcd/bind
modprobe pwc
service motion start

> Some candidates:
> 
> evtest - utility to monitor Linux input device events
> input-utils - utilities for the input layer of the Linux kernel
> xinput - Runtime configuration and test of XInput devices

I'll look into these!

> And what do /proc/interrupts counts say? Does PS/2 (i8042) generate events?

Currently it does. But I must see what happens when all is quiet, and
the problem reappears, right?


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

end of thread, other threads:[~2013-08-28 13:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26  5:53 weird keyboard issue (ps/2 port?) 3.9.x/3.10.x? Udo van den Heuvel
2013-08-27 15:40 ` Peter Hurley
2013-08-27 15:52   ` Udo van den Heuvel
2013-08-27 17:41 ` Andreas Mohr
2013-08-27 19:18   ` Geert Uytterhoeven
2013-08-27 19:26     ` Andreas Mohr
2013-08-28 13:11   ` Udo van den Heuvel

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.