HID vs. Input Core
Quoted 20 lines · On Tue, Jun 15, 2004 Karel Kulhavý wrote:
Quoted 10 lines · Helge Hafting
Quoted 9 lines · Karel Kulhavý
Hello
I would like to know what's the difference between Input Core (
CONFIG_INPUT) and USB HID (CONFIG_USB_HID) in 2.4.25They seem to enable the same thing - USB HID. However I don't know which one should I enable or if I should enable both. I find existence of two options with seemingly the same function confusing.
Quoted 6 lines
They aren't the same:
Enable
CONFIG_INPUTif you want to use any input devices_atall_, i.e. if you plan on using some kind of keyboard, mouse, joystick, ... EnableCONFIG_USB_HIDalso, _if_ such a device might be connected via USB. (Older devices are not USB, newer may be usb.)Bugreport:
Quoted 8 lines
CONFIG_INPUTHelp says
"Say Y here if you want to enable any of the following options for USB Human Interface Device (HID) support".Helge Hafting from linux-kernel says that
CONFIG_INPUTcontrols enabling input devices at
all. These two statements are in a direct contradiction. (See above).
Well, kind of... Helge Hafting is 100% correct in 2.6 sense where all input devices have been switched to use input core. In 2.4 only USB input devices use input core while other devices (like PS/2 mouse) use legacy interfaces like /dev/psaux.
So for 2.4 you need to enable HID to turn on hardware driver for HID devices and you want to enable input core to allow data from your USB device to be awailabe to userspace.
Dmitry
Quoted 10 lines
Quoted 9 lines
CONFIG_INPUTHelp says
"Say Y here if you want to enable any of the following options for USB Human Interface Device (HID) support".Helge Hafting from linux-kernel says that
CONFIG_INPUTcontrols enabling input devices at
all. These two statements are in a direct contradiction. (See above).
Quoted 8 lines
Well, kind of... Helge Hafting is 100% correct in 2.6 sense where all input devices have been switched to use input core. In 2.4 only USB input devices use input core while other devices (like PS/2 mouse) use legacy interfaces like
/dev/psaux.So for 2.4 you need to enable HID to turn on hardware driver for HID devices and you want to enable input core to allow data from your USB device to be awailabe to userspace.
So that enabling HID without input core in 2.4 doesn't make sense and enabling input core without HID in 2.4 doesn't make sense too?
Cl<