* Re: PATCH: mouse and keyboard by default if not embedded
@ 2003-08-12 9:21 "Andrey Borzenkov"
2003-08-15 23:15 ` James Simmons
0 siblings, 1 reply; 10+ messages in thread
From: "Andrey Borzenkov" @ 2003-08-12 9:21 UTC (permalink / raw)
To: "James Simmons" ; +Cc: linux-kernel
> kYes it is fine. That is a PS/2 aux emulator. It turns non PS/2 mice into
> PS/2 mice. Personally I rather have people use the /dev/input/eventX
> interface. That PS/2 hack will go away in the future.
does XFree support event?
also there dual boot 2.4/2.6 systems where you have single XFree config
and single gpm config ... although these will have problems with
non-imps2 mice anyway.
Anyone does dual boot with non-imps2 mouse BTW? I am interested in how
people handle it.
TIA
-andrey
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-08-12 9:21 PATCH: mouse and keyboard by default if not embedded "Andrey Borzenkov"
@ 2003-08-15 23:15 ` James Simmons
0 siblings, 0 replies; 10+ messages in thread
From: James Simmons @ 2003-08-15 23:15 UTC (permalink / raw)
To: "Andrey Borzenkov" ; +Cc: linux-kernel
> > kYes it is fine. That is a PS/2 aux emulator. It turns non PS/2 mice into
> > PS/2 mice. Personally I rather have people use the /dev/input/eventX
> > interface. That PS/2 hack will go away in the future.
>
> does XFree support event?
I don't know but patches have been floating around for a while for
XFree86.
> also there dual boot 2.4/2.6 systems where you have single XFree config
> and single gpm config ... although these will have problems with
> non-imps2 mice anyway.
Once everything starts using the event api we will not need configs
anymore when it comes to input devices ;-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-08-10 8:42 ` Geert Uytterhoeven
@ 2003-08-11 17:40 ` James Simmons
0 siblings, 0 replies; 10+ messages in thread
From: James Simmons @ 2003-08-11 17:40 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Alan Cox, Linux Kernel Development
> > config INPUT_MOUSEDEV_PSAUX
> > - bool "Provide legacy /dev/psaux device"
> > + bool "Provide legacy /dev/psaux device" if EMBEDDED
>
> Now INPUT_MOUSEDEV_PSAUX is always (on non-embedded machines) forced to true,
> even on machines without PS/2 keyboard/mouse hardware. Is that OK?
>
> So far (compiling, not running 2.6.0-test3) I didn't notice any problems,
> though.
kYes it is fine. That is a PS/2 aux emulator. It turns non PS/2 mice into
PS/2 mice. Personally I rather have people use the /dev/input/eventX
interface. That PS/2 hack will go away in the future.
P.S
CONFIG_INPUT_EVDEV is not turned on by default. It should be IMO.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
@ 2003-08-10 10:17 Mikael Pettersson
0 siblings, 0 replies; 10+ messages in thread
From: Mikael Pettersson @ 2003-08-10 10:17 UTC (permalink / raw)
To: alan, geert; +Cc: linux-kernel, torvalds
On Sun, 10 Aug 2003 10:42:27 +0200 (MEST), Geert Uytterhoeven wrote:
>> config INPUT_MOUSEDEV_PSAUX
>> - bool "Provide legacy /dev/psaux device"
>> + bool "Provide legacy /dev/psaux device" if EMBEDDED
>
>Now INPUT_MOUSEDEV_PSAUX is always (on non-embedded machines) forced to true,
>even on machines without PS/2 keyboard/mouse hardware. Is that OK?
No it is not. I had to set CONFIG_EMBEDDED on my P4 (definitely
not embedded) to get rid of PSAUX. My P4 uses a nice serial mouse,
and I neither need nor want kernel mouse support.
I can understand the desire to provide safe defaults for newbies
doing oldconfig on 2.4 .configs, but the !EMBEDDED implies mouse
change is too rigid.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-08-10 9:34 Andrey Borzenkov
@ 2003-08-10 9:51 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2003-08-10 9:51 UTC (permalink / raw)
To: Andrey Borzenkov; +Cc: Linux Kernel Development
On Sun, 10 Aug 2003, Andrey Borzenkov wrote:
> > Now INPUT_MOUSEDEV_PSAUX is always (on non-embedded machines) forced to
> true,
> > even on machines without PS/2 keyboard/mouse hardware. Is that OK?
>
> > So far (compiling, not running 2.6.0-test3) I didn't notice any problems,
> > though
>
> there are problems. See
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=106047737716122&w=2
>
> mouse/atkbd depend on serio driver (i8042) so if i8042 is module and they are
> forced to be builtin the whole story does not work.
>
> apparently there are people who build them as modules
I don't have CONFIG_SERIO_I8042 enabled at all, since I'm compiling for a m68k
box without i8042. But it does compile/link.
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] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
@ 2003-08-10 9:34 Andrey Borzenkov
2003-08-10 9:51 ` Geert Uytterhoeven
0 siblings, 1 reply; 10+ messages in thread
From: Andrey Borzenkov @ 2003-08-10 9:34 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-kernel
> Now INPUT_MOUSEDEV_PSAUX is always (on non-embedded machines) forced to
true,
> even on machines without PS/2 keyboard/mouse hardware. Is that OK?
> So far (compiling, not running 2.6.0-test3) I didn't notice any problems,
> though
there are problems. See
http://marc.theaimsgroup.com/?l=linux-kernel&m=106047737716122&w=2
mouse/atkbd depend on serio driver (i8042) so if i8042 is module and they are
forced to be builtin the whole story does not work.
apparently there are people who build them as modules
-andrey
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-07-27 20:03 Alan Cox
2003-07-28 7:14 ` Christoph Hellwig
@ 2003-08-10 8:42 ` Geert Uytterhoeven
2003-08-11 17:40 ` James Simmons
1 sibling, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2003-08-10 8:42 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Development, Linus Torvalds
On Sun, 27 Jul 2003, Alan Cox wrote:
> (Andi Kleen)
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/input/Kconfig linux-2.6.0-test2-ac1/drivers/input/Kconfig
> --- linux-2.6.0-test2/drivers/input/Kconfig 2003-07-10 21:04:59.000000000 +0100
> +++ linux-2.6.0-test2-ac1/drivers/input/Kconfig 2003-07-16 18:39:32.000000000 +0100
> @@ -5,7 +5,7 @@
> menu "Input device support"
>
> config INPUT
> - tristate "Input devices (needed for keyboard, mouse, ...)"
> + tristate "Input devices (needed for keyboard, mouse, ...)" if EMBEDDED
> default y
> ---help---
> Say Y here if you have any input device (mouse, keyboard, tablet,
> @@ -27,7 +27,7 @@
> comment "Userland interfaces"
>
> config INPUT_MOUSEDEV
> - tristate "Mouse interface"
> + tristate "Mouse interface" if EMBEDDED
> default y
> depends on INPUT
> ---help---
> @@ -45,7 +45,7 @@
> a module, say M here and read <file:Documentation/modules.txt>.
>
> config INPUT_MOUSEDEV_PSAUX
> - bool "Provide legacy /dev/psaux device"
> + bool "Provide legacy /dev/psaux device" if EMBEDDED
Now INPUT_MOUSEDEV_PSAUX is always (on non-embedded machines) forced to true,
even on machines without PS/2 keyboard/mouse hardware. Is that OK?
So far (compiling, not running 2.6.0-test3) I didn't notice any problems,
though.
> default y
> depends on INPUT_MOUSEDEV
>
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/input/keyboard/Kconfig linux-2.6.0-test2-ac1/drivers/input/keyboard/Kconfig
> --- linux-2.6.0-test2/drivers/input/keyboard/Kconfig 2003-07-10 21:14:55.000000000 +0100
> +++ linux-2.6.0-test2-ac1/drivers/input/keyboard/Kconfig 2003-07-16 18:39:32.000000000 +0100
> @@ -2,7 +2,7 @@
> # Input core configuration
> #
> config INPUT_KEYBOARD
> - bool "Keyboards"
> + bool "Keyboards" if (X86 && EMBEDDED) || (!X86)
> default y
> depends on INPUT
> help
> @@ -12,7 +12,7 @@
> If unsure, say Y.
>
> config KEYBOARD_ATKBD
> - tristate "AT keyboard support"
> + tristate "AT keyboard support" if (X86 && EMBEDDED) || (!X86)
> default y
> depends on INPUT && INPUT_KEYBOARD && SERIO
> help
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] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-07-28 7:14 ` Christoph Hellwig
@ 2003-08-08 10:27 ` Rob Landley
0 siblings, 0 replies; 10+ messages in thread
From: Rob Landley @ 2003-08-08 10:27 UTC (permalink / raw)
To: Christoph Hellwig, Alan Cox; +Cc: linux-kernel
On Monday 28 July 2003 03:14, Christoph Hellwig wrote:
> Again this is stupid. With the select CONFIG_INPUt if CONFIG_VT people
> get this asked now on make oldconfig. Even more important many ports
> newer used PS/2 style mouses previously as did older PeeCees.
>
> Please stop this over-eager spreading of CONFIG_EMBEDDED, we're not
> gnome..
Actually, I was going to move all this stuff to the embedded menu as soon as I
caught up on Linux-kernel to make sure nobody else had already done it. (I
was only 2500 messages behind the day before yesterday, but people keep
posting more... :)
Finding out that Alan beat me to this is exactly why I'm catching up on my
reading before pushing patches. :)
The 2.5 kernel I just compiled is currently about three times larger than the
uclibc+busybox root filesystem I built yesterday. I'm all for stripping it
down, but saying that your average server doesn't need the ability to plug in
a monitor and keyboard and see what's up if it suddenly goes peculiar...
Well, I wouldn't want to support that system, and certainly Red Hat ain't
gonna ship like that any time soon. (As for the servers you mentioned in
your previous post, we're potentially saving tens of kilobytes by doing so,
on a system with around gigabyte of ram. So if we're saving 10-30k (not just
kernel code but run-time allocations), we're talking about saving 0.001 to
0.003% of ram on a server setup. Oooh. Aaaah. Definitely the kind of
micro-optimization we want everybody in the world (and their dog) to have to
figure out if they need or not the first time they compile a kernel.)
Rob
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: PATCH: mouse and keyboard by default if not embedded
2003-07-27 20:03 Alan Cox
@ 2003-07-28 7:14 ` Christoph Hellwig
2003-08-08 10:27 ` Rob Landley
2003-08-10 8:42 ` Geert Uytterhoeven
1 sibling, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2003-07-28 7:14 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, torvalds
Again this is stupid. With the select CONFIG_INPUt if CONFIG_VT people
get this asked now on make oldconfig. Even more important many ports
newer used PS/2 style mouses previously as did older PeeCees.
Please stop this over-eager spreading of CONFIG_EMBEDDED, we're not
gnome..
^ permalink raw reply [flat|nested] 10+ messages in thread
* PATCH: mouse and keyboard by default if not embedded
@ 2003-07-27 20:03 Alan Cox
2003-07-28 7:14 ` Christoph Hellwig
2003-08-10 8:42 ` Geert Uytterhoeven
0 siblings, 2 replies; 10+ messages in thread
From: Alan Cox @ 2003-07-27 20:03 UTC (permalink / raw)
To: linux-kernel, torvalds
(Andi Kleen)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/input/Kconfig linux-2.6.0-test2-ac1/drivers/input/Kconfig
--- linux-2.6.0-test2/drivers/input/Kconfig 2003-07-10 21:04:59.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/input/Kconfig 2003-07-16 18:39:32.000000000 +0100
@@ -5,7 +5,7 @@
menu "Input device support"
config INPUT
- tristate "Input devices (needed for keyboard, mouse, ...)"
+ tristate "Input devices (needed for keyboard, mouse, ...)" if EMBEDDED
default y
---help---
Say Y here if you have any input device (mouse, keyboard, tablet,
@@ -27,7 +27,7 @@
comment "Userland interfaces"
config INPUT_MOUSEDEV
- tristate "Mouse interface"
+ tristate "Mouse interface" if EMBEDDED
default y
depends on INPUT
---help---
@@ -45,7 +45,7 @@
a module, say M here and read <file:Documentation/modules.txt>.
config INPUT_MOUSEDEV_PSAUX
- bool "Provide legacy /dev/psaux device"
+ bool "Provide legacy /dev/psaux device" if EMBEDDED
default y
depends on INPUT_MOUSEDEV
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/input/keyboard/Kconfig linux-2.6.0-test2-ac1/drivers/input/keyboard/Kconfig
--- linux-2.6.0-test2/drivers/input/keyboard/Kconfig 2003-07-10 21:14:55.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/input/keyboard/Kconfig 2003-07-16 18:39:32.000000000 +0100
@@ -2,7 +2,7 @@
# Input core configuration
#
config INPUT_KEYBOARD
- bool "Keyboards"
+ bool "Keyboards" if (X86 && EMBEDDED) || (!X86)
default y
depends on INPUT
help
@@ -12,7 +12,7 @@
If unsure, say Y.
config KEYBOARD_ATKBD
- tristate "AT keyboard support"
+ tristate "AT keyboard support" if (X86 && EMBEDDED) || (!X86)
default y
depends on INPUT && INPUT_KEYBOARD && SERIO
help
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-08-15 23:15 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-12 9:21 PATCH: mouse and keyboard by default if not embedded "Andrey Borzenkov"
2003-08-15 23:15 ` James Simmons
-- strict thread matches above, loose matches on Subject: below --
2003-08-10 10:17 Mikael Pettersson
2003-08-10 9:34 Andrey Borzenkov
2003-08-10 9:51 ` Geert Uytterhoeven
2003-07-27 20:03 Alan Cox
2003-07-28 7:14 ` Christoph Hellwig
2003-08-08 10:27 ` Rob Landley
2003-08-10 8:42 ` Geert Uytterhoeven
2003-08-11 17:40 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).