2006-05-02 09:32:52

by Razvan Gavril

[permalink] [raw]
Subject: [PATCH] ftdi_sio: ACT Solutions HomePro ZWave interface



Attachments:
ftdi_sio-ZWave.patch (1.13 kB)

2006-05-02 20:07:10

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] ftdi_sio: ACT Solutions HomePro ZWave interface

On Tue, May 02, 2006 at 12:32:57PM +0300, Razvan Gavril wrote:

Care to diff this against 2.6.17-rc3? Lots of ftdi new device ids have
been added there.

You also forgot to add a "Signed-off-by:" line :(

> diff -Nur linux-2.6.16.12/drivers/usb/serial/ftdi_sio.c linux-2.6.16.12-pluto-1/drivers/usb/serial/ftdi_sio.c
> --- linux-2.6.16.12/drivers/usb/serial/ftdi_sio.c 2006-05-01 15:14:26.000000000 -0400
> +++ linux-2.6.16.12-pluto-1/drivers/usb/serial/ftdi_sio.c 2006-05-02 05:12:10.000000000 -0400
> @@ -307,6 +307,7 @@
>
>
> static struct usb_device_id id_table_combined [] = {
> + { USB_DEVICE(FTDI_VID, FTDI_ACTZWAVE_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_IRTRANS_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
> diff -Nur linux-2.6.16.12/drivers/usb/serial/ftdi_sio.h linux-2.6.16.12-pluto-1/drivers/usb/serial/ftdi_sio.h
> --- linux-2.6.16.12/drivers/usb/serial/ftdi_sio.h 2006-05-01 15:14:26.000000000 -0400
> +++ linux-2.6.16.12-pluto-1/drivers/usb/serial/ftdi_sio.h 2006-05-02 05:13:00.000000000 -0400
> @@ -380,6 +380,9 @@
> /* Pyramid Computer GmbH */
> #define FTDI_PYRAMID_PID 0xE6C8 /* Pyramid Appliance Display */
>
> +/* ACT Solutions HomePro ZWave interface (http://www.act-solutions.com/HomePro.htm) */
> +#define FTDI_ACTZWAVE_PID 0xF2D0

Please use a tab here.

thanks,

greg k-h

2006-05-03 12:18:48

by Razvan Gavril

[permalink] [raw]
Subject: Re: [PATCH] ftdi_sio: ACT Solutions HomePro ZWave interface

Greg KH wrote:
> On Tue, May 02, 2006 at 12:32:57PM +0300, Razvan Gavril wrote:
>
> Care to diff this against 2.6.17-rc3? Lots of ftdi new device ids have
> been added there.
>
> You also forgot to add a "Signed-off-by:" line :(

Signed-Off By: Razvan Gavril <[email protected]>
---

diff -Nur linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.c
linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.c
--- linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.c 2006-05-03
15:12:01.000000000 +0300
+++ linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.c 2006-05-03
15:04:39.000000000 +0300
@@ -307,6 +307,7 @@


static struct usb_device_id id_table_combined [] = {
+ { USB_DEVICE(FTDI_VID, FTDI_ACTZWAVE_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_IRTRANS_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
diff -Nur linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.h
linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.h
--- linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.h 2006-05-03
15:09:33.000000000 +0300
+++ linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.h 2006-05-03
15:13:26.000000000 +0300
@@ -32,6 +32,10 @@
#define FTDI_NF_RIC_PID 0x0001 /* Product Id */


+/* ACT Solutions HomePro ZWave interface
(http://www.act-solutions.com/HomePro.htm) */
+#define FTDI_ACTZWAVE_PID 0xF2D0
+
+
/* http://www.irtrans.de device */
#define FTDI_IRTRANS_PID 0xFC60 /* Product Id */

2006-05-03 17:45:29

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH] ftdi_sio: ACT Solutions HomePro ZWave interface

On Wed, May 03, 2006 at 03:18:56PM +0300, Razvan Gavril wrote:
> Greg KH wrote:
> >On Tue, May 02, 2006 at 12:32:57PM +0300, Razvan Gavril wrote:
> >
> >Care to diff this against 2.6.17-rc3? Lots of ftdi new device ids have
> >been added there.
> >
> >You also forgot to add a "Signed-off-by:" line :(
>
> Signed-Off By: Razvan Gavril <[email protected]>

Care to add a good text for what the patch does?

> ---
>
> diff -Nur linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.c
> linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.c
> --- linux-2.6.17-rc3-orig/drivers/usb/serial/ftdi_sio.c 2006-05-03
> 15:12:01.000000000 +0300

The patch is line wrapped :(

> +++ linux-2.6.17-rc3/drivers/usb/serial/ftdi_sio.c 2006-05-03
> 15:04:39.000000000 +0300
> @@ -307,6 +307,7 @@
>
>
> static struct usb_device_id id_table_combined [] = {
> + { USB_DEVICE(FTDI_VID, FTDI_ACTZWAVE_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_IRTRANS_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
> { USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },

And the tabs were stripped by your email client :(

Care to try again?

thanks,

greg k-h

2006-05-04 08:35:36

by Razvan Gavril

[permalink] [raw]
Subject: Re: [PATCH] ftdi_sio: ACT Solutions HomePro ZWave interface

Sorry, this is the first patch that i ever submitted, next time I'll be
more careful. The patch add the product id to support the zwave
ZCU000-USB computer interface.

here is the patch:

Signed-off-by: Razvan Gavril <[email protected]>


Attachments:
ftdi_sio.patch (1.09 kB)