linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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-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-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
* 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-10  9:34 PATCH: mouse and keyboard by default if not embedded Andrey Borzenkov
2003-08-10  9:51 ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2003-08-12  9:21 "Andrey Borzenkov" 
2003-08-15 23:15 ` James Simmons
2003-08-10 10:17 Mikael Pettersson
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).