Vojtech, list,
I find that my keyboard only works if I turn on the local APIC on UP on my
laptop. The only clue I see scrolling past is something about 'AT keyboard
timeout, not present?'. I don't have my nullmodem cable handy to check it
out further.
I do see it talking about interrupt 1 and IO 0x60. I've also compiled it
with the SERIO debugging setting and ATKBD debugging on, but I still don't
see anything useful.
Every once in a while it would say 'unknown scancode from keybord set 0,
0x2' and then some more numbers. I feel bad that I can't be anymore specific
right now.
If you want me to do some more checking, let me know, and I'll hook up the
serial.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
On Sun, Jul 21, 2002 at 12:29:05AM +0200, bert hubert wrote:
> Vojtech, list,
>
> I find that my keyboard only works if I turn on the local APIC on UP on my
> laptop. The only clue I see scrolling past is something about 'AT keyboard
> timeout, not present?'. I don't have my nullmodem cable handy to check it
> out further.
>
> I do see it talking about interrupt 1 and IO 0x60. I've also compiled it
> with the SERIO debugging setting and ATKBD debugging on, but I still don't
> see anything useful.
>
> Every once in a while it would say 'unknown scancode from keybord set 0,
> 0x2' and then some more numbers. I feel bad that I can't be anymore specific
> right now.
>
> If you want me to do some more checking, let me know, and I'll hook up the
> serial.
Can you check with 2.5.29? Several bugs in the keyboard support were
fixed.
--
Vojtech Pavlik
SuSE Labs
On Sun, Jul 28, 2002 at 08:40:51PM +0200, Vojtech Pavlik wrote:
> > I find that my keyboard only works if I turn on the local APIC on UP on my
> > laptop. The only clue I see scrolling past is something about 'AT keyboard
> > timeout, not present?'. I don't have my nullmodem cable handy to check it
> > out further.
> Can you check with 2.5.29? Several bugs in the keyboard support were
> fixed.
Including mine, thanks! I just tested without local APIC on UP and my
keyboard works just fine.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
Vojtech, list, I think we may have a small regression in the keyboard
support.
In 2.5.27 my keyboard only worked when I turned on Local APIC on UP, which
was fixed in 2.5.29 (original message below).
In 2.5.32 I'm back to almost the exact same problem, but the APIC setting
does not matter.
It boots fine without keyboard support, which I had initially after make
oldconfig (except no keyboard). When I turn on the keyboard support, just
after 'Freeing unused kernel memory', my harddisk light starts to blink
roughly once every .75 seconds and the boot proceeds *very* slowly.
Furthermore, I can feel that the CPU is hard at work, the fan exhaust of my
laptop gets pretty hot.
Numlock does not react and keystrokes do not appear on the screen. I do see
some keyboard related printk's early in the bootprocess but they are gone
quickly and do not look like errors.
This is the exact same behaviour I had with 2.5.27 and APIC *off*.
2.5.31 works fine. This is a nearly-completely-SiS laptop from a company
called 'Gericom'.
Booted with 2.5.31:
$ cat /proc/interrupts
CPU0
0: 475860 XT-PIC timer
1: 2572 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 3 XT-PIC rtc
9: 0 XT-PIC acpi
10: 3141 XT-PIC eth0
12: 526 XT-PIC PS/2 Mouse
14: 4879 XT-PIC ide0
15: 11 XT-PIC ide1
NMI: 0
ERR: 0
$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
a000-afff : PCI Bus #01
ac80-acff : Silicon Integrated Systems [SiS] SiS630 GUI Accelerator+3D
d000-d0ff : Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet
d000-d0ff : sis900
d400-d4ff : Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator
d800-d87f : PCI device 1039:7013 (Silicon Integrated Systems [SiS])
dc00-dcff : PCI device 1039:7013 (Silicon Integrated Systems [SiS])
ff00-ff0f : Silicon Integrated Systems [SiS] 5513 [IDE]
ff00-ff07 : ide0
ff08-ff0f : ide1
ahu@snapcount:/mnt/linux-2.5.32$ egrep 'KEY|INPUT' .config
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_JOYDUMP is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
# CONFIG_INPUT_UINPUT is not set
# CONFIG_USB_HIDINPUT is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19QW is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19QI is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
Let me know if there are further things I can try. I think I know where my
nullmodem cable is, so I could try that.
Kind regards,
bert hubert
On Sun, Jul 28, 2002 at 10:32:12PM +0200, bert hubert wrote:
> On Sun, Jul 28, 2002 at 08:40:51PM +0200, Vojtech Pavlik wrote:
>
> > > I find that my keyboard only works if I turn on the local APIC on UP on my
> > > laptop. The only clue I see scrolling past is something about 'AT keyboard
> > > timeout, not present?'. I don't have my nullmodem cable handy to check it
> > > out further.
>
> > Can you check with 2.5.29? Several bugs in the keyboard support were
> > fixed.
>
> Including mine, thanks! I just tested without local APIC on UP and my
> keyboard works just fine.
>
> Regards,
>
> bert
>
> --
> http://www.PowerDNS.com Versatile DNS Software & Services
> http://www.tk the dot in .tk
> http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
On Sat, Aug 31, 2002 at 08:26:45PM +0200, bert hubert wrote:
> Vojtech, list, I think we may have a small regression in the keyboard
> support.
>
> In 2.5.27 my keyboard only worked when I turned on Local APIC on UP, which
> was fixed in 2.5.29 (original message below).
>
> In 2.5.32 I'm back to almost the exact same problem, but the APIC setting
> does not matter.
>
> It boots fine without keyboard support, which I had initially after make
> oldconfig (except no keyboard). When I turn on the keyboard support, just
> after 'Freeing unused kernel memory', my harddisk light starts to blink
> roughly once every .75 seconds and the boot proceeds *very* slowly.
> Furthermore, I can feel that the CPU is hard at work, the fan exhaust of my
> laptop gets pretty hot.
>
> Numlock does not react and keystrokes do not appear on the screen. I do see
> some keyboard related printk's early in the bootprocess but they are gone
> quickly and do not look like errors.
>
> This is the exact same behaviour I had with 2.5.27 and APIC *off*.
>
> 2.5.31 works fine. This is a nearly-completely-SiS laptop from a company
> called 'Gericom'.
>
> ahu@snapcount:/mnt/linux-2.5.32$ egrep 'KEY|INPUT' .config
> CONFIG_INPUT_KEYBOARD=y
> CONFIG_KEYBOARD_ATKBD=y
> CONFIG_INPUT_MOUSE=y
> CONFIG_INPUT_MISC=y
> CONFIG_INPUT_PCSPKR=y
How about I8042 support? Also enabled? If not, then the keyboard driver
isn't even touching the hardware.
> Let me know if there are further things I can try. I think I know where my
> nullmodem cable is, so I could try that.
Can you check with the attached patch? Or (better) Linus's current BK
tree?
--
Vojtech Pavlik
SuSE Labs
On Sat, Aug 31, 2002 at 08:53:37PM +0200, Vojtech Pavlik wrote:
> On Sat, Aug 31, 2002 at 08:26:45PM +0200, bert hubert wrote:
Vojtech, not only does your patch fix the problem, you supplied it in 27
minutes. Great, I'm typing this from 2.5.32. I do have heaps and heaps of
debugging now.
> How about I8042 support? Also enabled? If not, then the keyboard driver
> isn't even touching the hardware.
Yes, that was enabled.
> Can you check with the attached patch? Or (better) Linus's current BK
> tree?
When I refind Rik van Riel's bk-to-patch directory, I'll give it a shot.
Again, thanks!
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
On Sat, Aug 31, 2002 at 09:14:32PM +0200, bert hubert wrote:
> On Sat, Aug 31, 2002 at 08:53:37PM +0200, Vojtech Pavlik wrote:
> > On Sat, Aug 31, 2002 at 08:26:45PM +0200, bert hubert wrote:
>
> Vojtech, not only does your patch fix the problem, you supplied it in 27
> minutes. Great, I'm typing this from 2.5.32. I do have heaps and heaps of
> debugging now.
>
> > How about I8042 support? Also enabled? If not, then the keyboard driver
> > isn't even touching the hardware.
>
> Yes, that was enabled.
>
> > Can you check with the attached patch? Or (better) Linus's current BK
> > tree?
>
> When I refind Rik van Riel's bk-to-patch directory, I'll give it a shot.
> Again, thanks!
:)
--
Vojtech Pavlik
SuSE Labs
On Sat, 31 Aug 2002, bert hubert wrote:
> > Can you check with the attached patch? Or (better) Linus's current BK
> > tree?
>
> When I refind Rik van Riel's bk-to-patch directory, I'll give it a shot.
> Again, thanks!
ftp://nl.linux.org/pub/linux/bk2patch/
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
On Sat, Aug 31, 2002 at 09:19:22PM +0200, Vojtech Pavlik wrote:
> > > Can you check with the attached patch? Or (better) Linus's current BK
> > > tree?
> >
> > When I refind Rik van Riel's bk-to-patch directory, I'll give it a shot.
> > Again, thanks!
Thanks to Rik's bitkeeper script, I can confirm that my problem is gone in
the bitkeeper tree as of a few hours ago.
Regards,
bert hubert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
On Sat, Aug 31, 2002 at 09:54:48PM +0200, bert hubert wrote:
> > > > Can you check with the attached patch? Or (better) Linus's current BK
> > > > tree?
> > >
> > > When I refind Rik van Riel's bk-to-patch directory, I'll give it a shot.
> > > Again, thanks!
>
> Thanks to Rik's bitkeeper script, I can confirm that my problem is gone in
> the bitkeeper tree as of a few hours ago.
Glad to hear that.
--
Vojtech Pavlik
SuSE Labs