From: 'Greg KH' <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
To: "Steven J. Ackerman" <steve-I01wfHm1r9xGyKhy+UYuEA@public.gmane.org>
Cc: "'Bjørn Mork'" <bjorn-yOkvZcmFvRU@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Linux USB Serial
Date: Mon, 17 Sep 2012 15:08:13 -0700 [thread overview]
Message-ID: <20120917220813.GA7780@kroah.com> (raw)
In-Reply-To: <00c101cd951f$55626910$00273b30$@acscontrol.com>
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Mon, Sep 17, 2012 at 05:56:46PM -0400, Steven J. Ackerman wrote:
> 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.
That's fine, the cdc-acm interface will work for that.
> 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.
But is your device really a CDC ACM device? Or is it something else?
> Doing the modprobe, etc. was based upon some blog posts that purported
> to show how to add support for an unknown usb serial device.
Yes, but that's a one-off, and your kernel should have told you that you
shouldn't be doing that, if you are using a modern kernel release.
> 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.
You wouldn't, if you use the ftdi serial chip in your device. Which
begs me to ask, what type of usb to serial chip is in your device? What
protocol does it use to talk to the host?
> 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.
They shouldn't have to do that, once we get it working, they get the
update automatically from their distro. But if you can't test any
changes we make to try to get this to work, there's not much we can do
here, right?
I think you need to figure out the protocol used by your device to talk
to the host. If you get that worked out, we can help to get Linux
working with it.
Oh, and fix that descriptor up in your firmware, that might solve
everything :)
Hope this helps,
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:[~2012-09-17 22:08 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
2012-09-17 22:08 ` 'Greg KH' [this message]
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=20120917220813.GA7780@kroah.com \
--to=gregkh-hqyy1w1ycw8ekmwlsbkhg0b+6bgklq7r@public.gmane.org \
--cc=bjorn-yOkvZcmFvRU@public.gmane.org \
--cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=steve-I01wfHm1r9xGyKhy+UYuEA@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).