mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: A Guy Called Tyketto <tyketto@wizard.com>
Cc: Vojtech Pavlik <vojtech@suse.cz>, linux-kernel@vger.kernel.org
Subject: Re: kbd not functioning in 2.5.25-dj2
Date: Sun, 14 Jul 2002 10:05:09 +0200	[thread overview]
Message-ID: <20020714100509.B25887@ucw.cz> (raw)
In-Reply-To: <20020713214801.GA276@wizard.com>; from tyketto@wizard.com on Sat, Jul 13, 2002 at 02:48:01PM -0700

On Sat, Jul 13, 2002 at 02:48:01PM -0700, A Guy Called Tyketto wrote:

>         I just gave this a try with 2.5.25-dj2, and I still don't have a 
> working keyboard. Mouse works fine; no response from the keyboard. revelant 
> parts of .config below:
> 
> CONFIG_INPUT=y
> CONFIG_INPUT_KEYBDEV=y
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> CONFIG_INPUT_EVDEV=m
> # CONFIG_INPUT_EVBUG is not set
> CONFIG_GAMEPORT=m
> CONFIG_SOUND_GAMEPORT=m
> CONFIG_GAMEPORT_FM801=m
> CONFIG_SERIO=y
> CONFIG_SERIO_I8042=y
> CONFIG_I8042_REG_BASE=60
> CONFIG_I8042_KBD_IRQ=1
> CONFIG_I8042_AUX_IRQ=12
> CONFIG_SERIO_SERPORT=m
> CONFIG_INPUT_KEYBOARD=y
> CONFIG_KEYBOARD_ATKBD=y
> CONFIG_INPUT_MOUSE=y
> CONFIG_MOUSE_PS2=y

The .config is OK.

>         /proc/interrupts shows:
> 
>            CPU0       
>   0:     108187          XT-PIC  timer
>   2:          0          XT-PIC  cascade
>   4:        182          XT-PIC  serial
>   5:          1          XT-PIC  parport0
>   8:          1          XT-PIC  rtc
>  10:        530          XT-PIC  eth0
>  12:        830          XT-PIC  i8042
>  14:       3754          XT-PIC  ide0

Unfortunately this doesn't list interrupts, which happened, but are no
longer claimed by any driver - and the i8042 driver frees the interrupt
when it detects no device.

>         From the above part of .config, IRQ1 should be set for the keyboard, 
> while IRQ 12 for the AUX port. 12 is set, 1 is not. dmesg shows:
> 
> mice: PS/2 mouse device common for all mice
> serio: i8042 KBD port at 0x60,0x64 irq 1
> input: ImPS/2 Microsoft IntelliMouse on isa0060/serio1
> serio: i8042 AUX port at 0x60,0x64 irq 12

So it detected both the KBD and AUX ports properly, but for some reason
it couldn't identify the attached keyboard.

Can you #define ATKBD_DEBUG in drivers/input/keyboard/atkbd.c? 
Then you'll see what happened in' dmesg'.

>         So I don't really know what is causing my keyboard (PS/2) to not work 
> with the new API. I also don't know how others are getting it to work.. any 
> insight?

Most likely you have a somewhat unusual keyboard - it may be responding
too slow perhaps, so that the driver times out - or doesn't support some
of the commands the driver expects to use.

Or the mouse kills the keyboard. This also can happen - they share
common resources. This would need more debugging then.

So, what's the keyboard, what's the mouse, and what's the mainboard
exactly? 

-- 
Vojtech Pavlik
SuSE Labs

  reply	other threads:[~2002-07-14  8:02 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-13  7:24 Ed Sweetman
2002-07-13  7:37 ` A Guy Called Tyketto
2002-07-13  8:01   ` Ed Sweetman
2002-07-13  8:45     ` Ed Sweetman
2002-07-13  9:06       ` Vojtech Pavlik
2002-07-13 21:48         ` A Guy Called Tyketto
2002-07-14  8:05           ` Vojtech Pavlik [this message]
2002-07-14 10:18             ` A Guy Called Tyketto
2002-07-14 10:32               ` Russell King
2002-07-14 12:01               ` Vojtech Pavlik
2002-07-14 12:17                 ` Andries Brouwer
2002-07-14 12:37                   ` Vojtech Pavlik
2002-07-14 13:36                     ` Rogier Wolff
2002-07-14 17:32                       ` Vojtech Pavlik
2002-07-14 17:49                         ` Russell King
2002-07-14 17:59                           ` Vojtech Pavlik
2002-07-14 18:07                             ` Russell King
2002-07-14 18:11                               ` Vojtech Pavlik
2002-07-14 17:37                     ` Andries Brouwer
2002-07-14 18:01                       ` Vojtech Pavlik
2002-07-14 18:13                         ` Russell King
2002-07-14 18:17                           ` Vojtech Pavlik
2002-07-15  3:53                         ` Maciej W. Rozycki
2002-07-14 21:30                 ` A Guy Called Tyketto
2002-07-15  3:00                   ` Vojtech Pavlik
2002-07-15  8:30                     ` A Guy Called Tyketto
2002-07-15  7:28         ` Alexander Hoogerhuis
2002-07-15 10:56           ` Arnd Bergmann
2002-07-15 10:06             ` Alexander Hoogerhuis
2002-07-13  9:07       ` A Guy Called Tyketto
2002-07-13  9:32         ` Vojtech Pavlik
2002-07-13  9:04   ` Russell King
2002-07-15 15:45 Rudmer van Dijk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020714100509.B25887@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tyketto@wizard.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®