Ubuntu :: USB Serial Adapter Unreliable On Startup

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


ADVERTISEMENT

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 View Related

Fedora X86/64bit :: Startup Freeze - Unreliable CPM Thermal Sensor

May 13, 2011

My F-14 x64 bootup stalls with this message: "K10 temp ... unreliable CPU thermal sensor: monitoring disabled". I'm unable to find an explanation/basis for this message. I can boot from CD#1 and chroot onto the disk - near as I can tell, all the data is there. Might this be the result of a corrupt boot up sequence file and, if so, which one(s)?

View 3 Replies View Related

Ubuntu :: Getting A Usb To Serial Adapter To Work

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

Hardware :: Usb To Serial Port Adapter?

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

CentOS 5 :: Cannot Open Putty With USB To Serial Adapter

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

Fedora Hardware - Dynex USB Serial Adapter Not Working

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

OpenSUSE :: 11.3 Minicom Permission Denied With Usb Serial Adapter?

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

Fedora Hardware :: Serial Port Adapter - Cannot Install Drivers

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

Debian Hardware :: USB Serial Adapter Spontaneously Emitting Data Every 20 Secs

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

OpenSUSE Hardware - Pl2303 Serial - USB Adapter Not Working - Minicom Reports Offline

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

Debian Hardware :: Cut Power To WiFi Adapter On Startup?

Aug 26, 2015

I dual-boot Jessie with Windows 10, and I recently guessed that the 'fast boot' (hibernate on shutdown) feature of Windows doesn't properly shut down the RTL8188EU NIC plugged into my PC. So when I boot into Debian, it isn't properly recognised by the driver and I have to completely shut down the PC to make it work.

Is there a way to automatically cut the power to the wireless NIC on startup and then reenable it so I don't have to do this?

View 3 Replies View Related

Fedora Networking :: Wireless Adapter Not Working At Startup - Works Fine After Opening Settings

Oct 1, 2009

This is my startup routine:

I log on and Network Manager shows no wireless adapter.

I go to System > Administration > Network:

There are two entries in the Devices tab: Wireless and Ethernet

As soon as I double click the Wireless device and the configuration pops up, the device starts working (no changes to the settings are made)

I have the following set to ON:
- Controlled by Network Manager
- Activate device when computer starts
- Allow all users to enable and disable this device

View 7 Replies View Related

Ubuntu :: Serial MIDI - Doesn't See Any Serial Ports?

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

General :: Windows With Putty Via USB Serial Cable To Serial Port - Output Ok, Input Isn't?

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

CentOS 5 Hardware :: NetMOS PCI 9835 Dual Serial Card - Can't Use The Serial Ports

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

Software :: Connect A Serial Cable To The Serial Port?

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

Ubuntu :: HDMI Sound Is Unreliable?

Feb 8, 2011

I'm using an HDMI connection, and the sound connection is unreliable at best. When it works, it is working fine, then all of a sudden (maybe because it isn't being actively used for an extended period of time)the sound connection vanishes. When at System --> Preferences --> Sound --> Output I'm not seeing any option for the HDMI connection currently and the sound is not working. All the volumes are unmuted and I cannot use a softphone nor .....,nor do videos that I have watched in the past with sound have any.

Last night when this happened, I rebooted and the sound was working just fine then. In the past, I was able to get the computer to recognize the HDMI connection has sound by momentarily unplugging it, then plugging it back in. Though both last night and today that hasn't worked.When I bought my computer, I had Windows 7 installed on it. The same thing was happening then, though it was always fixed via disconnecting the HDMI connection briefly, so there is the possibility of it being a hard ware issue.

I've also tried turning off the device (a HDTV in this case) and turning it back on, but that only solved it once or twice, and neither last night nor today.This is also a 64 bit computer, should that be relevant. Using Ubuntu 10.10, and the only available update to my system at the moment is Google Chrome, which I will be updating after this post.I will be restarting my computer after that update and posting back here if the sound is working, especially with note of whats listed at the System --> Preferences --> Sound --> Output if there are any additional options (from memory, there was an HDMI choice there).

View 4 Replies View Related

Ubuntu :: Printing From OpenOffice Is Unreliable

Jul 10, 2011

In general, OpenOffice is quite buggy. My latest problem has been printing. I have this .dot file. When I print it to a networked printer, the document never prints. However, these work:Print to PDF. Printing to a file, transferring the file to the destination machine, and printing it works. Transfer the document. If I print the document directly on the destination system using LibreOffice, it works fine. Printing a web page. This works fine. Since I have a workaround, it's not so crucial that this be fixed. I'm just venting .

View 2 Replies View Related

OpenSUSE :: Mousedown Is Unreliable, KDE 4.4?

Nov 8, 2010

When dragging, or holding the mouse down in general the mouse tends to 'let go'. In some situations the mouse grabs *through* the window. For example, I may be scrolling in okular and suddenly find myself dragging an item in the browser below. The behavior is independent of the application (it may fall through Dolphin onto Okular just as easily). Highlighting text is the worst performing... It usually takes two to three goes to get the right range. Is this a known issue? Known solution?

OS Information
OS: Linux 2.6.34.7-0.5-desktop x86_64
Current user:
System: openSUSE 11.3 (x86_64)
KDE: 4.5.3 (KDE 4.5.3) "release 8"

[Code]...

View 4 Replies View Related

Ubuntu :: 9.10 - Nautilus Copying MP3 To USB Memory Stick Unreliable?

Nov 1, 2010

I can't copy MP3 files to any USB memory stick with nautilus anymore. The MP3 files 'stutter' or jumps to the next song in any music player or the copied folders are just empty. The copies are more 'reliable' when I copy album after album instead of a bulk copy of lets say 10 albums. I tested several sticks and even formatted them.

View 3 Replies View Related

Ubuntu Networking :: Unreliable Broadcom BCM43224 Wireless?

Jun 13, 2011

I'm having all sorts of problems with my wireless connections in an HP Pavilion DM1. I'm sure it was working last week. I have two access points, one with WPA, one unsecured. It's not working with either. I can connect to both of them fine with a wifi USB adapter.

I've tried:
Using Wicd instead of networkmanager
Using the proprietary driver
Installing the linux-firmware package from Oneric (version 1.54)
Changing the frequencies the AP runs on

[Code]...

View 3 Replies View Related

Ubuntu Multimedia :: Xorg.conf Not Setting Res And Xrandr Unreliable

Jan 6, 2010

I am setting up a display system that will not have a keyboard/mouse and automatically boots into gnome and starts up firefox to a display page. The page is optimized to a 720p resolution which I can set when we use a TV for the display, but is not an option if we use a monitor. I am trying to find a way to set the resolution to 720p automatically on boot up. I am always using 16x9 displays with a DVI connection (to HDMI on TVs)

I was able to get one monitor working by creating a script and setting it to load in the Startup Applications as shown:

Code:
#!/bin/bash
scnres="1280 720 60"
modeline=$(cvt -v $scnres | grep Modeline)
modeline=${modeline#Modeline }

[Code]....

View 2 Replies View Related

OpenSUSE Install :: Unreliable Boot With Hdmi Out?

Jul 28, 2011

I have a TV connected to my 11.4 laptop all the time, when I boot Grub outputs its options on the TV screen, then lizard appears for a couple of seconds and then it switches to notebook monitor to continue booting. Or not. About half the time both screens, TV and notebook, go black and nothing happens.

So far I just reboot and wait until the switch from tv to monitor is successful, if that happens everything boots and loads fine. It's like unwatched milk - everything is okay until the moment you turn away and the milk boils over. Boot hardly ever fails if I sit and watch it but sometimes I get two fails in a row.

Never seen this behavior with 11.3 on the same notebook with the same hdmi always plugged in.It's a Core i5 with integrated Intel and a separate nVidia graphic card, what other info is needed? Grub? Dmesg output? Maybe there's a boot log file somewhere, too.

View 9 Replies View Related

Networking :: Wireless Connection Slow And Unreliable?

Sep 19, 2010

I just got a wireless card and I've been having connection issues under Linux. The chipset I have is a Ralink 2860 (the card itself is an Asus PCE-N13) and supports 802.11n speeds up to 300 mbps. I am connecting to a DLink DIR-655 router, which also supports 802.11n at 300 mbps. I get full bars when connecting to my router, and my router's connection information shows my computer connected as 802.11n with the signal at around 80%, but the data rate is usually around 5.5 mbps. (I've rarely seen it go up to 18 mbps) I can confirm this woefully slow speed with anything I try to do over the network. Additionally, my wireless connection will sometime be disconnected and network manager will often fail to connect. When it fails to connect, my router lists my comptuer with the correct IP address, so I know it is successfully connecting to the router and the router is accepting the connection, but network manager seems to not recognize this.

I am running Debian Squeeze (testing), but I have a custom kernel, which is 2.6.35 and is using Debian's kernel configuration. I have the newest firmware from Ralink's website, and I also tried the newest drivers, which made no difference. (I have since removed those drivers, since I'd prefer to use the drivers supplied with the kernel if possible, but I can install them again if necessary) I put this card in my main computer and booted under Windows, and it was able to connect with 100% signal (it's right next to the router) and at 300 mbps. I also tried it under Debian on my main computer (with the stock 2.6.33 kernel), but it only connected as 802.11g, and even at 100% signal it was only connected at 36 mbps. For comparison, my laptop with an 802.11g card and running Mac OS X can achieve the full 54 mbps at 84%.

[Code]...

View 7 Replies View Related

Hardware :: HP 5610 All-in-one Fax VOIP And Unreliable Fax Transmission?

Feb 10, 2009

I have this HP 5610 all-in-one fax machine and have always had the issue of faxes failing either receiving or sending ever since I began using VOIP at home about 5 years ago. I have played with the setting of the fax machine and turned off error correction and etc and it has improved but mostly still fail. Voice quality if fine and my network has no problems that I can tell. I have read on the internet that this is a common issues with VOIP and fax machines. This issue is also happening at a friends house as well.

View 3 Replies View Related

Software :: NMap - OSScan Results May Be Unreliable

Jul 9, 2011

I'm currently doing some experiments with nmap in a Backtrack 5 VM environment. I am currently at a cafeteria and I'm connected to the (open :S) network at the shop with my Windows machine. In the BT VM I'm trying to scanning my Windows machine (with another network adapter) but I'm getting unexpected results:

nmap -A Aggressive -sS -O 10.236.xxx.xxx
Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-09 12:11 CDT
Nmap scan report for Aggressive (67.215.xxx.xxx)
Host is up (0.17s latency).
rDNS record for 67.215.xxx.xxx: hit-nxdomain.opendns.com
Not shown: 999 filtered ports
PORT STATE SERVICE VERSION
80/tcp open http lighttpd 1.4.19
|_http-methods: No Allow or Public header in OPTIONS response (status code 302)
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
Device type: general purpose
Running: Linux 2.6.X
OS details: Linux 2.6.9, Linux 2.6.9 - 2.6.30
Network Distance: 1 hop
TRACEROUTE (using port 80/tcp)
HOP RTT ADDRESS
1 14.97 ms hit-nxdomain.opendns.com (67.215.xxx.xxx)

10.236.xxx.xxx is my Windows machine but another machine in the network (67.215.xxx.xxx) is currently replying to my nmap scanning.

View 1 Replies View Related

Ubuntu Networking :: Kubuntu 11.04/ Asus U50f/ Atheros/ Unreliable Internet?

Apr 30, 2011

Code: Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

wlan0 IEEE 802.11bgn ESSID:"DUSTINSEE"
Mode:Managed Frequency:2.427 GHz Access Point: 00:22:2D:A2:D9:48
Bit Rate=150 Mb/s Tx-Power=13 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:5 Invalid misc:31 Missed beacon:0

it takes 3-4 refreshes to make a page load, when i apt-get something, my speed is an average of 400 bytes per second. Making it impossible to get anything done. its been like this for a while, i figured it was a bug in 10.10 and ignored it since 11.04 was coming soon. And with windows everything is fine. I'm getting very sick of this. Can somebody please help me? If you need more info, just let me know.

View 9 Replies View Related

Fedora Networking :: Slow And Unreliable Wireless Connection When Using WPA Encryption On F11

Jul 21, 2009

on my laptop (dell d620) when I try to connect to wpa networks I get frequent disconnections and very slow speed.

My network card is: 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

Insted when I use connetion whitout wpa encyption I've no problems...

how to configure iwl3945 to get decent performance on wpa networks ?

View 12 Replies View Related

OpenSUSE Hardware :: Fix Unreliable CPU Thermal Sensor ; Monitoring Disabled Error?

Sep 9, 2011

I get this from console...

Code:
dmesg | grep thermal[5.927029] k10temp 0000:00:18.3: unreliable CPU thermal sensor; monitoring disabled

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved