LinuxQuestions.org
Review your favorite Linux distribution.
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 11-27-2008, 06:46 AM   #1
techie_india
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
How to use slsnif


Hi all ,

I have a device to which Im communicating it with USB-Serial IC.
its device number is /dev/ttyUSB0.

There is only one port through which Im communicating. I want to use slsnif to monitor the data transfer between the device and my application.
But when I run the slsnif --->

Code:
slsnif -l log.txt -n /dev/ttyUSB0 
Started logging data into file 'log.txt'.
Opened pty: /dev/ttyp0
Saved name of the pty opened into file '/tmp/slsnif_pty'.
Opened port: /dev/ttyUSB0
Baudrate is set to 9600 baud (default).

But when I try to communicate the device with the application . The application was not able to communicate.

Can anybody help me how to monitor the serial device.

Thanks and Regards

Anshuman Srivastava
 
Old 09-21-2010, 07:42 PM   #2
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
Same exact problem here. I'm using the same command, same ports, and I have the same error. My application is using RxtxSerial (java). I'm hoping someone knows of a serial sniffer that will work with USB-to-serial kernel drivers such as CP210x driver. Thanks.

Last edited by Mountain; 09-21-2010 at 07:58 PM.
 
  


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



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

All times are GMT -5. The time now is 08:11 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