LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-07-2014, 06:53 AM   #1
astros
LQ Newbie
 
Registered: Oct 2012
Posts: 7

Rep: Reputation: Disabled
openwrt - read from /dev/ttys0


Hello,
i bought new TP-Link and replace original FW by openwrt.
Reason was connect device to RS232(on tplink) and read output from the device (RFID card reader).
When i install stty to openwrt, set baudrate to 9600 and try cat /dev/ttys0 i obtained some mess with 3 - 4 characters which are really on ID card.

Can somebody advice me how to set serial port on openwrt or how to properly read from /dev/ttys0 ? Thanks
 
  


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
Can read from /dev/ttyS0, but not write? ivanatora Programming 7 11-06-2008 05:20 PM
How to read serial port (/dev/ttyS0) seraph-seph Linux - Hardware 4 11-01-2006 06:55 AM
How to read serial port (/dev/ttyS0) without end of transmission seraph-seph Programming 1 10-22-2006 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration