OpenSUSE :: Set RxtxSerial - Java App Has Access To A Serial Port (via SiLabs CP210x Driver, Port /dev/ttyUSB0)
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
ADVERTISEMENT
Feb 4, 2011
My gentoo laptop doesn't have a serial port, so I got a usb-serial (RS-232) adapter from ebay. However when I plug it in, the only thing dmesg mentiones is: Code:usb 5-1: new full speed USB device using uhci_hcd and address 2I've tried to look for a kernel driver in "make menuconfig" by pressing "/" and typing 232. Nothing about RS-232. Device Drivers -> Character drivers -> Serial drivers has 8250 and UART as a module. Device Drivers -> USB support -> USB serial converter support has in-kernel: USB generic serial driver, and FTDI Single port driver as a module, but it still isn't getting recognized.Is there some module i forgot to enable, or do i have to download a separate module from somewhere?
View 5 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
May 24, 2010
My program tries to open serial port on Fedora 12, and shows "Access denied" on Open Port operation. The same program runs successfully with root rights. What can I do to get COM port access as regular user?
View 2 Replies
View Related
Aug 16, 2010
was wondering if there is an alternative method to using udev rules in order to get access to the USB serial ports. Is there a command to check the names and give them to you? I'm looking for something along the lines of "ttyUSB".
View 3 Replies
View Related
Jan 16, 2011
I'm developing a serial port application under Lazarus using the SunaSer code library.
The application reports an error indicating that "the Port is opened by another process".
What command can I execute in a Terminal session to determine what process has the USB-serial port open?
View 4 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
Apr 4, 2011
I have openSuse 11.1 and have just added a new serial port card. Do I need to do something to get the card going? My application doesn't seem to be getting data from the serial card. How would I test status. Do I use setserial .
View 9 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 23, 2010
I have cloned an embedded system that runs Opensuse 11 x86 using dd. The embedded system uses a simple serial device, by writing to the relevant device file (/dev/ttyS2, usually). Curiously, when I write to the same serial device on the newly cloned system (which, incidentally, has almost identical hardware), thusly:
echo hello > /dev/ttyS2 the command blocks for up to a minute, before finally returning without making the hardware do anything. I can boot into Opensuse's rescue system on the clone and successfully do exactly the same thing, as I can when I boot the original's "identical" operating system. Why might this problem occur? What can I do about it?
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
Feb 27, 2009
I want to install a TUSB3410 USb to serial port device on suse 10.3.
View 1 Replies
View Related
Aug 23, 2010
how to access networking port and run scripts on that port so as to gain access of remote machine.is that possible through command prompt or through software.
i kno ip address of my frnd who is chattin with me .okay.i want to run an application on his computer .i came to kno tht we can run script o through port
View 2 Replies
View Related
Feb 18, 2010
I want to do a simple port redirect, i.e. whatever comes trough whatever interface on port AAAA will get redirected to port BBBBI thought that iptables -t nat -I PREROUTING --source 0/0 --destination 0/0 -p tcp --dport AAAA -j REDIRECT --to-ports BBBBhowever it doesn't work, e.g. nc -v -w2 -z localhost AAAA gives:
nc: connect to localhost port AAAA (tcp) failed: Connection refused
while
nc -v -w2 -z localhost BBBB
[code]....
View 10 Replies
View Related
May 24, 2011
the message from dmesg for the IrDA device:
[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200
[ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[code]...
View 1 Replies
View Related
Apr 9, 2010
I need to install a driver for a CP2101 USB/Serial device. I read somewhere that it's part of the kernel and was hoping I could download and automatically install it. I found this page:
/var/www/html/linux/RPM/opensuse/11.2/x86_64/lib_modules_2.6.31.5-0.1-trace_kernel_drivers_usb_serial_Tree.html
Which gave me great hope, but I have absolutely no clue what it means or what to do with it.
Anyway, I was hoping someone could tell me how to install this driver. Very new to Linux and trying to avoid compiling if possible... lost in the woods very quickly.
If compiling is the answer, then I need help there too. I downloaded the Linux driver kit from Silicon Labs web site, followed the installation instructions, ran into an error and quickly bailed. The error is:
LD/cp210x-3.0.0 M=/var/tmp/silabs/rpmbuild/BUILD/cp210x-3.0.0 modules make: *** /lib/modules/2.6.31.12-0.2-desktop/build: No such file or directory.
Which makes sense in that there isn't a /lib/modules/2.6.31.12-0.2-desktop/build directory but didn't help much with the driver install.
linux-nsxk:/usr/src/cp210x-3.0.0 # ./makerpm
++ uname -r
+ kernel_release=2.6.31.12-0.2-desktop
++ pwd
[Code].....
View 1 Replies
View Related
Apr 7, 2011
In SuSE firewall0. I do have a openSuse 11.4 and multiple IP addresses on eth0 interface
I run (trying to/have to) multiple TOMCAT servers.
I am trying to have each tomcat instance listen to on separate IP address for example:
What i am trying to do is to redirect
a) tomcat 1 -
a) tomcat 2 -
And so on.
I know that it has to be possible.
I do have just eth0/
Is is it possible. Do I have to create "vittual interfaces"? eth0:1, .......... and do redirection ?
"Server" has got just single interface - just 1 ethernet calbe goes to that server. I am planning to have 10-15 tomcat's on that server (I have to unfortunatley) and each has to run on port 80
Is it possible to "grant" permissions to normal users to run app on port 80 - that would solve me lots of problems if impossible to redirect.
I tried to setcap 'cap_net_bind_service=+ep' /path/to/tomcat ...... but no luck
View 7 Replies
View Related
May 2, 2010
I have a mail server i need it to send message via port 587 not port 25, i make some changes to my postfix server which i use and it is already successed making a telnet to 587 port like it :
[Code]....
View 3 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
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