Debian Hardware :: Serial Port I/O Error On Intel NUC With Wheezy
Mar 23, 2015
I have a problem getting Serial Port working on INTEL NUC DE3815TYBE. I have Debian Wheezy installed with kernel 3.16.0-0.bpo.4-amd64.
When I do :
Code: Select allsetserial -g /dev/ttyS*
I get:
Code: Select all/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x0000, IRQ: 19
/dev/ttyS2, UART: 16550A, Port: 0x0000, IRQ: 19
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
I can connect to ttyS0 - ttyS2 without any problem but ttyS3 is not working and I am getting this error:
I call command:
Code: Select allstty -F /dev/ttyS3 9600 cs8 cread clocal
I get:
Code: Select allstty: /dev/ttyS3: Input/output error
I am running the commands as ROOT. I also tried: setserial /dev/ttyS3 irq 3 uart 16550A skip_test but I am getting the same stty: /dev/ttyS3: Input/output error
Output of:
Code: Select alldmesg | grep tty
Code: Select all[ 0.000000] console [tty0] enabled
[ 0.952559] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.953593] 0000:00:1e.3: ttyS1 at MMIO 0xd0810000 (irq = 19, base_baud = 2764800) is a 16550A
[ 0.954072] 0000:00:1e.4: ttyS2 at MMIO 0xd080e000 (irq = 19, base_baud = 2764800) is a 16550A
[ 27.740208] ttyS2 - failed to request DMA
[Code] .....
lsof /dev/ttyS3 doesn't return anything so it means there is nothing connected to ttyS3 I guess but I am not very skilled with linux so I might be mistaken
Why I can see 4 ttyS* in my Linux but physically I have only 2 physical Serial Ports on the board?
View 2 Replies
ADVERTISEMENT
Apr 16, 2011
I have an Acer Aspire TimelineX 4820TG. I'm running Wheezy and I can't seem to get switcheroo working correctly. I was running Squeeze, then upgraded to Wheezy because it had a kernel over 2.6.33 with switcheroo built in. Below is the layout of my build...
(~)$ uname -a
Linux skipjack-debian 2.6.38-2-686 #1 SMP Thu Apr 7 05:24:21 UTC 2011 i686 GNU/Linux
(~)$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5600 Series]
[code]....
View 5 Replies
View Related
Jul 31, 2013
I just bought a new server with one of the most recent v3 Intel processors (socket LGA1150). The board (Supermicro X10SLM-F) uses the new Intel NICs (i217LM + i210AT), not supported by the current Debian stable release. Hence, the ethernet adapter is not recognized during the installation process.
I would like to be able to install something as close to stable as possible in a production server such as this one.
View 12 Replies
View Related
Mar 7, 2014
I tried to install the latest stable version of Debian (download yesterday : Debian Wheezy 7.4.0) on my new computer Fujitsu Celsius W530.The version installed is exactly this one (given by the commande "uname -a") :
PCNAME 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
=> A Debian Wheezy 64 bit
I have a problem with the Intel ethernet card : I217-LM (the model was verified on the Fujitsu specifications and also on the Windows 8 I use on another partition).During the install procedure, Debian did not find the ethernet card.I continued the install without it and after I tried to make it found.I got a Linux driver in the Intel Web Site but I saw after that Debian loaded yet this driver (e1000e), so I did not install the driver from Intel (I needed to get linux-headers and to compil the files).
So when I force the system to load the driver, it gives no error but the device is still not found when I try to bringup the network interface.URL...
- understand why I see the Device (with "lspci" command) and the module "e1000e" (I tried also the "e1000" one) loaded with "lsmod" command ?
- make the card work to allow my debian for connecting to internet ?
Here some commands which can show you the problem :
Code: Select all~# lsmod | grep e1000
e1000e 120822 0
root@PC-DEV-JB-debian:~# ll /lib/modules/3.2.0-4-amd64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
-rw-r--r-- 1 root root 184K févr. 2 02:04 /lib/modules/3.2.0-4-amd64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
[code]....
View 5 Replies
View Related
Jan 13, 2010
I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0
in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but
cat < /dev/ttyS0. just prints out weird characters from what I type.
View 3 Replies
View Related
Mar 23, 2010
We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?
View 3 Replies
View Related
Jan 13, 2010
I recently purchased a new PCI to Serial card to get 2 serial ports so I can connect my external serial modem and operate hylafax. The machine that I placed this card is a Debian 2.6.26-19lenny2 which is operating just fine. Further more the motherboard is ASUS P5QL-CM. I have managed to place the pci card on an available slot and powered on. I then tried to follow the instructions that the supplier of the card had regarding installation of drivers and this is what I get:
First they asked to untar the contents and make clean. the result is :
debiansrv:/temp/golden# make clean
cd driver;
make clean
make[1]: Entering directory `/temp/golden/driver'
rm -f *~
rm -f *.o
[Code]....
View 4 Replies
View Related
Jan 14, 2015
Basically I'm intending to write serial RX signal handler.Application receives defined packages of data over serial which contains header and payload. Handler should analyse incoming stream and upon detection of header (header is 6B in length) switches to receive payload of length defined in header, then after receiving full message packs it and sends to application for handling.Problem I'm facing is that at random moments in signal I receive errors that "Resource temporarily unavailable" while reading from ttyOx device and I see that sometimes I miss incoming data.Also is it possible that if while I'm handling signal one more signal arrives and it is started to be handled parallel? If it is, what are the ways to prevent it? So I would be sure that no more signals will fire on same peripheral until I will finish handling what I have on my hands now.
Serial open and init:
Code: Select allint open_port(int port_nr) {
int fd; /* File descriptor for the port */
switch (port_nr) {
case 1:
fd = open("/dev/ttyO1", O_RDWR | O_NOCTTY | O_NDELAY);
break;
[code]....
View 5 Replies
View Related
Jun 23, 2014
I am a ham radio operator and I want to use my computer to run "RTTY", "PSK31", and other digital modes. Therefore I have to be able to configure the serial port.
I only have the onboard port (ttyS0).
I can get info about the port by using "$ dmesg | grep tty"
Code: Select alldebian@melsdeb:~$ dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.533804] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.534337] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
But when I try to use "setserial" by itself or with any parameters I get this...
Code: Select alldebian@melsdeb:~$ setserial -g /dev/ttyS0
bash: setserial: command not found
Even "man setserial" gives the same result.
I am using Debian 6
View 2 Replies
View Related
Jul 6, 2010
I am implementing a simple serial protocol where my ARM9 board, running Linux is communicating to a slave peripheral board. The Master sends a 12 byte data stream and the peripheral board returns status in a 23 byte response. The serial port is opened in raw mode. It works perfectly on 44 reads; however, on the 45 read the data returned from the read() is incorrect. I've framed what's being sent on an oscope and it is correct.The coincidence is that 23 x 44 = 1012. It's as though the receive buffer is 1K and when I go past the boundary I get bad data. The read following the bad one is good again.I've tried flushing the buffer before reading but get the same result.Here's the port initialization code:
Code:
int initport(int fd)
{
[code]...
View 4 Replies
View Related
May 10, 2010
I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.
[Code].....
View 9 Replies
View Related
Jan 7, 2016
I try to update the packages before upgrade to wheezy,looks like when I run apt-get update,it shows error as per below:
W: GPG error: http://fosiki.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379393E0AAEE96F6
rat:~# apt-key adv --keyserver keyserver.fosiki.com --recv-keys 379393E0AAEE96F6
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --
[code]....
View 9 Replies
View Related
Feb 5, 2010
I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows
fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);
View 3 Replies
View Related
Aug 22, 2014
Installed Wheezy. Audio players either stop with an error message about no sound, or they quietly play silence. Tried with gui and comand-line versions.
Mucking about with lspci indicates that I have two sound cards. News to me. I try "lspci | grep -i audio" and get
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 04)
View 9 Replies
View Related
Oct 9, 2015
I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.
Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....
This info is a work around to get the xserver to see the touchscreen. [URL] ....
I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......
There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.
Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.
View 1 Replies
View Related
Mar 25, 2010
Can anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc
View 7 Replies
View Related
Jan 19, 2011
i would like to connect to my cisco via a console port and i dont konw how
View 13 Replies
View Related
Apr 14, 2010
I have a laptop which has only one serial port.
I went into:
How do I know which of those "ttyS" refers to my serial port?
View 2 Replies
View Related
Apr 27, 2011
ive been looking through several online documents and forum posts but i cant get a clearcut answer on how to set up serial port acces in ubuntu 10.04 (server).
View 7 Replies
View Related
Aug 12, 2010
I have two usb2serial adapters connected to my PC with a null modem (I am doing some testing to learn serial comm for a particular application). I am writing to /dev/ttyUSB0 a trying to read /dev/ttyUSB1. I have used screen (screen /dev/ttyUSB1 115200) and am able to see the characters being written. I am also able to read and write with Python with the following code
Code: import serial,time,sys
ser1 = serial.Serial('/dev/ttyUSB0',baudrate=115200)
ser2 = serial.Serial('/dev/ttyUSB1',timeout=2,baudrate=115200)
ser1.open()
ser2.open()
[Code]....
View 3 Replies
View Related
Feb 6, 2010
How do I get syslog using serial port?
View 2 Replies
View Related
Jul 11, 2011
I can't communicate with and UPS (Eaton) via a serial port. The serial port is UP and have been tested under a Windows OS.I have set up the communication parameters and tried to establish a dialog with the UPS. Minicom is installed. Nothing appears ont the screen and the VT102 has an offline status. The OS is Red Hat Enterprise Linux 5 64bits.Is somebody have examples to debug the serial port ?
View 7 Replies
View Related
Jan 25, 2011
I need cause an interrupt on a serial port. If I put a single HIGH on the RX pin, will that cause one? I all ready use the 4 control lines for data.Hope I am making sense?
View 5 Replies
View Related
Apr 14, 2009
I need a to add a usb serial port adapter. Are they all basically the same? Do I need to find a Linux compatibility list before I go shopping?
View 1 Replies
View Related
Apr 27, 2010
I want to implement the following scenario :-[workstation1] <--ETHERNET-->[device 1]<--SERIAL-->[device 2]<--ETHERNET-->[workstation2]In short, a LAN over Serial link (RS-232 for instance).If there is a utility that offers such functionality, kindly give me the name, i've googled a bit, and found ser2net, but that only works with TELNETing.. i want it work like a normal LAN like file-sharing n all but over Serial.If there is no such software, then obv i have to program myself. regarding which i have more questions
View 9 Replies
View Related
Apr 15, 2010
can we use inb() and outb() functions for serial port programming ??
View 5 Replies
View Related
May 25, 2011
I'm not a developer or programmer just a user.I'm trying to install a packet radio system using Linux. The TNC is a Kantronics KPC3.The issue I'm having is the communications programs I have tried (minicom and cutecom) do not talk to the TNC. I'm using a computer that has a serial port and it is enabled in the BIOS.I have added myself to the uucp group in an effort resolve this issue.
View 6 Replies
View Related
Mar 23, 2009
I communication with different subsystems using serial port. In some subsystems after running for a while, I start getting invalid data inspite of system sending correct data. For dealing with this situation I used to
reset serial ports by closing and reopening serial port, it was doing the trick but somehow when I have implemented this in my new application, this also doesn't work.
void CPort::
The ClosePort function invokes close system call.
some other way to reset serial port in Linux? I am using RHEL 4, C++ and Qt 4.2.1 for my application development. Also I have used multithreading to implement each subsystem in a separate thread. Its strange that if A,B,C are three threads, A & B run fine together but when C is introduced B starts receiving invalid data after sometime and never recovers even after resetting the port as mentioned above.
View 4 Replies
View Related
Jan 13, 2010
I dot know why my serial port(minicom) is getting hang after some time. again i have to close the terminal and i have to open an new minicom to use my serial port. I dont know why it is getting hang. Please can anuone tell me why it is happening?
View 6 Replies
View Related
Sep 1, 2010
I'm using C serial in a program to open and use a serial port but the port won't open for one reason or another. The program successfully runs on a different computer and when using RealTerm: Serial Capture Program, I can connect through the serial port with the same settings as I'm attempting through my c code. Anyone have any idea why it might be failing? I know this is still pretty vague, so let me know if there's other things I can tell you that might help to finding a solution
View 3 Replies
View Related