Linux.com

Home Linux Community Forums Hardware Drivers How can check/test serial port working in my target board and How can configure node in kernel for s

How can check/test serial port working in my target board and How can configure node in kernel for s

Link to this post 11 Jul

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 properly ?? )

can you just suggest me or tell me that how can I check my serial port on my ARM target board that is working correctly 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 correctly 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

Link to this post 12 Jul

JayminD said:



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 properly ?? )

can you just suggest me or tell me that how can I check my serial port on my ARM target board that is working correctly 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 correctly 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

Interesting question you asked. I don't know how to activate a serial port other then enabling the driver if one is included in the kernel or manually install the driver. The best way to test if a device is working is to confirm the kernel detects it. The most widely used method is lspci.

In a terminal:
#sudo lspci

This lists all the devices on your system, with name, location, extensions and drivers.

Read this article to get a better understanding of kernel modules.

https://wiki.archlinux.org/index.php/kernel_modules

Bestly, just connect something to the serial port and see if it gets read.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board