#include <linux/device.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/usb/input.h>
#include <media/rc-core.h>
Go to the source code of this file.
#define DRIVER_AUTHOR2 "The Dweller, Stephen Cox" |
#define DRIVER_DESC "RedRat3 USB IR Transceiver Driver" |
#define DRIVER_NAME "redrat3" |
#define DRIVER_VERSION "0.70" |
#define RR3_BLINK_LED 0xb9 |
#define RR3_BULK_IN_EP_ADDR 0x82 |
#define RR3_CLK_CONV_FACTOR 2000000 |
#define RR3_CLK_PER_COUNT 12 |
#define RR3_CPUCS_REG_ADDR 0x7f92 |
#define rr3_dbg |
( |
|
dev, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
#define RR3_DEBUG_FUNCTION_TRACE 0x2 |
#define RR3_DEBUG_STANDARD 0x1 |
#define RR3_DRIVER_MAXLENS 128 |
#define RR3_END_OF_SIGNAL 0x7f |
#define RR3_FREQ_COUNT_OFFSET 4 |
#define rr3_ftr |
( |
|
dev, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
#define RR3_FW_VERSION 0xb1 |
#define RR3_FW_VERSION_LEN 64 |
#define RR3_GET_IR_PARAM 0xb8 |
#define RR3_HEADER_LENGTH 15 |
#define RR3_IR_IO_LENGTH_FUZZ 0x04 |
#define RR3_IR_IO_MAX_LENGTHS 0x01 |
#define RR3_IR_IO_MIN_PAUSE 0x06 |
#define RR3_IR_IO_PERIODS_MF 0x02 |
#define RR3_IR_IO_SIG_MEM_SIZE 0x03 |
#define RR3_IR_IO_SIG_TIMEOUT 0x05 |
#define RR3_MAX_LENGTHS_OFFSET 8 |
#define RR3_MAX_SIG_SIZE 512 |
#define RR3_MAX_SIGS_OFFSET 10 |
#define RR3_MOD_SIGNAL_IN 0x20 |
#define RR3_MOD_SIGNAL_OUT 0x21 |
#define RR3_NUM_LENGTHS_OFFSET 9 |
#define RR3_NUM_PERIOD_OFFSET 6 |
#define RR3_NUM_SIGS_OFFSET 12 |
#define RR3_PAUSE_OFFSET 0 |
#define RR3_RC_DET_DISABLE 0xbc |
#define RR3_RC_DET_ENABLE 0xbb |
#define RR3_RC_DET_STATUS 0xbd |
#define RR3_READ_SER_NO 0xba |
#define RR3_REPEATS_OFFSET 14 |
#define RR3_RX_MAX_TIMEOUT 2000 |
#define RR3_RX_MIN_TIMEOUT 5 |
#define RR3_SET_IR_PARAM 0xb7 |
#define RR3_TX_HEADER_OFFSET 4 |
#define RR3_TX_SEND_SIGNAL 0xb3 |
#define RR3_TX_TRAILER_LEN 2 |
#define USB_RR3IIUSB_PRODUCT_ID 0x0005 |
#define USB_RR3USB_PRODUCT_ID 0x0001 |
#define USB_RR3USB_VENDOR_ID 0x112a |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
redrat3_dev_table |
|
|
) |
| |
MODULE_PARM_DESC |
( |
debug |
, |
|
|
"Enable module debug spew. |
0 = no debugging (default) ""0x1 = standard debug messages |
|
) |
| |
module_usb_driver |
( |
redrat3_dev_driver |
| ) |
|