Debian Hardware :: How To Get Old Serial-touchscreen To Work With USB / Serial Adapter
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
ADVERTISEMENT
May 29, 2010
i need a usb to rs-232 converter to get into the console port i have an aten uc-232a converter and i have downloaded a .gz file called uplcom.4freebsd.gz i have unpacked it but i do not know what to do from here could some one please help i need to do some practice for the external icnd 2 exam and i have left it to the last minute as per usual.
View 2 Replies
View Related
Jul 13, 2015
I tried connecting my Debian laptop to a vintage Apple //e using a Super Serial Card on the Apple side and a USB to serial adapter on the laptop side. It kind of works -- I can send data over to the Apple using e.g. echo "foobar" > /dev/ttyUSB0 or via minicom --, but every 20 seconds (quite exactly!) some 4 random characters appear on the Apple's screen (mostly tildes, sometimes a pipe). This does *not* happen when booting the laptop into Debian rescue mode; so I guess it must be some (daemon?) process messing around with the usb serial device in regular intervals.
I tried to disable quite some services, but the problem remains.I don't have any clue how I might catch the evil-doer in the act -- virtually all serial monitors I've so far read about allow only monitoring the interaction of a known program/process with a serial port. But in this case I first have to actually find out which process is talking to the serial port in the first place.
View 4 Replies
View Related
Sep 22, 2010
Now that the xorg.conf file seems to be a thing of the past, where do I put my serverlayout commands etc in order to get the serial touchscreen working? It responds to touchcal but doesn't work in normal use, so I presume it just needs X to be forced into loading it at startup.
View 2 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
Feb 21, 2009
On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)
[Code]....
View 17 Replies
View Related
Jun 21, 2011
I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.
View 2 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
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
Mar 8, 2011
I am using a Sealink PN 2202 USB serial adapter on a linux box (Ubuntu 10.4) running kernel 2.6.32-28-generic. I have written a perl script to simply log the incoming RS232 data (9600 8N2) and it works fine when I start it from a bash shell:
perl /home/pk/PerlCode/RS232_D4_v11.pl
However, I need the computer to boot and start logging after a POR. If I try to use Startup Manager to execute my script everything seems ok but I randomly loose about 20% of the incoming RS232 data. In Startup Manager I use the command
gnome-terminal --title="D4 RS232 Log" --execute bash -c "perl
/home/pk/PerlCode/RS232_D4_v11.pl"
If I close the automatically-started script and restart it from a bash shell, I again will randomly loose about 20% of the incoming RS232 data. It almost seems like I have screwed up the driver by using the Startup Manager. The only way I can get reliable logging again is to remove the script from Startup Manager, then restart the computer and manually launch the perl script. I was thinking that maybe the order in which the driver was loaded and perl script started might be an issue. So I tried a bash script that sleeps for 15seconds, then starts the perl script. Again, I loose random pieces of incoming data when this is initiated by Startup Manager.
Here is some more info:
lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0c52:2223 Sealevel Systems, Inc.
Bus 002 Device 003: ID 0c52:2213 Sealevel Systems, Inc.
Bus 002 Device 002: ID 03eb:3301 Atmel Corp. at43301 4-Port Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub .....
sudo cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
0: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0c52
product:2213 num_ports:1 port:1 path:usb-0000:00:1d.0-2.1
1: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0c52
product:2223 num_ports:1 port:1 path:usb-0000:00:1d.0-2.2
ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
I am a member of the group dialout.
I though it may have something to do with su vs my ownership of files. If I do a sudo chmod 777 /dev/ttyUSB* then
ls -al /dev/ttyUSB*
crwxrwxrwx 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crwxrwxrwx 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
However, after rebooting it reverts to
ls -al /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 2011-03-08 09:56 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 2011-03-08 09:56 /dev/ttyUSB1
View 1 Replies
View Related
Aug 4, 2010
Im a very basic Linux/ Centos user. I have Putty installed and a USB to serial adapter. All settings seem to be right as far as speed, etc, but I'm not sure how to list the device to open for the program. The default location it gives is "/dev/ttyS0" Trying to find where the USB is located using the "/sbin/lsusb" command gives me-
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial Port [pl2303]
Bus 004 Device 001: ID 0000:0000
So I think this means that it is on bus 4 correct? So how do I list this for putty to open the device.
View 13 Replies
View Related
Mar 3, 2011
I need to do some serial comms work and need an equivalent to hyper terminal on Debian. Does it exist?
View 3 Replies
View Related
Dec 16, 2010
I picked up as Dynex usb2serial converter to use with my cisco router/switch. The dongle works fine if plugged into a windows box & puTTy, but I cannot get it to work with Fedora 14. When I try to use cute, mini or command line it tells me it cannot open the connection. Here is the output from lsusb and dmesg. susb output:
[code]....
View 1 Replies
View Related
Jul 21, 2010
I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.
Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock
Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.
View 7 Replies
View Related
Feb 4, 2010
Does an have Mocship MCS9901 adapter in use. I cannot even install driver. Is ti the PC adapter between since this is express card. What to do?.
make[1]: *** [_module_/home/Xx_Xxx/Desktop/MCS9901_Linux/version1.6/starex] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.3.fc12.i686'
make: *** [default] Error 2
View 3 Replies
View Related
Oct 1, 2010
I am using a Prolific pl2303 USB<=>Serial adapter. dmesg reports everything seems ok when I plug it in (see below) but when I open the ttyUSB0 port in minicom, it is always offline and nothing works. Also, minicom reports:
[code]....
If I plug the adapter into a different machine (Windows) everything works fine. The serial port is setup correctly (9600-8-N-1) What can I do to get this working?
usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #1 chosen from 1 choice
pl2303 5-2:1.0: pl2303 converter detected
usb 5-2: pl2303 converter now attached to ttyUSB0
usb 5-2: New USB device found, idVendor=067b, idProduct=2303
[Code]....
View 1 Replies
View Related
May 2, 2010
I tried my COM mouse KM-203S on Windows, it works out of the box. Now i want to make it work on linux. But the problem is that mdetect doesn't recognize it, and whatever protocol i select in inputattach, the cursor jumps unpredictably when i move the mouse. How can i get the parameters for this mouse - maybe baudrate, etc.? Or maybe i'm doing something totally wrong?Here's mdetect output (i moved the mouse while mdetect was working) on 300 8N1 mode (set by minicom):
Code:
Found the following devices:
/dev/ttyS1
[code]...
View 1 Replies
View Related
Jul 12, 2010
I installed ubuntu on a relative's computer but on the last moment, before the "restarting now" the screen began to spam this message. After this everytime the system logs on after 3~10 seconds the graphic interface freezes, so i entered the TTY1 before that, but again the message "serial8250 too much work for irq19" began to spam and obviously this is the cause of the problem
info:
pentium dual core
2GB ram
HDD 300GB
ubuntu 10.04 32-bits
what is thiis and how to fix it??
View 4 Replies
View Related
Aug 24, 2010
I had a web server running from a Windows 7 computer and recently moved everything to an Ubuntu server. All is set up and running smoothly. I do have one page that actually interfaces with the serial port. The only thing I do with it is to set the DTR pin to "true" which applies +12v to the pin. This activates a relay. It is very basic and simple. After moving everything to Linux, this page will no longer work. I knew this would happen. I know the page had code in it to call out "Com1" which would change to "ttyS0". It also had "set_serDTR(True);" in the code. I can't figure out how to get PHP to control the DTR pin on a Linux serial port.
View 10 Replies
View Related
Apr 16, 2009
I configured the serial consol on centos5 as follows
# dmesg |grep tty
Kernel command line: ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,9600n8
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A[code]......
But I could not consol Centos server from my labtop (win xp) Is there missing or wrong configurations ?
View 3 Replies
View Related
Jan 16, 2010
Label on card: "I-440 PCI 4S1P IO Card"
Code:
# lspci -v
...
[code].....
View 3 Replies
View Related
May 18, 2010
I add one serical card which is extended to 4 serial ports to my host, but in centos 5.4, only 3 (In my machine, is ttyS1, ttyS2 and ttyS3,ttyS0 is another serial port) of my host can be used, and /dev/ttyS4 doesn't work.
$ sudo cat /dev/ttyS4
cat: /dev/ttyS4: No such device or address
The card info is as follows:
Host> lspci -vvv
03:01.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Uart) (prog-if 06 [16950])
Subsystem: AFAVLAB Technology Inc Unknown device 2150
[code]....
View 3 Replies
View Related
Jul 30, 2009
I was using V9 and upgrade to V10 and now my logins in my inittab do not work. I realize that is file structure is outdated so I made individual run files for each of my serial devices under event.d ( such as TX0000 - rc....etc) - all this works but i need to manual type initctl start TX000o to get logon for my serial devices. I would so much like them to automatically start on bootup.
View 3 Replies
View Related
Aug 21, 2015
I have a dell poweredge server. In the bios, it has the option to redirect the screen to the serial port. There is also the check box "redirection after boot" which from what I understand will let me to continue to use the serial port attached to a terminal as if it was the main VGA monitor with a keyboard attached.
When I start the machine up, everything goes as expected, I see the output from the bios on my serial terminal, until debian actually starts booting. It all goes blank. If i attach a monitor i can see it is indeed booted and waiting at the debian login prompt. What should I do from here? I was under the impression that if i enabled "console redirection after boot" that the os would be none the wiser and i could continue using the serial console as the main screen as needed, but that does not seem to be the case.
View 2 Replies
View Related
Feb 7, 2010
I have been tol that for debugging purposes it is often useful to have a serial connection to a computer. I have some diskless workstations thats freezes during boot. I guess X has someting to do with this, but I'm not sure. Since the workstations are diskless, syslog is not stored locally so I cant se what is happening after the NiC stops working. When the worstation freezes, screen is going black, all lights on the keyboard turns on, lights on NiC is going black. It is not possible to ping the workstation.
View 1 Replies
View Related
Jun 10, 2013
I need a way to use serial input such as through an Arduino in Debian scripts, in any usable language.
View 2 Replies
View Related
Mar 3, 2010
I have a very old Pentium 3 that don`t have USB or PS2 suport.
I need to configure a serial mouse.
I did it on debian etch editing xorg.conf. I chage the mouse protocol to "Microsoft" and it works normaly.
But on squeeze it does not exist!
How can I configure it?
View 13 Replies
View Related
Aug 21, 2015
I recently got a pile of DEC equipment, and along with it came with a large DEC LP11 drum printer. I have yet to get the old system they were attached to up and running, I want to try to get the printer up and running under a modern linux install. The printer is a LP11 and attaches via serial. The most simple way to me seems to be via LPD, but Im not sure on how to proceed.
View 1 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