Re: usb_debug serial driver protocol

2015-01-28 Thread Greg KH
On Mon, Jan 26, 2015 at 04:37:25PM +0100, Michael Zimmermann wrote: Hi, I want to use the usb_debug serial driver as a UART shell on my (embedded) device, because I just want to use it as a console(without a complex protocol so I can easily use putchar and getchar functions). This seems

Re: usb_debug serial driver protocol

2015-01-28 Thread Greg KH
On Wed, Jan 28, 2015 at 10:25:16PM +0100, Peter Stuge wrote: Greg KH wrote: Is that some kind of initialization protocol I have to handle? If yes, where do I find information about it? The protocol should be part of the USB specification. USB debug class devices use no protocol,

Re: usb_debug serial driver protocol

2015-01-28 Thread Peter Stuge
Greg KH wrote: I've found that screen can leave usb serial ports in an odd state, it's not unique to this specific device, I blame the screen command :) I think that's a lame excuse to not investigate a potential bug. It would obviously be helpful if someone who experienced this

Re: usb_debug serial driver protocol

2015-01-28 Thread Peter Stuge
Greg KH wrote: Is that some kind of initialization protocol I have to handle? If yes, where do I find information about it? The protocol should be part of the USB specification. USB debug class devices use no protocol, just transfers of 1-8 bytes, used in arbitrary ways by the various

usb_debug serial driver protocol

2015-01-26 Thread Michael Zimmermann
Hi, I want to use the usb_debug serial driver as a UART shell on my (embedded) device, because I just want to use it as a console(without a complex protocol so I can easily use putchar and getchar functions). This seems to work pretty good except for two things. Once upon establishing a