From: "Aleš Nesrsta" <starous@volny.cz>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Question: USB serial - device driver debugging
Date: Wed, 15 Sep 2010 07:58:22 +0200 [thread overview]
Message-ID: <1284530302.6578.25.camel@pracovna> (raw)
In-Reply-To: <1284401606.5929.3.camel@pracovna>
Hi,
it seems there are some problems in USB serial driver PL2303 and I want
to debug it.
I need to send and receive some data to see what happened, i.e. I need
to enable remote debug via classic serial interface by e.g.
"serial;terminal_output console serial;debug=xxx" and then do something
like "cat some_file > serial_usb0" and "cat serial_usb0 > some file" to
send and receive some data. But redirection is not supported in GRUB...
I cannot use additional terminal redirection like "terminal_output
console serial serial_usb0" to send something into serial_usb0 - it
makes recursive hang/crash when debug output is enabled.
Is there some way how to send/receive data to/from such device from GRUB
command line?
Or do I need to prepare my own testing program as command module?
Regards
Ales
next prev parent reply other threads:[~2010-09-15 5:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 13:26 Plans on 1.99 release Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-26 23:05 ` Carles Pina i Estany
2010-08-26 23:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-28 11:31 ` Aleš Nesrsta
2010-08-29 23:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-30 0:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-03 22:02 ` Plans on 1.99 release - USB issues Aleš Nesrsta
2010-09-04 17:34 ` Aleš Nesrsta
2010-09-12 17:28 ` [PATCH] USB issues - kbdlayouts branch Aleš Nesrsta
2010-09-13 10:43 ` [PATCH] usb_keyboard.c problems (USB issues - kbdlayouts branch) Aleš Nesrsta
2010-09-13 11:47 ` [PATCH] USB issues - kbdlayouts branch Aleš Nesrsta
2010-09-13 18:13 ` Aleš Nesrsta
2010-09-15 5:58 ` [PATCH] USB serial - missing configuration Aleš Nesrsta
2010-09-19 11:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-21 20:18 ` Aleš Nesrsta
2010-09-23 21:13 ` Trunk: boot problem - unaligned pointer 0x Aleš Nesrsta
2010-09-26 9:58 ` Aleš Nesrsta
2010-09-30 19:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-30 20:45 ` Aleš Nesrsta
2010-09-15 5:58 ` Aleš Nesrsta [this message]
2010-09-30 17:53 ` [RFC - Vladimir ?] USB/RS232 converter PL2303 small problem Aleš Nesrsta
2010-10-17 11:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-18 10:08 ` Plans on 1.99 release - USB issues Vladimir 'φ-coder/phcoder' Serbinenko
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=1284530302.6578.25.camel@pracovna \
--to=starous@volny.cz \
--cc=grub-devel@gnu.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;
as well as URLs for NNTP newsgroup(s).