LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-03-2005, 08:29 PM   #1
TsaLLgood
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Question Linux sends additional binary at the end of serial message


I was trying to figure out why I can't get my serial device to work with linux... So I probed the serial TX with an o'scope... And Surprise!! Linux adds 000110100101001011111000 at the end of anyything it sends
I tried using a terminal named TK... then I tried a less fancy way to send through serial: I typed "echo A>/dev/ttyS0" and it adds something again but different this time: 00010100 .. again

I did the same thing on WinXP with hyperterminal and as expected nothing is added.

Any explanation why linux adds stuff at the end of my sentence and How to get rid of that stuff???

Any help I can get here would be greatly appreciated!
 
Old 05-05-2005, 09:36 AM   #2
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Looks like the uart transmit fifo has junk in it after the end of your message. This is probably because the wrong driver is being used. On most PCs the uart is part of the SuperI/O chip, also doing parallel and IrDA. Linux support for some of the Chinese origin examples of these is a bit patchy. These are mainly found in laptops.
 
Old 05-05-2005, 05:03 PM   #3
TsaLLgood
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
Lightbulb chinese laptop you said??

Chines laptop you said... well, I am using a Toshiba laptop... this would explain the junk...
I guess to find the proper uart/ superI/O chip driver would be a pain in the b...??
Any idea how to indentify my I/O chip model and find its driver?

Thnaks for answering by the way!
 
Old 05-05-2005, 10:22 PM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Not easy without taking the machine apart, Windows does not tell you much, even tools like Sisoft Sandra or Belarc normally just report "16550" when in fact it is a Winbond chip

Try a livecd like slax with a 2.6.11 kernel that may be better at identifying the hardware than your distribution
 
  


Reply



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
Problems with reading back serial binary data esi-eric Linux - Software 15 10-03-2018 09:13 AM
Cron.daily sends me a logrotate Kill usage message. pollardd Linux - General 1 09-02-2005 12:18 PM
ERROR MESSAGE- home kernel: ... end of device chirpper Slackware 0 03-02-2004 09:22 AM
adding a additional pci card serial port da_kidd_er Linux - Hardware 0 01-09-2004 12:02 PM
Why sendmail sends message in two pieces ? mikeshn Linux - Software 0 08-19-2003 06:49 PM

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

All times are GMT -5. The time now is 01:10 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
Open Source Consulting | Domain Registration