Cat Dev Ttys0 Input Output Error
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User bash echo write error input output error Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: ttys0 tcgetattr input output error Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu tty input/output error Official Flavours Support General Help [SOLVED] 'Input/output error' on serial port Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks
/dev/ttys0: Tcgetattr: Input/output Error
! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 12 Thread: 'Input/output error' on serial port Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 29th, 2013 #1 hadrien15 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Nov 2013 Beans 8 'Input/output error' on serial port Hello, The objective linux serial port is to calibrate my monitor (connected via VGA) with the colorimeter X-Rite Colormunki Display connected via usb. The device is recognized : Code: $ lsusb Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 002: ID 046d:c05a Logitech, Inc. Optical Mouse M90 Bus 003 Device 005: ID 0765:5020 X-Rite, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1bcf:2c01 Sunplus Innovation Technology Inc. but when I run the program (Argyll) I get the following error message: Code: dispcal -r dispcal: Error - tcgetattr failed with 'Input/output error' on serial port '/dev/ttyS0' my environment: Sony Vaio SVE14A2C5E Ubuntu 12.04 (precise) 64-bit Kernel Linux 3.5.0-44-generic GNOME 3.4.2 Some weeks ago, I had windows 8 on this laptop without problem with the calibrator and Argyll. I spent my last days reading the numerous topics about it without success. I show you the outputs of some command lines: Code: $ lspci -v 00:00.0 Host bridge: Intel Corporation 3rd
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware cat /dev/ttyS0: Input/output error User Name Remember Me? Password Linux - Hardware This forum is for Hardware issues. Having minicom 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! https://ubuntuforums.org/showthread.php?t=2196430 Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now 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. http://www.linuxquestions.org/questions/linux-hardware-18/cat-dev-ttys0-input-output-error-397212/ Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 12-28-2005, 10:22 AM #1 lionking_x Member Registered: Aug 2003 Posts: 36 Rep: cat /dev/ttyS0: Input/output error I am trying to setup heartbeat for high-availibility between two SuSE SLES9 linux servers. I need serial communication between two hp-dl360 machines via the serial port. I use a null-modem cable to do this. The serial device on one of my systems gives me an error when i just do a simple cat /dev/ttyS0. The error is below , mymachine-p:~ # cat /dev/ttyS0 cat: /dev/ttyS0: Input/output error This happens on all the s
1 #1 2013-04-05 14:35:39 Hexorg Member Registered: 2009-02-23 Posts: 27 [Solved] Using serial port (can't start communication) Hello everyone. I'm trying to connect to a switch through a built-in to motherboard serial port using minicom. I have arch running on vanilla kernel. `zgrep -i https://bbs.archlinux.org/viewtopic.php?id=160908 serial /proc/config.gz` tells me that CONFIG_SERIAL_8250=y, but `dmesg | grep tty` shows only tty0 active. I can't see anything serial port related with neither lspci, lshw, nor lsusb.I do have /dev/ttyS[0-3] but if I try to cat http://www.tldp.org/HOWTO/Serial-HOWTO-16.html any of them it gives me input/output error. `setserial /dev/ttyS0` says "/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4". Setting uart to 8250 with setserial did not help :-\I also tried starting agetty@ttyS0.service, no luck either.It seems output error like it *should* work out-of-box. But I can't communicate with the switch :-\Can someone please help me get the serial port working?TL;DR:-> Hardware serial port-> Vanilla kernel-> `dmesg | grep tty` shows only tty0-> `setserial /dev/ttyS0` says "/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4"-> cat: /dev/ttyS0: Input/output error-> Minicom stays dark.-> Thanks for help! Last edited by Hexorg (2013-04-05 15:12:43) Offline #2 2013-04-05 15:12:08 Hexorg Member Registered: 2009-02-23 Posts: 27 Re: [Solved] Using serial input output error port (can't start communication) Nevermind... Someone had serial port disabled in BIOS... Offline #3 2013-04-05 15:12:38 ewaller Administrator From: Pasadena, CA Registered: 2009-07-13 Posts: 13,444 Re: [Solved] Using serial port (can't start communication) It looks like your system is expecting the serial port to exist on the old ISA bus. Most modern architectures use a LPC (Low Pin Count) bus to provide ISA bus services. The kernel sets up the four legacy MSDOS COM: ports of 0x3f8, 0x2f8, 0x3e8 and 0x02e8 sharing iqq's 3 and 4 and maps them to /dev/ttyS[[0-3]; regardless of whether there is really hardware there.The question is: How is your serial port actually implemented? Do you know for certain that it is implemented as an legacy ISA device ? (Even though the hardware layer may be on the LPC bus?). If it is, is this a BIOS machine? Are the ports enabled in BIOS, mapped to the addresses the Linux kernel expects? Any chance the serial ports are implemented on a USB or PCI bus interface instead?Edit: Too slow.... At least I was on the right path Last edited by ewaller (2013-04-05 15:13:12) Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradayYou assume people are rational and influenced by evidence. You must not
Serial Electrical Test Equipment Breakout Gadgets, etc. While a multimeter (used as a voltmeter) may be all that you need for just a few serial ports, simple special test equipment has been made for testing serial port lines. Some are called "breakout ... " where breakout means to break out conductors from a cable. These gadgets have a couple of connectors which connect to serial port connectors (either at the ends of serial cables or at the back of a PC). Some have test points for connecting a voltmeter. Others have LED lamps which light when certain modem control lines are asserted (turned on). The color of the light may indicate the polarity of the signal (positive or negative voltage). Still others have jumpers so that you can connect any wire to any wire. Some have switches. Radio Shack sells (in 2002) a "RS-232 Troubleshooter" (formerly called "RS-232 Line Tester") Cat. #276-1401. It checks TD, RD, CD, RTS, CTS, DTR, and DSR. A green light means on (+12 v) while red means off (-12 v). They also sell a "RS-232 Serial Jumper Box" Cat. #276-1403. This permits connecting the pins anyway you choose. Both these items are under the heading of "Peripheral hookup helpers". Unfortunately, they are not listed in the index to the printed catalog. They are on the same page as the D type connecters so look in the index under "Connectors, Computer, D-Sub". A store chain named "Active Components" may have them. Measuring voltages Any voltmeter or multimeter, even the cheapest that sells for about $10, should work fine. Trying to use other methods for checking voltage is tricky. Don't use a LED unless it has a series resistor to reduce the voltage across the LED. A 470 ohm resistor is used for a 20 ma LED (but not all LED's are 20 ma). The LED will only light for a certain polarity so you may test for + or - voltages. Does anyone make such a gadget for automotive circuit testing?? Logic probes may be damaged if you try to use them since the TTL voltages for which they are designed are only 5 volts. Trying to use a 12 V incandescent light bulb is not a good ide