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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello All, I am having a major issue trying to configure a couple of serial ports.
I am running SuSE10 SP1 on an IBM Sure POS with 4 serial ports. This box will be running 3 serial peripherals, a scanner gun , a printer & cash drawer. I cannot get com3 & com4 to work ( ttyS2 & ttyS3 ).
If I plug my printer into ttyS0 and cat test.txt > /dev/ttyS0, I get the printer to work. This also works for /dev/ttyS1. Nothing happens when I try it on either ttyS2 or ttyS3. Now, I have the same hardware here running SuSE8 and I can hook the printer up to ttyS2 & ttyS3 and it prints. I am driving myself crazy trying to figure this out !!! Any thoughts? Using setserial doesn't help, matching the settings for the ttyS* from the SuSE8 box to the SuSE 10 box ( UART , port, irq settings) didnt do anything either.
A typical PC, COM 2,4 (ttyS1,ttyS3) share IRQ3 and COM 1,3 (ttyS0,ttyS2) share IRQ4.
It is reasonable that the com ports on the same PCI card would have the same IRQ.
There could be a conflict with other PCI devices. Check to see if your ethernet adapter is also IRQ11.
Thanks for the quick responses , Electro, unfortuniately I have to upgrade to SuSE10, switching over to Gentoo is not an option. As my father always told me, " You gotta dance with the girl you brought !"
I tried various irq changed with no success. I verified the settings for a SuSE8 box that works and using setserial changed the settings for ttyS2&3 to match the working box for uart, port & irq & still nothing. For testing / troubleshooting purposes, I am only using the printer connected.
Check if the parity and baud rate is correct. Also verify the kernel options for SUSE 10 is the same as SUSE 8. If it is different, you may have to re-compile the kernel for SUSE 10. Though it does help to get a serial diagnose device to know if data is being sent to the printer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.