linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Greg KH <greg@kroah.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Bernhard Walle <bernhard@bwalle.de>,
	Jean Delvare <khali@linux-fr.org>,
	Ben Dooks <ben-linux@fluff.org>,
	Randy Dunlap <rdunlap@xenotime.net>,
	"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: Re: [PATCH] i2c/busses: Driver for Devantech USB-ISS I2C adapter
Date: Wed, 23 Mar 2011 21:31:57 -0700	[thread overview]
Message-ID: <20110324043157.GD15395@ericsson.com> (raw)
In-Reply-To: <20110323153115.GB7106@kroah.com>

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 ?

Thanks,
Guenter

  parent reply	other threads:[~2011-03-24  4:31 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 [this message]
     [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=20110324043157.GD15395@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=ben-linux@fluff.org \
    --cc=bernhard@bwalle.de \
    --cc=greg@kroah.com \
    --cc=khali@linux-fr.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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).