Re: Linux USB Serial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux