Unix Technical Forum

gentoo does not react to keyboard input

This is a discussion on gentoo does not react to keyboard input within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> hi gentooers, i've installed gentoo on another box (3rd) but this time something is wrong. once booted the system ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 08:52 AM
Hekaton Keires
 
Posts: n/a
Default gentoo does not react to keyboard input

hi gentooers,

i've installed gentoo on another box (3rd) but this time something is wrong.
once booted the system for the first time with its own kernel it won't
accept anything from keyboard.

i had to access from ssh to the box and it seems perfectly working... but
with no keyboard support.

i had such a problem with framebuffer - did forget some option about console
support - but this time everything seem to be set correctly in kernel. what
do you suggest me?

the box is a toshiba satellite A40 with P4 2.8, 512MB, Radeon9000.

any suggestion is appreciated
--
Hekaton Keires,
En to phronein maedhen aedistos bios.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 08:52 AM
Sybren Stuvel
 
Posts: n/a
Default Re: gentoo does not react to keyboard input

Hekaton Keires enlightened us with:
> i've installed gentoo on another box (3rd) but this time something
> is wrong. once booted the system for the first time with its own
> kernel it won't accept anything from keyboard.


X or console?

> i had such a problem with framebuffer - did forget some option about
> console support - but this time everything seem to be set correctly
> in kernel. what do you suggest me?


Give us more info. You don't tell us anything about the hardware,
kernel configuration, kernel version, if the problem is on the
console, in X or both.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 08:52 AM
Arto Viitanen
 
Posts: n/a
Default Re: gentoo does not react to keyboard input

>>>>> "Hekaton" == Hekaton Keires <remove_this_hekatonkeires@hotmail.com> writes:

Hekaton> hi gentooers, i've installed gentoo on another box (3rd) but this
Hekaton> time something is wrong. once booted the system for the first time
Hekaton> with its own kernel it won't accept anything from keyboard.

I have had similar problems. Either one keypress generates two characters, or
last time only a couple of keypresses generated anything (onto kde's login
dialog). Each time this has happened when I have installed new kernel and it
seems the kernel is gentoo-dev-sources (2.6.). Normal (development-sources)
kernel works fine.

--
Arto V. Viitanen av@cs.uta.fi
University of Tampere, Department of Computer Sciences
Tampere, Finland http://www.cs.uta.fi/~av/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 08:52 AM
Hekaton Keires
 
Posts: n/a
Default Re: gentoo does not react to keyboard input

in Sybren Stuvel's honest opinion:

> Give us more info. You don't tell us anything about the hardware,
> kernel configuration, kernel version, if the problem is on the
> console, in X or both.
>
> Sybren
> --
> The problem with the world is stupidity. Not saying there should be a
> capital punishment for stupidity, but why don't we just take the
> safety labels off of everything and let the problem solve itself?


unfortunately i do not have lspci outputs; that laptop is out of site... but
another thing i've noticed is that when i boot from cd i have in dmesg
these things

serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0

while booting with new kernel gives me only

serio: i8042 KBD port at 0x60,0x64 irq 1

entry - such as input does not recognize the keyboard... i thought that
maybe i compiled something modular but everything seems ok... input
configuration is:

$ grep -i input /usr/src/linux/.config
# Input device support
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=m
# CONFIG_INPUT_EVBUG is not set
# Input I/O drivers
# Input Device Drivers
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_MOUSE=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
CONFIG_USB_HIDINPUT=y

the same of another laptop where keyboard is correctly recognized.
--
Hekaton Keires,
En to phronein maedhen aedistos bios.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 08:52 AM
Sybren Stuvel
 
Posts: n/a
Default Re: gentoo does not react to keyboard input

Hekaton Keires enlightened us with:
> unfortunately i do not have lspci outputs; that laptop is out of
> site...


So it's a laptop! You never told us that little fact.

> input: AT Translated Set 2 keyboard on isa0060/serio0


Nice... looks like a serially-connected keyboard.

> i thought that maybe i compiled something modular but everything
> seems ok...


Well, you need to actually load the module before it'll work.

> the same of another laptop where keyboard is correctly recognized.


That doesn't mean anything, unless you're 100% sure the keyboard on
that laptop is connected in the exact same way.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 08:53 AM
Hekaton Keires
 
Posts: n/a
Default Re: gentoo does not react to keyboard input

in Sybren Stuvel's honest opinion:

> Well, you need to actually load the module before it'll work.
>
>> the same of another laptop where keyboard is correctly recognized.


well i suppose that atkbd.c is the part of kernel that should recognize
keyboard and should write below message into klog

"input: AT Translated Set 2 keyboard on isa0060/serio0"

in fact from /usr/src/linux/drivers/input/keyboard/atkbd.c

[...]
if (atkbd->extra) {
atkbd->dev.ledbit[0] |= BIT(LED_COMPOSE) | BIT(LED_SUSPEND) |
BIT(LED_SLEEP) | BIT(LED_MUTE) | BIT(LED_MISC);
sprintf(atkbd->name, "AT Set 2 Extra keyboard");
} else
sprintf(atkbd->name, "AT %s Set %d keyboard",
atkbd->translated ? "Translated" : "Raw", atkbd->set);

sprintf(atkbd->phys, "%s/input0", serio->phys);
[...]

but this part is compiled inside kernel and it is not modular, so i don't
understand why isn't it recognized on boot... and which would be eventually
the module that i need to compile load!

i've also tried to boot with livecd, mount root, chroot, and compile with
genkernel - which probably would take configuration active
from /proc/config.gz - but even this try did not help me.
--
Hekaton Keires,
En to phronein maedhen aedistos bios.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 08:53 AM
Hekaton Keires
 
Posts: n/a
Default [SOLVED] Re: gentoo does not react to keyboard input

in Hekaton Keires's honest opinion:

> hi gentooers,
>
> i've installed gentoo on another box (3rd) but this time something is
> wrong. once booted the system for the first time with its own kernel it
> won't accept anything from keyboard.
>
> i had to access from ssh to the box and it seems perfectly working... but
> with no keyboard support.
>
> i had such a problem with framebuffer - did forget some option about
> console support - but this time everything seem to be set correctly in
> kernel. what do you suggest me?
>
> the box is a toshiba satellite A40 with P4 2.8, 512MB, Radeon9000.
>
> any suggestion is appreciated
> --
> Hekaton Keires,
> En to phronein maedhen aedistos bios.


on my toshiba satellite a30-141 this is a problem related to some kind of
incompatibility between serio and acpi parts of kernel.

does exist any patch for this? or maybe toshiba module can compensate
someway?
--
Hekaton Keires,
En to phronein maedhen aedistos bios.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 08:53 AM
Hekaton Keires
 
Posts: n/a
Default Re: [SOLVED] Re: gentoo does not react to keyboard input

in Hekaton Keires's honest opinion:

> on my toshiba satellite a30-141 this is a problem related to some kind of
> incompatibility between serio and acpi parts of kernel.


when acpi=off
$ cat /proc/interrupts
CPU0
0: 116932 XT-PIC timer
1: 52 XT-PIC i8042
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
11: 152 XT-PIC eth0
14: 603 XT-PIC ide0
15: 12 XT-PIC ide1
NMI: 0
ERR: 0

when acpi=on
$ cat /proc/interrupts
CPU0
0: 116932 XT-PIC timer
2: 0 XT-PIC cascade
8: 2 XT-PIC rtc
9: 2 XT-PIC acpi
11: 152 XT-PIC eth0
14: 603 XT-PIC ide0
15: 12 XT-PIC ide1
NMI: 0
ERR: 0

as you see i8042 seems to vanish when acpi turns on. it seems like nothing
manages irq1... even if in dmesg i can read in both cases:

serio: i8042 KBD port at 0x60,0x64 irq 1

another strange thing is that i still cannot make mouse work: in fact in
both cases irq 12 for another i8042 is missing.
--
Hekaton Keires,
En to phronein maedhen aedistos bios.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com