2005-03-23 01:40:36

by Carlos Silva

[permalink] [raw]
Subject: Starting input devices

Hi guys,

i'm trying to find somethin in the kernel tree and i can't :(
I want to know, where are the input devices (say mice and keyb) are
initialized. Where does the kernel search the bus for this devices?

basically, what does he do to print this messages:

input: AT Translated Set 2 keyboard on isa0060/serio0
input: SynPS/2 Synaptics TouchPad on isa0060/serio1

i'm just trying to track down what i think it's a problem.


Thanks,
Carlos Silva


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2005-03-23 03:03:33

by Bodo Eggert

[permalink] [raw]
Subject: Re: Starting input devices

Carlos Silva <[email protected]> wrote:

> basically, what does he do to print this messages:
>
> input: AT Translated Set 2 keyboard on isa0060/serio0
> input: SynPS/2 Synaptics TouchPad on isa0060/serio1

grepping for "Translated" would have revealed drivers/input/keyboard/atkbd.c

(Spoiler: It calls printk :)

2005-03-23 06:51:39

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Starting input devices

>Hi guys,
>
>i'm trying to find somethin in the kernel tree and i can't :(

find /usr/src/linux -type f -print0 | xargs -0 grep YOURKEYWORD

>I want to know, where are the input devices (say mice and keyb) are
/drivers/input/
>initialized. Where does the kernel search the bus for this devices?
Somewhere else... :p


Jan Engelhardt
--