LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-11-2014, 07:05 AM   #1
JayminD
LQ Newbie
 
Registered: Jun 2014
Location: INDIA
Distribution: UBUNTU, LINUX MINT, LXLE, KUBUNTU, ELEMENT OS, DEBIAN, FEDORA, MAJARO OS, LUBUNTU and many more
Posts: 11

Rep: Reputation: Disabled
Unhappy How to find and test serial driver (/ttyS*) in linux kernel ???


Hello All,

I want to know that how and where can I find serial driver file (i.e. for /ttyS*) in my kernel image in linux.... ???

and

How can I check/test the serial driver on my ARM dev. board ?? (mean how can I test that driver and serial port is working properlly ?? )

Please suggest me in this issue.
Need your help, reply ASAP.

Thanks a lot.

Regards
Jaymin D
 
Old 07-11-2014, 09:28 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,812

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
The serial port drivers are in the kernel source tree under /drivers/tty and /drivers/tty/serial.
When you configure the kernel build, turn on the driver for your board. The boot loader needs to
initialize the serial port to act as a console.
 
Old 07-11-2014, 10:15 AM   #3
JayminD
LQ Newbie
 
Registered: Jun 2014
Location: INDIA
Distribution: UBUNTU, LINUX MINT, LXLE, KUBUNTU, ELEMENT OS, DEBIAN, FEDORA, MAJARO OS, LUBUNTU and many more
Posts: 11

Original Poster
Rep: Reputation: Disabled
Unhappy reply

Quote:
Originally Posted by smallpond View Post
The serial port drivers are in the kernel source tree under /drivers/tty and /drivers/tty/serial.
When you configure the kernel build, turn on the driver for your board. The boot loader needs to
initialize the serial port to act as a console.
Hello..

Thanks a lot for it..

But can you just suggest me or tell me that how can I check my serial port on my ARM target board that is working corretly and how can I configure serial post ???

I mean that , as we configure fb0 for LVDS LCD and configure it and send any image on it that's same how can I check my serial port and check it that whether its working corretly or not ??

How can I activate it's node in my board ??

Please reply me ASAP I need help urgent, b'coz it's very imp for me so..

Thanks a lot.

Best Regards

Jaymin D
 
Old 07-11-2014, 11:48 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,812

Rep: Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749Reputation: 749
Connect serial to a PC (most likely via USB-to-serial converter, these days) and see if you get console output. You can run PuTTY on the PC in serial connection mode.
 
  


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
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM
how to connect modem in ttyS serial port amitk_m Slackware 3 06-30-2009 09:14 AM
FC6 does not create /dev/ttyS?? for ISA serial cards jatf Linux - Hardware 1 10-31-2007 02:01 PM
where is my serial device??? /dev/ttyS* is missing! mrchaos Linux - Hardware 2 03-11-2006 02:50 PM

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

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