* Re: Embedded USB Debug(EUD) driver [not found] <CAPY=qRS0F0iv15w34w13xutoUThbDqFtYniM=eLLmqaMdXya3g@mail.gmail.com> @ 2021-07-31 5:42 ` Greg KH 2021-08-07 14:23 ` Subhashini Rao Beerisetty 0 siblings, 1 reply; 3+ messages in thread From: Greg KH @ 2021-07-31 5:42 UTC (permalink / raw) To: Subhashini Rao Beerisetty; +Cc: linux-usb, kernelnewbies, LKML On Fri, Jul 30, 2021 at 11:33:09PM +0530, Subhashini Rao Beerisetty wrote: > Hi All, > > I'm currently looking for the Embedded USB Debug (EUD) interface driver. For what specific hardware? Do you have the needed "special" cable? We have support in the kernel for some types of these cables, what kernel versions have you tried that did not work for this? thanks, greg k-h ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Embedded USB Debug(EUD) driver 2021-07-31 5:42 ` Embedded USB Debug(EUD) driver Greg KH @ 2021-08-07 14:23 ` Subhashini Rao Beerisetty 2021-08-07 14:54 ` Randy Dunlap 0 siblings, 1 reply; 3+ messages in thread From: Subhashini Rao Beerisetty @ 2021-08-07 14:23 UTC (permalink / raw) To: Greg KH; +Cc: linux-usb, kernelnewbies, LKML On Sat, Jul 31, 2021 at 11:12 AM Greg KH <gregkh@linuxfoundation.org> wrote: > > On Fri, Jul 30, 2021 at 11:33:09PM +0530, Subhashini Rao Beerisetty wrote: > > Hi All, > > > > I'm currently looking for the Embedded USB Debug (EUD) interface driver. > > For what specific hardware? Do you have the needed "special" cable? We > have support in the kernel for some types of these cables, what kernel > versions have you tried that did not work for this? It's for MSM hardware and yes we have the "special" cable. I could not find the device driver for this in the mainline tree. It would be helpful if you could point me to the kernel tree which supports this feature. We will compile this suggested kernel and necessary drivers and then will give a try on our hardware > > thanks, > > greg k-h ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Embedded USB Debug(EUD) driver 2021-08-07 14:23 ` Subhashini Rao Beerisetty @ 2021-08-07 14:54 ` Randy Dunlap 0 siblings, 0 replies; 3+ messages in thread From: Randy Dunlap @ 2021-08-07 14:54 UTC (permalink / raw) To: Subhashini Rao Beerisetty, Greg KH; +Cc: linux-usb, kernelnewbies, LKML On 8/7/21 7:23 AM, Subhashini Rao Beerisetty wrote: > On Sat, Jul 31, 2021 at 11:12 AM Greg KH <gregkh@linuxfoundation.org> wrote: >> >> On Fri, Jul 30, 2021 at 11:33:09PM +0530, Subhashini Rao Beerisetty wrote: >>> Hi All, >>> >>> I'm currently looking for the Embedded USB Debug (EUD) interface driver. >> >> For what specific hardware? Do you have the needed "special" cable? We >> have support in the kernel for some types of these cables, what kernel >> versions have you tried that did not work for this? > It's for MSM hardware and yes we have the "special" cable. > I could not find the device driver for this in the mainline tree. It > would be helpful if you could point me to the kernel tree which > supports this feature. We will compile this suggested kernel and > necessary drivers and then will give a try on our hardware Hi, See USB_SERIAL_DEBUG in drivers/usb/serial/. That symbol builds usb_debug.c in that same directory. It may help to read Documentation/x86/earlyprintk.rst. My own cheat sheet (quick reference) says this: (it may or may not help you) (it might need some updating for XHCI): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Using USB debug port (on a USB EHCI controller) On the system under test: CONFIG_USB_EHCI_HCD=y kernel command line: earlyprintk=dbgpN,keep With an XHCI controller, use: earlyprintk=xdbcN,keep Also add: console=tty0 or console=ttyUSB0 for console output to go to the serial port. Make sure that USB_SERIAL=y, USB_SERIAL_CONSOLE=y, and USB_SERIAL_DEBUG=y. ------ On the logging system: (requires CONFIG_USB_SERIAL_DEBUG=y) Run minicom and tell it to connect to /dev/ttyUSB#. Optionally have it log all messages to a file. ##### -- ~Randy ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-07 14:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <CAPY=qRS0F0iv15w34w13xutoUThbDqFtYniM=eLLmqaMdXya3g@mail.gmail.com> 2021-07-31 5:42 ` Embedded USB Debug(EUD) driver Greg KH 2021-08-07 14:23 ` Subhashini Rao Beerisetty 2021-08-07 14:54 ` Randy Dunlap
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).