* Support for the Evolution Scorpion Robot
@ 2007-08-08 7:24 Søren Hauberg
2007-08-08 8:01 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Søren Hauberg @ 2007-08-08 7:24 UTC (permalink / raw)
To: linux-kernel
[-- 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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Support for the Evolution Scorpion Robot
2007-08-08 7:24 Support for the Evolution Scorpion Robot Søren Hauberg
@ 2007-08-08 8:01 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-08-08 8:01 UTC (permalink / raw)
To: S?ren Hauberg; +Cc: linux-kernel
On Wed, Aug 08, 2007 at 09:24:35AM +0200, S?ren Hauberg wrote:
> 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.
Care to redo the patch as per the Documentation/SubmittingPatches file
and send a copy to me and the linux-usb-devel mailing list so that we
can add this to the main kernel tree?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-08 7:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 7:24 Support for the Evolution Scorpion Robot Søren Hauberg
2007-08-08 8:01 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).