diff options
author | Rui Santos <rsantos@grupopie.com> | 2005-09-23 15:06:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:37 -0400 |
commit | c9c7746dd333c12f482af2f1e63ea7eafc7cd529 (patch) | |
tree | df7ed40559585aee2e394dbadf3f0449616eabf6 | |
parent | 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 (diff) |
[PATCH] USB: ftdi: Artemis and ATIK based USB astronomical CCD cameras
This patch enables direct kernel support for the Artemis
and ATIK astronomical based USB CCD cameras.
Since all communications with this camera are done via an
FTDI 245BM chip, it was only needed to specify the
ProductID and VendorID of all three devices.
In what tests are concerned, data was transfered from and
to the FTDI at the chips Top speed (360KB/s).
Signed-off-by: Rui Santos <rsantos@grupopie.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c | 3 +++
drivers/usb/serial/ftdi_sio.h | 13 +++++++++++++
2 files changed, 16 insertions(+)
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 3 | ||||
-rw-r--r-- | drivers/usb/serial/ftdi_sio.h | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 5a8631c8a4a7..8c12a0acf10d 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -471,6 +471,9 @@ static struct usb_device_id id_table_combined [] = { | |||
471 | { USB_DEVICE(FTDI_VID, FTDI_MHAM_Y6_PID) }, | 471 | { USB_DEVICE(FTDI_VID, FTDI_MHAM_Y6_PID) }, |
472 | { USB_DEVICE(FTDI_VID, FTDI_MHAM_Y8_PID) }, | 472 | { USB_DEVICE(FTDI_VID, FTDI_MHAM_Y8_PID) }, |
473 | { USB_DEVICE(EVOLUTION_VID, EVOLUTION_ER1_PID) }, | 473 | { USB_DEVICE(EVOLUTION_VID, EVOLUTION_ER1_PID) }, |
474 | { USB_DEVICE(FTDI_VID, FTDI_ARTEMIS_PID) }, | ||
475 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16_PID) }, | ||
476 | { USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16HR_PID) }, | ||
474 | { }, /* Optional parameter entry */ | 477 | { }, /* Optional parameter entry */ |
475 | { } /* Terminating entry */ | 478 | { } /* Terminating entry */ |
476 | }; | 479 | }; |
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 2c35d74cc6d6..7c65d46c7598 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h | |||
@@ -199,6 +199,19 @@ | |||
199 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ | 199 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ |
200 | 200 | ||
201 | /* | 201 | /* |
202 | * Definitions for Artemis astronomical USB based cameras | ||
203 | * Check it at http://www.artemisccd.co.uk/ | ||
204 | */ | ||
205 | #define FTDI_ARTEMIS_PID 0xDF28 /* All Artemis Cameras */ | ||
206 | |||
207 | /* | ||
208 | * Definitions for ATIK Instruments astronomical USB based cameras | ||
209 | * Check it at http://www.atik-instruments.com/ | ||
210 | */ | ||
211 | #define FTDI_ATIK_ATK16_PID 0xDF30 /* ATIK ATK-16 Camera */ | ||
212 | #define FTDI_ATIK_ATK16HR_PID 0xDF31 /* ATIK ATK-16HR Camera */ | ||
213 | |||
214 | /* | ||
202 | * Protego product ids | 215 | * Protego product ids |
203 | */ | 216 | */ |
204 | #define PROTEGO_SPECIAL_1 0xFC70 /* special/unknown device */ | 217 | #define PROTEGO_SPECIAL_1 0xFC70 /* special/unknown device */ |