08-02-2006
Strange Behavior on COM2
Hi,
I have a problem with a new touch screen controller that I am trying to use on a SCO 3.0 system. THe touch screen controller only wants to talk at 9600baud. I have updated /etc/inittab per the manual and also edited /usr/lib/event/devices to use 9600 baud.
The only way I can get the touchscreen to communicate is to plug a serial mouse into the COM2 port, then replace it with the touchscreen cable. The problem is, every time I reboot, the touch screen quits working. It is almost as if the mouse is forcing the COM port to 9600 baud, but the touch screen controller itself won't do that.
How is SCO configuring the port differently based on whether a mouse is plugged in or the touch screen controller?
Any advice would be appreciated,
Thanks,
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file called products.kp which contains, for example,
12345678,1^M
87654321,2^M
13579123,3
when I run the command
cat products.kp| sed -f kp.sed
where kp.sed contains
s,^M,,
I get the output
12345678,1
87654321,2
13579123,3 (5 Replies)
Discussion started by: Kevin Pryke
5 Replies
2. Shell Programming and Scripting
I have searched far and wide for an explanation for some odd behavior for output redirection and haven't come up with anything.
A co-worker was working on old scripts which have run for years and embedded in their code were output redirects which worked for the script during execution and then... (5 Replies)
Discussion started by: cahook
5 Replies
3. Shell Programming and Scripting
Dear guys;
when deleting repeated lines using nawk as below ;
Why the below syntax works?
nawk ' !a++' infile > outfile
and when using the other below syntax the nawk doesn't work?
nawk ' { !a++ } ' infile > outfile
or
nawk '
{
!a++
} ' infile > outfile
BR (4 Replies)
Discussion started by: ahmad.diab
4 Replies
4. Programming
I have the following program:
int main(int argc, char** argv){
unsigned long int mean=0;
for(int i=1;i<10;i++){
mean+=poisson(12);
cout<<mean<<endl;
}
cout<<"Sum of poisson: "<< mean;
return 0;
}
when I run it, I get the... (4 Replies)
Discussion started by: santiagorf
4 Replies
5. Ubuntu
It is so till login screen. I mean that when I boot my computer, Ubuntu shows a splash screen with mouse instead of Ubuntu logo and in the login screen it shows XUbuntu login screen... It began when I upgraded to previous kernel, I suppose, but I'm not sure... I can't say that it annoys me very... (6 Replies)
Discussion started by: Sapfeer
6 Replies
6. AIX
Hello together,
i have a strange memory behavior on a AIX 7.1 System, which i cannot explain.
The Filesystem-Cache will not be grow up and drops often after few minutes. I know if a file was deleted, that the same segment in the FS-Cache will also be cleared. But i am not sure if this is the... (8 Replies)
Discussion started by: -=XrAy=-
8 Replies
7. Shell Programming and Scripting
I am not sure what is wrong, but I have some strange behavior when printing things out.
I do create a file with only one word test, no space, no new line etc.
nano file<enter>
test<ctrl x>y<enter>
Server 1 gets (fail)
awk '{print "+"$0"*"}' file
*test
Server 2 gets (OK)
awk '{print... (9 Replies)
Discussion started by: Jotne
9 Replies
8. AIX
I am trying to create an archive using tar. I am specifying a list of directories using the -L option. For testing purposes I created a simple directory structure:
/backup/test
/backup/test/test1
/backup/test/test2
The file specified by the -L option, named files.txt, contains:... (8 Replies)
Discussion started by: judykstra
8 Replies
9. Shell Programming and Scripting
Hi All,
I am facing a strange problem while grepping for a process. Here is the small script that i have written.
It will look for any process running with the parameter passed to the script.
If no process is running it should print appropriate message.
$ cat t.ksh
#!/bin/ksh
set -x
... (9 Replies)
Discussion started by: veeresh_15
9 Replies
LEARN ABOUT PHP
inputattach
inputattach(1) General Commands Manual inputattach(1)
NAME
inputattach - attach a serial line to an input-layer device
SYNOPSIS
inputattach [--daemon] [--always] [--noinit] [--baud baud>] <mode> <device>
DESCRIPTION
inputattach attaches a serial line to an input-layer device via a line discipline.
Exactly one of the available modes must be specified on the command line.
OPTIONS
--daemon
Forks into the background.
--always
Ignore initialization failures when attaching the device.
--noinit
Skip device initialization.
--baud Specify the baud rate to use. (This is only necessary if the default rate is incorrect.)
Modes
-dump, --dump
Just enable device .
-elo3b, --elo261-280
ELO Touchscreen, 3-byte mode.
-elo4b, --elo271-140
ELO touchscreen, 4-byte mode.
-elo6b, --elo4002
ELO touchscreen, 6-byte mode.
-elo, --elotouch
ELO touchscreen, 10-byte mode.
-fjt, --fujitsu
Fujitsu serial touchscreen.
-ipaq, --h3600ts
Ipaq h3600 touchscreen.
-ifor, --iforce
I-Force joystick or wheel.
-ms3, --intellimouse
Microsoft IntelliMouse.
-lk, --lkkbd
DEC LK201 / LK401 keyboards.
-mag, --magellan
Magellan / SpaceMouse.
-bare, --microsoft
2-button Microsoft mouse.
-mmw, --mmwheel
Logitech mouse with 4-5 buttons or a wheel.
-mman, --mouseman
3-button Logitech / Genius mouse.
-msc, --mousesystems
3-button Mouse Systems mouse.
-ms, --mshack
3-button mouse in Microsoft mode.
-mtouch, --mtouch
MicroTouch (3M) touchscreen.
-newt, --newtonkbd
Newton keyboard.
-pm3k, --penmount3000
Penmount 3000 touchscreen.
-pm6k, --penmount6000
Penmount 6000 touchscreen.
-pmm1, --penmount6250
Penmount 6250 touchscreen.
-pm9k, --penmount9000
Penmount 9000 touchscreen.
-ps2ser, --ps2serkbd
PS/2 via serial keyboard.
-sbl, --spaceball
SpaceBall 2003 / 3003 / 4000 FLX.
-orb, --spaceorb
SpaceOrb 360 / SpaceBall Avenger.
-sting, --stinger
Gravis Stinger.
-ipaqkbd, --stowawaykbd
Stowaway keyboard.
-skb, --sunkbd
Sun Type 4 and Type 5 keyboards.
-sun, --sunmouse
3-button Sun mouse.
-taos, --taos-evm
TAOS evaluation module.
-tsc, --tsc
TSC-10/25/40 touch screen.
-t213, --touchit213
Sahara Touch-iT213 Tablet PC.
-tr, --touchright
Touchright serial touchscreen.
-tw, --touchwin
Touchwindow serial touchscreen.
-twidjoy, --twiddler-joy
Handykey Twiddler used as a joystick.
-twid, --twiddler
Handykey Twiddler chording keyboard.
-vs, --vsxxx-aa
DEC VSXXX-AA / VSXXX-GA mouse and VSXXX-A tablet.
-w8001, --w8001
Wacom W8001 pen and/or touch devices. The default baud rate, 38400bps, allows for touch-only or pen and touch devices; for pen-only
devices, "--baud 19200" must be specified.
-war, --warrior
WingMan Warrior.
-zhen, --zhen-hua
Zhen Hua 5-byte protocol.
AUTHORS
inputattach was written by Vojtech Pavlik and Arndt Schoenewald, and improved by many others; see the linuxconsole tools documentation for
details.
This manual page was written by Stephen Kitt <steve@sk2.org>, for the Debian GNU/Linux system (but may be used by others).
inputattach August 9, 2011 inputattach(1)