[NTLUG:Discuss] USB instead of serial for debugging purpose

satyam venkat venkatcis at yahoo.com
Fri Aug 4 11:39:29 CDT 2006


Yes, that is correct. USB-to-serial.
   
  >>
  All of this assumes you are talking about using a USB-to-Serial device 
on 
the system's USB port right?


". Daniel" <xdesign at hotmail.com> wrote:
  If your concern is form factor, there are all sorts of headers the size of 
or smaller than USB. 

It would be interesting to know if a USB serial device is initialized soon 
enough though. I've never used a serial device to serve as a console, 
which I assume you are attempting to do. The most likely solution to that 
might well be a BIOS change. In the BIOS, it is common to see settings for 
USB keyboards and mice to emulate legacy or PS/2 keyboards and mice for 
OSes that don't understand USB. It would stand to reason the same could be 
enabled for a serial port. 

All of this assumes you are talking about using a USB-to-Serial device on 
the system's USB port right?

>we are developing an IP appliance (small embedded device) currently we use 
serial port as console debug.
>
> In the new version, we don't want to have serial port. We want to use 
usb port as console port to spit out all debug messages.
>
> We use linux 2.6.
>
> My question is:
> Serial port driver is so simple it can be initalized either by 
bootloader or early part of kernal initialization.
>
> We don't want to put usb port in the boot loader. But we rather start 
the boot loader at very early part of linux kernal initialization. i.e 
before filesystem, kernal, network stack is up. In other words we want to 
start "usb driver" as one of the first one to initalize during early part 
of Linux kernal start up to see all debug messages (which might be helpful 
to debug field issues incase if there are any kernal issues later on after 
deployed).
>
> Is it possible to do that? Appreciate your comments if anybody 
experience similar kind of issues.
>
> thanks,
> SAT
>
> NOTE: Basically we want to use USB port instead of serial port for 
debugging purpose. so that we don't have to expose serial port (i.e save 
few bucks on plastics) instead use USB port for debugging purpose without 
loosing much debug messages during early part of Linux kernal startup.
>
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great 
rates starting at 1¡Ö/min.
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss



_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss


 			
---------------------------------
See the all-new, redesigned Yahoo.com.  Check it out.


More information about the Discuss mailing list