diff options
-rw-r--r-- | drivers/input/misc/Kconfig | 16 | ||||
-rw-r--r-- | drivers/input/misc/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/rc/Kconfig | 20 | ||||
-rw-r--r-- | drivers/media/rc/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/rc/ati_remote.c (renamed from drivers/input/misc/ati_remote.c) | 6 |
5 files changed, 22 insertions, 22 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index c9104bb4db06..05cbdabeb124 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig | |||
@@ -183,22 +183,6 @@ config INPUT_ATLAS_BTNS | |||
183 | To compile this driver as a module, choose M here: the module will | 183 | To compile this driver as a module, choose M here: the module will |
184 | be called atlas_btns. | 184 | be called atlas_btns. |
185 | 185 | ||
186 | config INPUT_ATI_REMOTE | ||
187 | tristate "ATI / X10 USB RF remote control" | ||
188 | depends on USB_ARCH_HAS_HCD | ||
189 | select USB | ||
190 | help | ||
191 | Say Y here if you want to use an ATI or X10 "Lola" USB remote control. | ||
192 | These are RF remotes with USB receivers. | ||
193 | The ATI remote comes with many of ATI's All-In-Wonder video cards. | ||
194 | The X10 "Lola" remote is available at: | ||
195 | <http://www.x10.com/products/lola_sg1.htm> | ||
196 | This driver provides mouse pointer, left and right mouse buttons, | ||
197 | and maps all the other remote buttons to keypress events. | ||
198 | |||
199 | To compile this driver as a module, choose M here: the module will be | ||
200 | called ati_remote. | ||
201 | |||
202 | config INPUT_ATI_REMOTE2 | 186 | config INPUT_ATI_REMOTE2 |
203 | tristate "ATI / Philips USB RF remote control" | 187 | tristate "ATI / Philips USB RF remote control" |
204 | depends on USB_ARCH_HAS_HCD | 188 | depends on USB_ARCH_HAS_HCD |
diff --git a/drivers/input/misc/Makefile b/drivers/input/misc/Makefile index 299ad5edba84..9032d34cfe0d 100644 --- a/drivers/input/misc/Makefile +++ b/drivers/input/misc/Makefile | |||
@@ -13,7 +13,6 @@ obj-$(CONFIG_INPUT_ADXL34X) += adxl34x.o | |||
13 | obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o | 13 | obj-$(CONFIG_INPUT_ADXL34X_I2C) += adxl34x-i2c.o |
14 | obj-$(CONFIG_INPUT_ADXL34X_SPI) += adxl34x-spi.o | 14 | obj-$(CONFIG_INPUT_ADXL34X_SPI) += adxl34x-spi.o |
15 | obj-$(CONFIG_INPUT_APANEL) += apanel.o | 15 | obj-$(CONFIG_INPUT_APANEL) += apanel.o |
16 | obj-$(CONFIG_INPUT_ATI_REMOTE) += ati_remote.o | ||
17 | obj-$(CONFIG_INPUT_ATI_REMOTE2) += ati_remote2.o | 16 | obj-$(CONFIG_INPUT_ATI_REMOTE2) += ati_remote2.o |
18 | obj-$(CONFIG_INPUT_ATLAS_BTNS) += atlas_btns.o | 17 | obj-$(CONFIG_INPUT_ATLAS_BTNS) += atlas_btns.o |
19 | obj-$(CONFIG_INPUT_BFIN_ROTARY) += bfin_rotary.o | 18 | obj-$(CONFIG_INPUT_BFIN_ROTARY) += bfin_rotary.o |
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 899f783d92fb..756884e007e6 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig | |||
@@ -4,8 +4,8 @@ menuconfig RC_CORE | |||
4 | default INPUT | 4 | default INPUT |
5 | ---help--- | 5 | ---help--- |
6 | Enable support for Remote Controllers on Linux. This is | 6 | Enable support for Remote Controllers on Linux. This is |
7 | needed in order to support several video capture adapters. | 7 | needed in order to support several video capture adapters, |
8 | Currently, all supported devices use InfraRed. | 8 | standalone IR receivers/transmitters, and RF receivers. |
9 | 9 | ||
10 | Enable this option if you have a video capture board even | 10 | Enable this option if you have a video capture board even |
11 | if you don't need IR, as otherwise, you may not be able to | 11 | if you don't need IR, as otherwise, you may not be able to |
@@ -108,6 +108,22 @@ config IR_LIRC_CODEC | |||
108 | Enable this option to pass raw IR to and from userspace via | 108 | Enable this option to pass raw IR to and from userspace via |
109 | the LIRC interface. | 109 | the LIRC interface. |
110 | 110 | ||
111 | config RC_ATI_REMOTE | ||
112 | tristate "ATI / X10 USB RF remote control" | ||
113 | depends on USB_ARCH_HAS_HCD | ||
114 | select USB | ||
115 | help | ||
116 | Say Y here if you want to use an ATI or X10 "Lola" USB remote control. | ||
117 | These are RF remotes with USB receivers. | ||
118 | The ATI remote comes with many of ATI's All-In-Wonder video cards. | ||
119 | The X10 "Lola" remote is available at: | ||
120 | <http://www.x10.com/products/lola_sg1.htm> | ||
121 | This driver provides mouse pointer, left and right mouse buttons, | ||
122 | and maps all the other remote buttons to keypress events. | ||
123 | |||
124 | To compile this driver as a module, choose M here: the module will be | ||
125 | called ati_remote. | ||
126 | |||
111 | config IR_ENE | 127 | config IR_ENE |
112 | tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)" | 128 | tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)" |
113 | depends on PNP | 129 | depends on PNP |
diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index f224db027c41..2156e786b557 100644 --- a/drivers/media/rc/Makefile +++ b/drivers/media/rc/Makefile | |||
@@ -14,6 +14,7 @@ obj-$(CONFIG_IR_MCE_KBD_DECODER) += ir-mce_kbd-decoder.o | |||
14 | obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o | 14 | obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o |
15 | 15 | ||
16 | # stand-alone IR receivers/transmitters | 16 | # stand-alone IR receivers/transmitters |
17 | obj-$(CONFIG_RC_ATI_REMOTE) += ati_remote.o | ||
17 | obj-$(CONFIG_IR_IMON) += imon.o | 18 | obj-$(CONFIG_IR_IMON) += imon.o |
18 | obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o | 19 | obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o |
19 | obj-$(CONFIG_IR_MCEUSB) += mceusb.o | 20 | obj-$(CONFIG_IR_MCEUSB) += mceusb.o |
diff --git a/drivers/input/misc/ati_remote.c b/drivers/media/rc/ati_remote.c index bce57129afba..53388a558a57 100644 --- a/drivers/input/misc/ati_remote.c +++ b/drivers/media/rc/ati_remote.c | |||
@@ -105,7 +105,7 @@ | |||
105 | #define NVIDIA_REMOTE_PRODUCT_ID 0x0005 | 105 | #define NVIDIA_REMOTE_PRODUCT_ID 0x0005 |
106 | #define MEDION_REMOTE_PRODUCT_ID 0x0006 | 106 | #define MEDION_REMOTE_PRODUCT_ID 0x0006 |
107 | 107 | ||
108 | #define DRIVER_VERSION "2.2.1" | 108 | #define DRIVER_VERSION "2.2.1" |
109 | #define DRIVER_AUTHOR "Torrey Hoffman <thoffman@arnor.net>" | 109 | #define DRIVER_AUTHOR "Torrey Hoffman <thoffman@arnor.net>" |
110 | #define DRIVER_DESC "ATI/X10 RF USB Remote Control" | 110 | #define DRIVER_DESC "ATI/X10 RF USB Remote Control" |
111 | 111 | ||
@@ -481,7 +481,7 @@ static void ati_remote_input_report(struct urb *urb) | |||
481 | /* Mask unwanted remote channels. */ | 481 | /* Mask unwanted remote channels. */ |
482 | /* note: remote_num is 0-based, channel 1 on remote == 0 here */ | 482 | /* note: remote_num is 0-based, channel 1 on remote == 0 here */ |
483 | remote_num = (data[3] >> 4) & 0x0f; | 483 | remote_num = (data[3] >> 4) & 0x0f; |
484 | if (channel_mask & (1 << (remote_num + 1))) { | 484 | if (channel_mask & (1 << (remote_num + 1))) { |
485 | dbginfo(&ati_remote->interface->dev, | 485 | dbginfo(&ati_remote->interface->dev, |
486 | "Masked input from channel 0x%02x: data %02x,%02x, mask= 0x%02lx\n", | 486 | "Masked input from channel 0x%02x: data %02x,%02x, mask= 0x%02lx\n", |
487 | remote_num, data[1], data[2], channel_mask); | 487 | remote_num, data[1], data[2], channel_mask); |
@@ -630,7 +630,7 @@ static int ati_remote_alloc_buffers(struct usb_device *udev, | |||
630 | return -1; | 630 | return -1; |
631 | 631 | ||
632 | ati_remote->outbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, | 632 | ati_remote->outbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, |
633 | &ati_remote->outbuf_dma); | 633 | &ati_remote->outbuf_dma); |
634 | if (!ati_remote->outbuf) | 634 | if (!ati_remote->outbuf) |
635 | return -1; | 635 | return -1; |
636 | 636 | ||