From: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
To: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
Cc: Bernhard Walle <bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org>,
Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>,
Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
Randy Dunlap <rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.org>,
"linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] i2c/busses: Driver for Devantech USB-ISS I2C adapter
Date: Wed, 23 Mar 2011 08:00:14 -0700 [thread overview]
Message-ID: <20110323150014.GB6284@kroah.com> (raw)
In-Reply-To: <20110323060746.GA9673-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
On Tue, Mar 22, 2011 at 11:07:46PM -0700, Guenter Roeck wrote:
> On Wed, Mar 23, 2011 at 01:41:53AM -0400, Bernhard Walle wrote:
> > * Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> [2011-03-23 05:50]:
> > >
> > > It should, you can talk to the device from userspace using that virtual
> > > serial port, right? Isn't that what you need to do here?
> > >
> > > Why try to create a new type of interface to the device from what it was
> > > supposed to be by the manufacturer?
> >
> > The device is multi-function. It's quite common to use some (extended)
> > USB-to-serial-converters also for serial busses like I²C or SPI. I know
> > that from the FT2232C chip.
> >
> > Using such a device as normal Linux I²C device makes perfectly sense,
> > IMO.
> >
> Correct. I use and need it as I2C bus controller. FWIW, that is what it is sold
> for. User space access doesn't help me there.
>
> Anyway, the only reason for submitting the driver was that I thought it might
> be useful for others. Maybe not useful enough, and defintely not worth arguing
> about it. I'll make it available as stand-alone driver; that should be good enough.
No need for that, we want drivers in the kernel tree.
But, if this just duplicates the cdc-acm interface, and it looks like it
does, I don't think you need a kernel driver at all for it. Just use
userspace commands to the serial port, like you do on Windows, and all
should be fine, right?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-03-23 15:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 3:43 [PATCH] i2c/busses: Driver for Devantech USB-ISS I2C adapter Guenter Roeck
[not found] ` <1300851827-13627-1-git-send-email-guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-03-23 3:45 ` Greg KH
[not found] ` <20110323034524.GA11675-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2011-03-23 4:25 ` Guenter Roeck
2011-03-23 4:50 ` Greg KH
[not found] ` <20110323045058.GA13606-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2011-03-23 5:41 ` Bernhard Walle
2011-03-23 6:07 ` Guenter Roeck
[not found] ` <20110323060746.GA9673-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-03-23 15:00 ` Greg KH [this message]
[not found] ` <20110323150014.GB6284-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2011-03-23 15:10 ` Alan Cox
[not found] ` <20110323151021.53e187bb-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2011-03-23 15:31 ` Greg KH
2011-03-23 15:42 ` Mark Brown
2011-03-24 4:31 ` Guenter Roeck
[not found] ` <20110324043157.GD15395-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-03-24 16:41 ` Greg KH
2011-03-23 7:17 ` Oliver Neukum
2011-03-23 9:28 ` Alan Cox
[not found] ` <20110323092829.25d42e27-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2011-03-23 13:46 ` Guenter Roeck
[not found] ` <20110323134650.GA11492-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2011-03-23 13:52 ` Alan Cox
[not found] ` <20110323135244.202cc9bd-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2011-03-23 13:57 ` Guenter Roeck
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=20110323150014.GB6284@kroah.com \
--to=greg-u8xffu+wg4eavxtiumwx3w@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=bernhard-X9USDgGjgfuzQB+pC5nmwQ@public.gmane.org \
--cc=guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rdunlap-/UHa2rfvQTnk1uMJSBkQmQ@public.gmane.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;
as well as URLs for NNTP newsgroup(s).