linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: root <alex-eB7nCxF232ATle0oOhCeeA@public.gmane.org>
To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: SPI device sniffing/mirror feature
Date: Sat, 16 Jul 2016 15:27:39 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1607161525430.10952@Test5> (raw)

Hi everyone,

I'm dealing with an embedded Linux, where an application opens the 
/dev/spidev1.0 device and constantly talks through with another MCU.
Now if I I try to look at what exchanges (that's what I'd need), doing
a hexdump /dev/spidev1.0 shows something in the beginning but causes 
the application to crash. The app is very sensitive and I think it crashes 
because the app uses and it can't be used for viewing simultaneously.

Would there be a way to create an alias, or something like a mirror of 
this device if I write some extra code/driver? Or is there no chance for 
me to sniff the traffic like that (in software) ?

Many thanks in advance!
Alex

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2016-07-16 13:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.DEB.2.10.1607161525430.10952@Test5 \
    --to=alex-eb7ncxf232atle0oohceea@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@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;
as well as URLs for NNTP newsgroup(s).