Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


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

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

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


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 06:20 PM
How to read serial port (/dev/ttyS0) seraph-seph Linux - Hardware 4 11-01-2006 07:55 AM
How to read serial port (/dev/ttyS0) without end of transmission seraph-seph Programming 1 10-22-2006 02:03 AM > Forums > Linux Forums > Linux - Hardware

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

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