#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/rwsem.h>
#include <linux/usb/input.h>
Go to the source code of this file.
|
enum | {
HID_IR0 = 0x00,
HID_IR1 = 0x01,
HID_IR2 = 0x02,
HID_IR3 = 0x03,
HID_OR0 = 0x00,
HID_OR1 = 0x01,
HID_OR2 = 0x02,
HID_OR3 = 0x03,
RECORD_MUTE = 1 << 3,
PLAYBACK_MUTE = 1 << 2,
VOLUME_DOWN = 1 << 1,
VOLUME_UP = 1 << 0,
HID_OR_GPO_BUZ_SPDIF = 0 << 6,
HID_OR_GENERIC_HID_REG = 1 << 6,
HID_OR_MAP_MCU_EEPROM = 2 << 6,
BUZZER_ON = 1 << 5,
KEYMAP_SIZE = 256 + 16
} |
|
enum | { USB_PKT_LEN = sizeof(struct cm109_ctl_packet)
} |
|
enum | { VENDOR_ID = 0x0d8c,
PRODUCT_ID_CM109 = 0x000e
} |
|
#define DRIVER_AUTHOR "Alfred E. Heggestad" |
#define DRIVER_VERSION "20080805" |
- Enumerator:
HID_IR0 |
|
HID_IR1 |
|
HID_IR2 |
|
HID_IR3 |
|
HID_OR0 |
|
HID_OR1 |
|
HID_OR2 |
|
HID_OR3 |
|
RECORD_MUTE |
|
PLAYBACK_MUTE |
|
VOLUME_DOWN |
|
VOLUME_UP |
|
HID_OR_GPO_BUZ_SPDIF |
|
HID_OR_GENERIC_HID_REG |
|
HID_OR_MAP_MCU_EEPROM |
|
BUZZER_ON |
|
KEYMAP_SIZE |
|
Definition at line 47 of file cm109.c.
- Enumerator:
-
Definition at line 88 of file cm109.c.
- Enumerator:
VENDOR_ID |
|
PRODUCT_ID_CM109 |
|
Definition at line 614 of file cm109.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
cm109_usb_table |
|
|
) |
| |
module_exit |
( |
cm109_exit |
| ) |
|
module_init |
( |
cm109_init |
| ) |
|
MODULE_PARM_DESC |
( |
phone |
, |
|
|
"Phone name {kip1000, gtalk, usbph01, atcom}" |
|
|
) |
| |