linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Steven J. Ackerman" <steve@acscontrol.com>
To: 'Greg KH' <gregkh@linuxfoundation.org>
Cc: "'Bjørn Mork'" <bjorn@mork.no>,
	linux-usb@vger.kernel.org, linux-serial@vger.kernel.org
Subject: RE: Linux USB Serial
Date: Mon, 17 Sep 2012 17:56:46 -0400	[thread overview]
Message-ID: <00c101cd951f$55626910$00273b30$@acscontrol.com> (raw)
In-Reply-To: <20120917214136.GA20773@kroah.com>

Greg-

Thanks for your response.

Not sure if I need the cdc-acm functionality or not.

This is a color lcd display that supports a usb serial interface to
interact. I really 
just need to be able to send and receive characters and NAK the pipe back 
temporarily when my input buffer is full.

The descriptors were supplied by the chip vendor - Renesas - as part of a 
CDC demo application. The VID/PID is ours. The device works great under 
Windows XP with the descriptors as shown previously - even with the 
Communications bInterfaceSubClass value wrong.

Doing the modprobe, etc. was based upon some blog posts that purported
to show how to add support for an unknown usb serial device.

Looking at the descriptor for a FTDI USB serial to TTL cable it seems a lot
simpler,
but it does indicate vendor specific class, subclass and protocol - which
means 
that it requires a custom driver - ftdi_sio - right ?  I don't really want
to have to 
develop and support that.

I don't think that I have enough Linux experience to be able to test a patch

and rebuild of the kernel, and I don't think that I can ask my customers to
do 
that it order to use our product as a simple serial display.  

I'm running Ubuntu 10.10.

Any additional pointers and/or ideas would be greatly appreciated.

Thank you again,

Steven J. Ackerman, Consultant
ACS, Sarasota, FL
http://www.acscontrol.com
mailto:steve@acscontrol.com


> -----Original Message-----
> From: Greg KH [mailto:gregkh@linuxfoundation.org]
> Sent: Monday, September 17, 2012 5:42 PM
> To: Steven J. Ackerman
> Cc: 'Bjørn Mork'; linux-usb@vger.kernel.org; linux-serial@vger.kernel.org
> Subject: Re: Linux USB Serial
> 
> On Mon, Sep 17, 2012 at 05:07:26PM -0400, Steven J. Ackerman wrote:
> > Bjrn-
> >
> > Thank you for your response.
> >
> > This change gets me closer. I can now successfully execute the modprobe
> > without error, but the device still doesn't show up in /dev/ttyUSB? .
> >
> > sja@UBUNTU-10:~$ sudo modprobe usbserial vendor=0x0c6a
> product=0x0005
> 
> Eeek, no, never do that with a device you actually want to use.  This
> should be controlled by the cdc-acm driver, not the usbserial driver.
> That driver should be auto-loaded for this device, but it looks like the
> descriptor is wrong, so it's not binding to it.
> 
> Are you able to test a patch and rebuild the kernel to see if we can get
> this to work properly?
> 
> thanks,
> 
> greg k-h


--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-09-17 21:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 19:28 Linux USB Serial Steven J. Ackerman
2012-09-17 20:07 ` Bjørn Mork
2012-09-17 21:07   ` Steven J. Ackerman
2012-09-17 21:41     ` Greg KH
2012-09-17 21:56       ` Steven J. Ackerman [this message]
2012-09-17 22:08         ` 'Greg KH'
2012-09-17 22:27           ` Steven J. Ackerman
2012-09-18  6:46     ` Oliver Neukum
     [not found]       ` <5789366.GGq3fAeCyr-ugxBuEnWX9yG/4A2pS7c2Q@public.gmane.org>
2012-09-18 14:00         ` Steven J. Ackerman

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='00c101cd951f$55626910$00273b30$@acscontrol.com' \
    --to=steve@acscontrol.com \
    --cc=bjorn@mork.no \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).