#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <linux/ratelimit.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/rc-core.h>
#include <linux/time.h>
#include <linux/timer.h>
Go to the source code of this file.
|
| MODULE_AUTHOR (MOD_AUTHOR) |
|
| MODULE_DESCRIPTION (MOD_DESC) |
|
| MODULE_VERSION (MOD_VERSION) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DEVICE_TABLE (usb, imon_usb_id_table) |
|
| module_param (debug, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug,"Debug messages: 0=no, 1=yes (default: no)") |
|
| module_param (display_type, int, S_IRUGO) |
|
| MODULE_PARM_DESC (display_type,"Type of attached display. 0=autodetect, ""1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect)") |
|
| module_param (pad_stabilize, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (pad_stabilize,"Apply stabilization algorithm to iMON PAD ""presses in arrow key mode. 0=disable, 1=enable (default).") |
|
| module_param (nomouse, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (nomouse,"Disable mouse input device mode when IR device is ""open. 0=don't disable, 1=disable. (default: don't disable)") |
|
| module_param (pad_thresh, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (pad_thresh,"Threshold at which a pad push registers as an ""arrow key in kbd mode (default: 28)") |
|
| module_usb_driver (imon_driver) |
|
#define BIT_DURATION 250 /* each bit received is 250us */ |
#define DEVICE_NAME "lcd%d" |
#define DISPLAY_MINOR_BASE 144 |
#define IMON_CLOCK_ENABLE_PACKETS 2 |
#define MCE_KEY_MASK 0x7000 |
#define MCE_TOGGLE_BIT 0x8000 |
#define MOD_DESC "Driver for SoundGraph iMON MultiMedia IR/Display" |
#define MOD_VERSION "0.9.4" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ":%s: " fmt, __func__ |
#define TOUCH_TIMEOUT (HZ/30) |
- Enumerator:
IMON_DISPLAY_TYPE_AUTO |
|
IMON_DISPLAY_TYPE_VFD |
|
IMON_DISPLAY_TYPE_LCD |
|
IMON_DISPLAY_TYPE_VGA |
|
IMON_DISPLAY_TYPE_NONE |
|
Definition at line 174 of file imon.c.
- Enumerator:
IMON_KEY_IMON |
|
IMON_KEY_MCE |
|
IMON_KEY_PANEL |
|
Definition at line 182 of file imon.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
imon_usb_id_table |
|
|
) |
| |
module_param |
( |
pad_stabilize |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
pad_thresh |
, |
|
|
int |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"Debug messages: |
0 = no |
|
) |
| |
MODULE_PARM_DESC |
( |
display_type |
, |
|
|
"Type of attached display. |
0 = autodetect , |
|
|
"" |
1 = vfd , |
|
|
2 |
= lcd , |
|
|
3 |
= vga |
|
) |
| |
MODULE_PARM_DESC |
( |
pad_stabilize |
, |
|
|
"Apply stabilization algorithm to iMON PAD ""presses in arrow key mode. |
0 = disable |
|
) |
| |
module_usb_driver |
( |
imon_driver |
| ) |
|