where to get the serial port driver source code

Issues related to hardware problems
Post Reply
weiguixm
Posts: 1
Joined: 2019/08/04 01:06:37

where to get the serial port driver source code

Post by weiguixm » 2019/08/04 01:14:26

I want to modify the serial port driver source code in kernel. And I found the serial port chipset is NCT6776F. But I can't find the serial port relate driver code.
Could someone give me some tips. Thank you very much.
My centos version is 7.6 and kernerl version is 3.10.0-957.el7.x86_64

chemal
Posts: 587
Joined: 2013/12/08 19:44:49

Re: where to get the serial port driver source code

Post by chemal » 2019/08/04 16:19:31

Your project sounds absurd. The NCT6776F is a Super I/O chip that implements "PC-compatible" serial ports. If you really have one, you should see something like

Code: Select all

[    0.656617] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.677323] 00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.698066] 00:02: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
in the kernel logs. Besides, the cip is specifically known to the kernel:

Code: Select all

[    4.058284] nct6775: Found NCT6776D/F or compatible chip at 0xa30
Even the non-generic parts for hardware monitoring with lm_sensors are supported out of the box.

Post Reply

Return to “CentOS 7 - Hardware Support”