From: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
To: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
Cc: Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>,
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: Thu, 24 Mar 2011 09:41:37 -0700 [thread overview]
Message-ID: <20110324164137.GA22838@kroah.com> (raw)
In-Reply-To: <20110324043157.GD15395-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
On Wed, Mar 23, 2011 at 09:31:57PM -0700, Guenter Roeck wrote:
> On Wed, Mar 23, 2011 at 11:31:15AM -0400, Greg KH wrote:
> > On Wed, Mar 23, 2011 at 03:10:21PM +0000, Alan Cox wrote:
> > > > 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?
> > >
> > > You want a kernel driver because you've got kernel I²C drivers wanting to
> > > talk to the devices down the link in question. Just needs to be an ldisc
> > > and then it call comes together nicely.
> >
> > Ah, ok, that makes more sense.
> >
> > Odd that windows does it all from userspace, but I guess it doesn't have
> > an I2C driver subsystem.
> >
> Converting the driver to a line discipline as Alan suggested would mean to add
> a new line discipline to linux/tty.h.
>
> Doing this would be purely for the benefit of the community, since the driver
> works just fine for my purpose.
>
> So before I spend any more time on it, I'll need to know ... is there any
> interest in an i2c bus driver for this device, and would a new line discipline
> be accepted into the kernel ?
If people need/want it, a new line discipline will be accepted, no
problems with that.
thanks,
greg k-h
next prev parent reply other threads:[~2011-03-24 16:41 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
[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 [this message]
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=20110324164137.GA22838@kroah.com \
--to=greg-u8xffu+wg4eavxtiumwx3w@public.gmane.org \
--cc=alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@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).