From: Kronos <kronos@kronoz.cjb.net>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] New ID for ftdi_sio
Date: Sat, 10 Apr 2004 17:41:07 +0200 [thread overview]
Message-ID: <20040410154107.GA3983@dreamland.darkstar.lan> (raw)
In-Reply-To: <20040409191450.GB17546@kroah.com>
Il Fri, Apr 09, 2004 at 12:14:50PM -0700, Greg KH ha scritto:
> On Thu, Apr 08, 2004 at 06:51:23PM +0200, Kronos wrote:
> > Hi,
> > I have an USB contactless reader which uses a FTDI chip. It works well with the
> > current ftdi_sio driver, it's just a matter of adding an ID:
>
> Ick, this patch doesn't apply due to all of the recent ids being added
> to this driver. Can you re-diff it against the latest -mm tree and
> resend it to me?
Here it is:
--- linux-2.6/drivers/usb/serial/ftdi_sio.h.orig 2004-04-10 17:35:27.000000000 +0200
+++ linux-2.6/drivers/usb/serial/ftdi_sio.h 2004-04-10 17:36:47.000000000 +0200
@@ -191,6 +191,9 @@
#define LINX_FUTURE_1_PID 0xF44B /* Linx future device */
#define LINX_FUTURE_2_PID 0xF44C /* Linx future device */
+/* Inside Accesso contactless reader (http://www.insidefr.com) */
+#define INSIDE_ACCESSO 0xFAD0
+
/* Commands */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CTRL 1 /* Set the modem control register */
--- linux-2.6/drivers/usb/serial/ftdi_sio.c.orig 2004-04-10 17:36:52.000000000 +0200
+++ linux-2.6/drivers/usb/serial/ftdi_sio.c 2004-04-10 17:38:07.000000000 +0200
@@ -354,6 +354,7 @@
{ USB_DEVICE_VER(FTDI_VID, PROTEGO_SPECIAL_3, 0, 0x3ff) },
{ USB_DEVICE_VER(FTDI_VID, PROTEGO_SPECIAL_4, 0, 0x3ff) },
{ USB_DEVICE_VER(FTDI_VID, FTDI_ELV_UO100_PID, 0, 0x3ff) },
+ { USB_DEVICE_VER(FTDI_VID, INSIDE_ACCESSO, 0, 0x3ff) },
{ } /* Terminating entry */
};
@@ -558,6 +559,7 @@
{ USB_DEVICE_VER(FTDI_VID, LINX_FUTURE_0_PID, 0x400, 0xffff) },
{ USB_DEVICE_VER(FTDI_VID, LINX_FUTURE_1_PID, 0x400, 0xffff) },
{ USB_DEVICE_VER(FTDI_VID, LINX_FUTURE_2_PID, 0x400, 0xffff) },
+ { USB_DEVICE(FTDI_VID, INSIDE_ACCESSO) },
{ } /* Terminating entry */
};
Luca
--
Home: http://kronoz.cjb.net
Al termine di un pranzo di nozze mi hanno dato un
amaro alle erbe cosi' schifoso che perfino sull'etichetta
c'era un frate che vomitava.
next prev parent reply other threads:[~2004-04-10 15:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 16:51 Kronos
2004-04-09 19:14 ` Greg KH
2004-04-10 15:41 ` Kronos [this message]
2004-04-12 23:36 ` 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=20040410154107.GA3983@dreamland.darkstar.lan \
--to=kronos@kronoz.cjb.net \
--cc=greg@kroah.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®