From: "Prabhu Chawandi" <prabhu.chavandi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Gupta, Ajay Kumar" <ajay.gupta-l0cyMroinI0@public.gmane.org>
Cc: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>,
Aristeu Rozanski <aris-moeOTchvdi7YtjvyW6yDsg@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"mangoo-Nem3ZqsbT/g@public.gmane.org"
<mangoo-Nem3ZqsbT/g@public.gmane.org>
Subject: Re: Regarding Serial consloe
Date: Mon, 13 Oct 2008 12:27:33 +0530 [thread overview]
Message-ID: <241b8f7b0810122357vc234c5qe824165194afa4bf@mail.gmail.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E739403DC2221DD-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
Ajay,
Is USB fs not an auto fs ... ?
I mean as we put the device we get the /dev/<device_id> created auto...
I can see the /dev/ttyUSB0 entry.
Thanks
Prabhu
On 10/13/08, Gupta, Ajay Kumar <ajay.gupta-l0cyMroinI0@public.gmane.org> wrote:
>
> > CONFIG_CMDLINE="rw console=ttyUSB0, 115200 mem =128M"
> >
> > and in inittab
> >
> > ttyUSB0::respawn:/bin/getty -L ttyUSB0 115200 vt102
>
> Apart from this add "mknod /dev/ttyUSB0 c 188 0" in "filesystem/etc/init.d/rcS"
>
> This is required if this node is not created during bootup and usb serial
> device detection.
>
> Regards,
> Ajay
> >
> >
> > --Prabhu
> >
> > On 10/13/08, Prabhu Chawandi <prabhu.chavandi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > Some more updates :
> > >
> > > I am using kernel 2.6.12.4.
> > >
> > > It was Tomasz Chmielewski who said that boot messages cant be logged
> > > on USB-serial. soory for the mistake Aristeu Rozanski .
> > >
> > > On 10/13/08, Prabhu Chawandi <prabhu.chavandi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > > Hi,
> > > >
> > > > I am not getting any errors ....
> > > >
> > > > I have set the command line parameter. I am booting through CFE ,
> > > > This time I am using Serial console while booting I am changing to USB
> > > > serial...
> > > >
> > > > Once the USB -serial driver is loaded I am expecting the rest of the
> > > > logs on the console but I am getting AT command and no more
> > > > messages...
> > > >
> > > > Later I changed inittab file for the login prompt...
> > > >
> > > > I have the other serial connection through which I can control the
> > > > application. When I close that application, through the normal serial,
> > > > I am getting login prompt on both USB-serial and normal Serial.
> > > >
> > > > If I run the application again I am getting logs now on both serials...
> > > >
> > > > I am consfused why I am not getting the boot log messages...
> > > >
> > > > I am sure that I have set commandline parameter properly....
> > > >
> > > > Aristeu Rozanski has said above that ,,, it is not possoble to log
> > > > boot messages on the USB-serial ... what might be the techincal reason
> > > > ?
> > > >
> > > > Thanks
> > > > Prabhu
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 10/10/08, Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> wrote:
> > > > >
> > > > > A: No.
> > > > > Q: Should I include quotations after my reply?
> > > > >
> > > > > On Fri, Oct 10, 2008 at 03:28:56PM +0530, Prabhu Chawandi wrote:
> > > > > > On 10/10/08, Prabhu Chawandi <prabhu.chavandi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > > > > > Yeah... I did all the configurations.
> > > > > > >
> > > > > > > Still not getting the logs :(
> > > > > > >
> > > > > > > I feel I am missing the part where USB- serial will be registered to
> > > > > > > the tty layer.
> > > > > > >
> > > > > > > or Do I need to insert the code where we will be opening the device
> > > > > > > and performimg the write/read operations.
> > > > >
> > > > > No code needs to be added.
> > > > >
> > > > > Please let us know what errors you are seeing, what does your kernel log
> > > > > messages show, and so on. It should work properly if you tell the boot
> > > > > command line to use the usb-serial port for console messages.
> > > > >
> > > > > thanks,
> > > > >
> > > > > 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
>
>
--
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:[~2008-10-13 6:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <241b8f7b0810072221s1c84a45cgb21443fd717d625d@mail.gmail.com>
2008-10-08 5:53 ` Regarding Serial consloe Prabhu Chawandi
2008-10-08 5:56 ` Prabhu Chawandi
2008-10-08 14:32 ` Aristeu Rozanski
2008-10-10 2:45 ` Prabhu Chawandi
2008-10-10 9:58 ` Prabhu Chawandi
[not found] ` <241b8f7b0810100258u4a393c96s21d491d62a05e50c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-10 16:26 ` Greg KH
2008-10-13 4:08 ` Prabhu Chawandi
2008-10-13 4:19 ` Aristeu Rozanski
[not found] ` <241b8f7b0810122108v6b1e0212m99dd2644a997eb6d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-13 4:20 ` Prabhu Chawandi
2008-10-13 4:25 ` Prabhu Chawandi
2008-10-13 6:10 ` Gupta, Ajay Kumar
[not found] ` <19F8576C6E063C45BE387C64729E739403DC2221DD-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2008-10-13 6:57 ` Prabhu Chawandi [this message]
2008-10-13 7:07 ` Gupta, Ajay Kumar
2008-10-13 8:13 ` Prabhu Chawandi
[not found] ` <241b8f7b0810130113m6e93d127ldd8b8f95cf6aa109-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-10-13 8:26 ` Gupta, Ajay Kumar
[not found] ` <19F8576C6E063C45BE387C64729E739403DC2222CB-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2008-10-13 10:09 ` Prabhu Chawandi
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=241b8f7b0810122357vc234c5qe824165194afa4bf@mail.gmail.com \
--to=prabhu.chavandi-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ajay.gupta-l0cyMroinI0@public.gmane.org \
--cc=aris-moeOTchvdi7YtjvyW6yDsg@public.gmane.org \
--cc=greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org \
--cc=linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mangoo-Nem3ZqsbT/g@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