Skip to contentSkip to conversation

Enable config INPUT_EVDEV

PATCH In review Tej 2 participants 4 messages Jul 7, 2009 – Jul 14, 2009 Input drivers

lore
Share & tools
lore

Tej

author
#0 lore raw

PATCH 1/1 Enable config INPUT_EVDEV

Keir,

We (team) have tried Xen-3.4 stable and current unstable-dev branch on number of Desktops. We have observed that on many desktops we can't access keyboard (USB/Serial) and mouse after complete boot.

# lspci for one of such machine:
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory
Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ
Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family)
SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:05.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001
Gigabit Ethernet Controller (rev 13)

Further changing/adding config options we found that enabling INPUT_EVDEV, makes work everything.
I am not sure about problem, but how about adding CONFIG_INPUT_EVDEV as "default y". (i have attached the patch also)

comments????

drivers/input/Kconfig +1 -0
@@ -110,6 +110,7 @@
 
 config INPUT_EVDEV
 	tristate "Event interface"
+	default y
 	help
 	  Say Y here if you want your input device events be accessible
 	  under char device 13:64+ - /dev/input/eventX in a generic way.
drivers/input/Kconfig +1 -0
diff -r baeb818cd2dc drivers/input/Kconfig
@@ -110,6 +110,7 @@
 
 config INPUT_EVDEV
 	tristate "Event interface"
+	default y
 	help
 	  Say Y here if you want your input device events be accessible
 	  under char device 13:64+ - /dev/input/eventX in a generic way.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · Tej

Further changing/adding config options we found that enabling INPUT_EVDEV, makes work everything.
I am not sure about problem, but how about adding CONFIG_INPUT_EVDEV as "default y". (i have attached the patch also)

comments????

You should submit patches to modify the defconfig files in the buildconfigs/ directory. Don't change Kconfig files directly to change defaults.

-- Keir

author
#2 lore raw
Quoted 11 lines · Keir Fraser
Quoted 6 lines · Tej

Further changing/adding config options we found that enabling INPUT_EVDEV, makes work everything.
I am not sure about problem, but how about adding CONFIG_INPUT_EVDEV as "default y".  (i have attached the patch also)

comments????

You should submit patches to modify the defconfig files in the buildconfigs/ directory. Don't change Kconfig files directly to change defaults.

sure, i will re-submit this patch.

Quoted 5 lines

 -- Keir

author
#3 lore raw
In reply to Keir Fraser
Quoted 11 lines · Keir Fraser
Quoted 6 lines · Tej

Further changing/adding config options we found that enabling INPUT_EVDEV, makes work everything.
I am not sure about problem, but how about adding CONFIG_INPUT_EVDEV as "default y".  (i have attached the patch also)

comments????

You should submit patches to modify the defconfig files in the buildconfigs/ directory. Don't change Kconfig files directly to change defaults.

patch changes the defconfig to add CONFIG_INPUT_EVDEV as default 'y' in xen compilation with EXTRAVERSION = -xen0 and Arch x86_32/64. (patch is attached also)

comments????

buildconfigs/linux-defconfig_xen0_x86_32 Tue Jul 14 20:59:41 2009 +0530 renamed from buildconfigs/linux-defconfig_xen0_x86_32 Thu Jun 18 10:32:16 2009 +0100 +1 -1
diff -r baeb818cd2dc buildconfigs/linux-defconfig_xen0_x86_32
@@ -803,7 +803,7 @@
 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_EVDEV=y
 # CONFIG_INPUT_EVBUG is not set
 
 #
buildconfigs/linux-defconfig_xen0_x86_64 Tue Jul 14 20:59:41 2009 +0530 renamed from buildconfigs/linux-defconfig_xen0_x86_64 Thu Jun 18 10:32:16 2009 +0100 +1 -1
diff -r baeb818cd2dc buildconfigs/linux-defconfig_xen0_x86_64
@@ -754,7 +754,7 @@
 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_EVDEV=y
 # CONFIG_INPUT_EVBUG is not set
 
 #
Quoted 5 lines

 -- Keir

buildconfigs/linux-defconfig_xen0_x86_32 +1 -1
diff -r baeb818cd2dc buildconfigs/linux-defconfig_xen0_x86_32
@@ -803,7 +803,7 @@
 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_EVDEV=y
 # CONFIG_INPUT_EVBUG is not set
 
 #
buildconfigs/linux-defconfig_xen0_x86_64 +1 -1
diff -r baeb818cd2dc buildconfigs/linux-defconfig_xen0_x86_64
@@ -754,7 +754,7 @@
 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_EVDEV=y
 # CONFIG_INPUT_EVBUG is not set
 
 #

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel