LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2009, 03:40 PM   #1
gratney
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Device monitoring for input / output


Hello,
I'm wondering if anyone may have a recommendation for monitoring I/O of a particular device. I have a hardware device meant to emulate what is called Link-16 messages over a 1553 bus (this is a coax bus). We were delivered a custom driver, but the vendor offers little support. The driver loads into the kernel, but the device is not having proper communications with a connected device. I'm looking for an idea to verify the card is sending out messages (i.e. Wireshark for a non-network device). If anyone has any good suggestions please let me know.
Thanks.
 
Old 04-01-2009, 09:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by gratney View Post
Hello,
I'm wondering if anyone may have a recommendation for monitoring I/O of a particular device. I have a hardware device meant to emulate what is called Link-16 messages over a 1553 bus (this is a coax bus). We were delivered a custom driver, but the vendor offers little support. The driver loads into the kernel, but the device is not having proper communications with a connected device. I'm looking for an idea to verify the card is sending out messages (i.e. Wireshark for a non-network device). If anyone has any good suggestions please let me know.
Thanks.
From what I remember, the 1553 is a serial link. If there's some way you could break out the coax to a 'regular' serial port, you could look at the traffic.

Maybe take the transmit from the coax, and put it into the receive on a serial port. Run minicom, and you should see all the data flowing from the device to the other device..you're not interrupting the signal, just tapping it. But the 1553 is milspec, so I don't know how the impedance drop might affect the signal, but it should be negligible.

You could always do the same thing, but take receive from the coax, to receive on another serial port, and run minicom in another window, so you could see traffic both ways. Minicom will let you do a capture of screens/data to a file....
 
Old 04-03-2009, 03:05 PM   #3
gratney
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks TB0ne,
That's a good idea. I have feelers out to try and borrow an inline protocol analyzer. If I don't get any contacts back soon though, this is a good way ahead. I'll just have to build a breakout connector. Time for a trip to Radio Shack
Thanks!
 
Old 04-03-2009, 03:39 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by gratney View Post
Thanks TB0ne,
That's a good idea. I have feelers out to try and borrow an inline protocol analyzer. If I don't get any contacts back soon though, this is a good way ahead. I'll just have to build a breakout connector. Time for a trip to Radio Shack
Thanks!
No problem...old-timers like me remember serial lines being the ONLY way to communicate....unless you got one of those fancy parallel-port input drivers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HAL vs Xserver (/dev/input/mice?): convincing X to *not* use a given input device? stuartnlevy Linux - Desktop 6 01-24-2012 04:06 PM
input /output error kapoorrajeev1906 Linux - Server 1 06-23-2007 09:34 PM
startx --> (EE) xf86OpenSerial: Cannot open device /dev/input/mice No such device. TB2 Linux - Software 2 04-04-2007 05:11 PM
what is input output error? paschim Linux - Newbie 2 10-24-2004 05:53 PM
Input/Output errors when mv or cp from local machine->NAS device via NFS? Matt@Ants Linux - Networking 2 06-24-2003 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration