#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb/input.h>
Go to the source code of this file.
| #define ATP_DEVICE |
( |
|
prod, |
|
|
|
info |
|
) |
| |
Value:{ \
.match_flags = USB_DEVICE_ID_MATCH_DEVICE | \
USB_DEVICE_ID_MATCH_INT_CLASS | \
USB_DEVICE_ID_MATCH_INT_PROTOCOL, \
.idVendor = 0x05ac, \
.idProduct = (prod), \
}
Definition at line 105 of file appletouch.c.
| #define ATP_GEYSER_MODE_READ_REQUEST_ID 1 |
| #define ATP_GEYSER_MODE_REQUEST_INDEX 0 |
| #define ATP_GEYSER_MODE_REQUEST_VALUE 0x300 |
| #define ATP_GEYSER_MODE_VENDOR_VALUE 0x04 |
| #define ATP_GEYSER_MODE_WRITE_REQUEST_ID 9 |
| #define ATP_URB_STATUS_ERROR 1 |
| #define ATP_URB_STATUS_ERROR_FATAL 2 |
| #define ATP_URB_STATUS_SUCCESS 0 |
| #define dbg_dump |
( |
|
msg, |
|
|
|
tab |
|
) |
| |
Value:
int __i; \
printk("\n"); \
}
Definition at line 216 of file appletouch.c.
| #define dprintk |
( |
|
format, |
|
|
|
a... |
|
) |
| |
enum atp_status_bits - status bit meanings
These constants represent the meaning of the status bits. (only Geyser 3/4)
: The button was pressed : Update of the base values (untouched pad) : Reset previously performed
- Enumerator:
| ATP_STATUS_BUTTON |
|
| ATP_STATUS_BASE_UPDATE |
|
| ATP_STATUS_FROM_RESET |
|
Definition at line 188 of file appletouch.c.
| MODULE_AUTHOR |
( |
"Johannes Berg" |
| ) |
|
| MODULE_AUTHOR |
( |
"Stelian Pop" |
| ) |
|
| MODULE_AUTHOR |
( |
"Frank Arnold" |
| ) |
|
| MODULE_AUTHOR |
( |
"Michael Hanselmann" |
| ) |
|
| MODULE_AUTHOR |
( |
"Sven Anders" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"Apple PowerBook and MacBook USB touchpad driver" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
atp_table |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
debug |
, |
|
|
"Activate debugging output" |
|
|
) |
| |
| module_usb_driver |
( |
atp_driver |
| ) |
|