PCI Serial Card Install in Debian Etch w/ kernel 2.6.19
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
PCI Serial Card Install in Debian Etch w/ kernel 2.6.19
Here's the skinny. I am trying to get a single port PCI serial device working under kernel 2.6.19. Below are the serial parameters out of the .config file. The reason I am working with 0 Runtime UARTs is to simulate installing when there are no onboard serial ports present, or if nodes have to be added.
I am trying to use a mknod and setserial approach to installing the card, but that does not seem to work. The following is a session of me trying to get something working with mknod and setserial. BTW the card is located at 0x9000 and IRQ 4, it uses a 16950 UART.
Quote:
stewie:~# ls -al /dev/ttyS*
ls: /dev/ttyS*: No such file or directory
stewie:~# mknod /dev/ttyS0 c 4 64
stewie:~# ls -al /dev/ttyS*
crw-r--r-- 1 root root 4, 64 2007-02-27 04:33 /dev/ttyS0
stewie:~# chmod 660 /dev/ttyS0
stewie:~# chgrp dialout /dev/ttyS0
stewie:~# ls -al /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 2007-02-27 04:33 /dev/ttyS0
stewie:~# setserial /dev/ttyS0
/dev/ttyS0: No such device or address
stewie:~#
The output should list the UART, Port and IRQ as being unknown or none or 0 or something to that effect. Instead, No such device or address. That was method 1.
Method 2 was attempted using /sbin/MAKEDEV tty. The following is the information from that attempt.
Quote:
stewie:~# cd /dev
stewie:/dev# /sbin/MAKEDEV ttyS0
udev active, devices will be created in /dev/.static/dev/
stewie:/dev# cd .static/dev/
stewie:/dev/.static/dev# ls -al ttyS*
crw-rw---- 1 root dialout 4, 64 2007-02-27 04:37 ttyS0
stewie:/dev/.static/dev# setserial ttyS0
ttyS0: No such device or address
stewie:/dev/.static/dev#
Once again, no such device or address.
And finally some other pertinent system information:
lsmod: All though I do not believe it will be of much help since the 8250 support is compiled into the kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.