From: "Søren Hauberg" <hauberg@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Support for the Evolution Scorpion Robot
Date: Wed, 8 Aug 2007 09:24:35 +0200 [thread overview]
Message-ID: <ed7dcf450708080024s719a4e92x782cafbe5811c012@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
Hi,
I'm currently running a patched version of 2.6.20 in order to use
the Evolution Scorpion robot. For this robot to work I need to patch
the kernel with a fairly simple patch that I'm attaching in case you
want to apply it.
Cheers,
Søren
P.S. On not subscribed to this list, so please CC me if you have any
replies. Thanks.
[-- Attachment #2: ftdi_sio.c.patch-2.6.20 --]
[-- Type: application/octet-stream, Size: 1022 bytes --]
--- ftdi_sio.c.bak 2007-08-07 21:37:37.000000000 +0200
+++ ftdi_sio.c 2007-08-07 21:53:36.000000000 +0200
@@ -488,6 +488,8 @@
{ USB_DEVICE(FTDI_VID, FTDI_TERATRONIK_VCP_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_TERATRONIK_D2XX_PID) },
{ USB_DEVICE(EVOLUTION_VID, EVOLUTION_ER1_PID) },
+ { USB_DEVICE(EVOLUTION_VID, EVO_HYBRID_PID) },
+ { USB_DEVICE(EVOLUTION_VID, EVO_RCM4_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_ARTEMIS_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_ATIK_ATK16C_PID) },
@@ -819,6 +821,12 @@
baud = tty_get_baud_rate(port->tty);
dbg("%s - tty_get_baud_rate reports speed %d", __FUNCTION__, baud);
+ /* convert baud rate from 230K to 250K for RCM device */
+ if ( baud == 230400 && port->serial->dev->descriptor.idVendor == EVOLUTION_VID )
+ {
+ baud = 250000;
+ dbg("%s: bumped magical 230400 baud to 2.5kb", __FUNCTION__);
+ }
/* 2. Observe async-compatible custom_divisor hack, update baudrate if needed */
[-- Attachment #3: ftdi_sio.h.patch-2.6.20 --]
[-- Type: application/octet-stream, Size: 545 bytes --]
--- ftdi_sio.h.bak 2007-08-07 21:37:43.000000000 +0200
+++ ftdi_sio.h 2007-08-07 21:39:48.000000000 +0200
@@ -419,6 +419,9 @@
*/
#define EVOLUTION_VID 0xDEEE /* Vendor ID */
#define EVOLUTION_ER1_PID 0x0300 /* ER1 Control Module */
+#define EVO_8U232AM_PID 0x02FF /* Evolution robotics RCM2 (FT232AM)*/
+#define EVO_HYBRID_PID 0x0302 /* Evolution robotics RCM4 PID (FT232BM)*/
+#define EVO_RCM4_PID 0x0303 /* Evolution robotics RCM4 PID */
/* Pyramid Computer GmbH */
#define FTDI_PYRAMID_PID 0xE6C8 /* Pyramid Appliance Display */
next reply other threads:[~2007-08-08 7:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 7:24 Søren Hauberg [this message]
2007-08-08 8:01 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed7dcf450708080024s719a4e92x782cafbe5811c012@mail.gmail.com \
--to=hauberg@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®