Skip to content

Commit 628329d

Browse files
committed
Input: add IMS Passenger Control Unit driver
The PCU is a device installed in the armrest of a plane seat and is connected to IMS Rave Entertainment System. It has a set of control buttons (Volume Up/Down, Attendant, Lights, etc) on one side and gamepad-like controls on the other side. Originally the device was handled from userspace and because of that it presents itself on USB bus as a CDC-ACM modem device that however can not make calls. However the custom handling is not as convenient as using standard input subsystem facilities. If it was pure input device it would be possible to continue using userspace solution (moving it over to uinput), but the device also has backlighted keys which can not be supported via uinput. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 5a1bbf2 commit 628329d

File tree

3 files changed

+1911
-0
lines changed

3 files changed

+1911
-0
lines changed

drivers/input/misc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,16 @@ config INPUT_ADXL34X_SPI
580580
To compile this driver as a module, choose M here: the
581581
module will be called adxl34x-spi.
582582

583+
config INPUT_IMS_PCU
584+
tristate "IMS Passenger Control Unit driver"
585+
depends on USB
586+
depends on LEDS_CLASS
587+
help
588+
Say Y here if you have system with IMS Rave Passenger Control Unit.
589+
590+
To compile this driver as a module, choose M here: the module will be
591+
called ims_pcu.
592+
583593
config INPUT_CMA3000
584594
tristate "VTI CMA3000 Tri-axis accelerometer"
585595
help

drivers/input/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_INPUT_DM355EVM) += dm355evm_keys.o
2828
obj-$(CONFIG_INPUT_GP2A) += gp2ap002a00f.o
2929
obj-$(CONFIG_INPUT_GPIO_TILT_POLLED) += gpio_tilt_polled.o
3030
obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o
31+
obj-$(CONFIG_INPUT_IMS_PCU) += ims-pcu.o
3132
obj-$(CONFIG_INPUT_IXP4XX_BEEPER) += ixp4xx-beeper.o
3233
obj-$(CONFIG_INPUT_KEYSPAN_REMOTE) += keyspan_remote.o
3334
obj-$(CONFIG_INPUT_KXTJ9) += kxtj9.o

0 commit comments

Comments
 (0)