Re: serial port driver ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/16/07, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
On Mon, Jan 15, 2007 at 11:36:21PM +0200, Ramagudi Naziir wrote:
> How do I know which kernel code (or module) is driving those devices ?
> (major 4, minor 64 through 67)
Run "setserial -a /dev/ttyS0", see what ioport it uses and compare that
with the output from /proc/ioports.
tried that.
for "setserial /dev/ttyS0" i get "Cannot get serial info: Invalid argument"
and for the other /dev/ttyS1 through /dev/ttyS4 I get:
"No such device or address".

> how can I identify the serial driver ?
> is there a sys entry for that ?
/sys/class/tty/ttyS[0-3] might contain useful links.
nothing there but the dev and uevent files.

btw in my dmesg logs I see those lines:
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
8250_pci: Unknown symbol serial8250_unregister_port
8250_pci: Unknown symbol serial8250_resume_port
8250_pci: Unknown symbol serial8250_register_port
8250_pci: Unknown symbol serial8250_suspend_port

the first one is from 8250.c I guess, but the other four lines are weird..
I tried to contact a simple external modem using the serial port but
it didn't work so i am afraid something went wrong with the driver...

Thank You for the help !
naziir




Erik

--
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFrASL/PlVHJtIto0RAvCEAJ41ooEBNeZWJUVi+e5pCVW2ndHYhACghTwV
JuKStKxZ/VfKPJmSUJkb9B4=
=iMVB
-----END PGP SIGNATURE-----




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux