Hardware :: Reset RS232 Buffer On Device?

Aug 6, 2010

I was able to write a script on Linux Shell for send and read data to a serial port. But I�m facing a problem now. If by any mean I send to de device anything else than the predefined strings, stated by the manufacturer, the device ceases to respond. The only way I found its to turn off and then turn on the thing again. Which its very impractical. Its there any way to "reset de UART chip on the device" or send some string based on the RS232 standard that clean the device buffer?

View 2 Replies


ADVERTISEMENT

General :: Use A Rs232 Device That Uses The Usb Port?

May 18, 2010

been trying to use a rs232 device that uses the usb port. it calls for a virtual com port to be created. i am running on ubuntu 10 and get hella confused with the search results i have come across.some call for the usbdevfs which apparently doesn't exist under lucid. another had me do use some "magic" in getting it to work.they provided a script mountusbfs.sh

Code:

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs

[code]....

of course when i tried it the domount command doesn't exist so i modified the above script replacing the domount with mount and it seemed to do something things. usbview is specified as the determining factor whether or not you have the usbfs mounted properly. it wants to use proc bus and ubuntu doesn't use that anymore apparenlty. i have read that i need to enable a usbmon (flag?option?) in the kernel to be set. which it isn't when i followed the steps to check.

View 3 Replies View Related

Red Hat / Fedora :: Buffer IO Error On Device /dev/sdb?

Jul 20, 2010

I have a one problem when i mapped a SAN to the linux box RHEL 5.3 i show the following messeage Buffer IO error on Device /dev/sdband unable to find it in fdisk -l

View 2 Replies View Related

Server :: Buffer I/O Error On Device?

Mar 15, 2010

cciss :cmd ffff880074984e00 has check condition byte 2 = 0x3
Printk : 30 messages suppressed
Buffer I/O error on device cciss/c0d0p2 logical Block 2211585 to 2211594

View 1 Replies View Related

Hardware :: Buffer I/O Error On Device Sdb1?

Feb 3, 2010

I have an external usb disk connected to a Debian desktop. A couple of days ago these messages started appearing in dmesg

Code:
[154343.010908] EXT3-fs error (device sdb1): ext3_get_inode_loc: unable to read inode block - inode=14352940, block=57409572
[154343.014425] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #13272620 offset 0
[154343.014913] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #3440641 offset 0
[154343.022172] Buffer I/O error on device sdb1, logical block 53138974
[154343.022209] lost page write due to I/O error on sdb1
[154343.022218] Buffer I/O error on device sdb1, logical block 53138976
[154343.022252] lost page write due to I/O error on sdb1
[154343.022256] Buffer I/O error on device sdb1, logical block 53138977

When this appears the disk becomes unavailable and I have to remove and plug it in and mount again. After that it works couple of hour and then the problem appears again. Is this a hardware problem?

View 2 Replies View Related

Hardware :: Buffer I/O Error Device Hdc Logical Block 15

Jul 4, 2011

I am trying to debug the issue of a desktop that has for the last two weeks started having kernel panics at boot time. This machine has been running flawlessly for the last 8 years, and has had three OS upgrades. I am using memtest to try to understand the issue. The following is part of the memtest output: Reading all physical volumes Buffer I/O error device hdc logical block 0 Buffer I/O error device hdc logical block 15

Illegal node for this track or incompatible media (asc=0x64 ascq=0x00) The failed "Read 10" packet command was /dev/hdc: read failed after 0 of 4096 at 0 Input/output error and similar set of mesaages After this udev checks correctly, and hardware, storage and audio are initialized However sometime in the middle of the boot process, a kernel panic occurs with message Kernel panic -- not symcing : Fatal exception in interrupt

View 4 Replies View Related

Fedora :: Kernel: Buffer I/O Error On Device Dm-0, Logical Block 124

Nov 28, 2009

I have 2 hdds, with encrypted / and /home. Besides there are four other (encrypted ext4) partitions I use rarely. In Fedora 11 at boottime I gave the luks passphrase for / and home and the system booted as intended.

Whenever I needed those extra encrypted partitions I mounted them in Nautilus. Now, in Fedora 12 at boottime dracut tries to open all the encrypted partitions, / and /home are mounted fine, but opening all the other partitions gave the following messages in messages.log:

Quote:

dracut: luksOpen /dev/sdb6 luks-02a0e706-a26f-4019-a2a0-88a0366a994d
kernel: Buffer I/O error on device dm-0, logical block 124
kernel: device-mapper: ioctl: unable to remove open device temporary-cryptsetup-304
kernel: Buffer I/O error on device dm-0, logical block 124
kernel: Buffer I/O error on device dm-0, logical block 124

[code]....

...and these messages are repeated with the other partiitions, and the boot time takes very, very long. How can I tell dracut to ignore those extra encrypted partitions at boottime?

View 8 Replies View Related

Ubuntu :: Buffer I/o Error On Device Loop0 Logical Block?

Jan 13, 2011

i have a inspiron 1520 laptop which is starting to slow down some so i thought linux would help because all i do is internet use, so i download it from another computer and mount it to a usb flash drive like the site says, (netbook remix latest version) then i put it in my laptop and it loads all the way and i press try and after about 10 minutes of loading it lets me try. so that was ok really slow but i thought id install it to hard drive to see if it improved speed. so the next time i start my laptop i get Buffer i/o error on device loop0 logical block xxxxxx so i redo the usbflashdrive no errors switch usb ports and same thing, ive done the switch usb ports and redo the flash drive about 4 times im really getting mad at linux before i even have it installed.

View 1 Replies View Related

CentOS 5 Hardware :: Buffer I/O Error On Device Sda, Logical Block 0?

May 20, 2009

I had installed the CENT OS 5.3 it is installed when i rebooted it gives me error continuously.

Buffer I/O Error on device sda, Logical Block 0
ata4.00 : exception Emask 0x0 SAct 0x0 action 0x0 frozen ......
ata4.00 : status: { DRDY }

why it has giving the error.i have Intel based hardware Core II Duo with 1 GB ram check with sata hard drive 120 GB.

View 1 Replies View Related

CentOS 5 :: Buffer I / O Error On Device HDD - Logical Block 176935

Sep 4, 2009

I just downloaded an iso of the latest CentOS dist (5.3) and burned it to disk. I booted from the CD and received the following error:
Memory for crash kernel (0x0 to 0x0) not within permissible range
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq-0x00)
The failed "read 10" packet command was:
Buffer I/O error on device hdd, logical block 176935

(This error message repeats for another 9 or 10 times then it says the following)
Red Hat nash version 5.1.19.6 starting
Setting up new root fs
(Then there are some unmounts which are old /dev, /proc, /sys. At this point a series of steps begin).

Setting Clock
Starting udev
Loading default keymap (us)
Setting hostname local host.localdomain
Setting up logical volume management
Checking file systems

These are just some of the steps that appear after the above error is displayed, all of the steps that load have an ok status. After those are completed I get to a text prompt - localhost login: At this point my keyboard does not seem to respond, pressing enter or any of the other keys seems to have no effect. I noticed that during the load process I could toggle the light for caps and num lock, but at the login screen it does'nt work. So at this point I'm not sure if I'm having a technical issue or if its just another case of an user error.

View 11 Replies View Related

Fedora Installation :: F10 Live CD Buffer I/O Error On Device Sr0 Logical Block?

Jan 29, 2009

Create symlink /dev/root and then exit this to continue the boot sequence.

Buffer I/O error on device sr0, logical block *******
sr 4:0:0:0 [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sr 4:0:0:0 [sr0] Sense Key : Medium Error [current]
sr 4:0:0:0 [sr0] ASC=0x10 <<vendor>> ASCQ=0x90
end_request: I/O error, dev sr0, sector 1395920
Clocksource tsc unstable (delta = -499902943 ns)

loops that during install. new hard drive fresh out of box. WD 320GB 7200 Toshiba Qosmio intell core duo i've installed with this same disk before previous hard drive died. installed over windows vista. this time im trying to install solo no windows disk to reinstall with, F10 only. I've tried other distros as well, Mandriva one 2009, Dreamlinux, and this one. i've suspected hard drive controller went out but i can format and partition the drive. also the cd/dvd drive is bad but im booting from cd fine. tried removing the cd drive and booting from an external usb cd rom, same errors.

im about to deploy and need my computer up and running ASAP. 7 months no entertainment is not good. when i use a linux boot disk from Ultimate Boot Disk (UBD) i get an error of - hda status no response and something about invalid heads dreamlinux pushes past the error till i get the error about cant start x server. about my graphics

View 1 Replies View Related

Ubuntu Installation :: [35.877869] Buffer I/O Error On Device Fd0, Logical Block 0

Nov 10, 2010

I created a start up USB and I try to install it on a computer I have, however, everytime I try I get the following error repeated...

[35.877830] end_request: I/O error, dev fd0, sector 0
[35.877869] Buffer I/O error on device fd0, logical block 0

emulate the USB using the force FDD option. I tried emulating a hard drive instead but then it doesn't boot up into ubuntu.

View 5 Replies View Related

Ubuntu :: Fbterm + Ucimf Under 11.04 (can't Open Frame Buffer Device; Segmentation Fault?

May 14, 2011

Made the following commands:

$ sudo aptitude install fbterm
$ sudo aptitude install libucimf0 fbterm-ucimf ucimf-openvanilla openvanilla-imgeneric fbterm

Run: LC_CTYPE=zh_TW.UTF-8 fbterm -i fbterm_ucimf

System returns:
can't open frame buffer device!
Segmentation fault

Additional information: Ubuntu 11.04 under wubi install user already added to video group (checked "User and Group" )

View 1 Replies View Related

Fedora Installation :: Livecd Cant Burn Correctly / Buffer I/O Error On Device Sr0 Logical Block 352328?

Oct 3, 2009

i've just burned a livecd (fedora 11), but it doesn't work correctly.it says after i hit boot:

BUFFER I/O error on device sr0 logical block 352328

and then something else, which is similar so i didn't write it down.i read on bugzilla, that is should try to append the boot command with pci=nomsi, but it doesn't work for me

View 3 Replies View Related

General :: External Hard Drive Is No Longer Recognized - Buffer I/O Error On Device Sdb1, Logical Block 6160408

Feb 28, 2010

The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.

[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21
[19712.145347] usb 2-2: configuration #1 chosen from 1 choice
[19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices

[code]....

I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.

View 4 Replies View Related

OpenSUSE :: How To Reset A Usb Device

Mar 19, 2011

Flash is having really trouble in firefox, it works in chrome on the other hand.You can see the large white boxes that randomly appear while flash plays.Thunderbird's lightning fails to install and gives this error.

System Spec's

OpenSuse 11.4 64bit
Intel i3 CPU and Graphic's
4 GB of ram
Webcam (working)

[code]....

(works some times, doesn't seem to load right but that might have something to do with the fact that is shows under lsusb. I need to learn how to reset a usb device)

View 1 Replies View Related

General :: Cannot Play Audio Cds: "Buffer I/O Error On Device Sr0"

Aug 26, 2010

i got a Thinkpad R61 with a Matshita drive and, as the title says, I cannot play audio cds. After inserted a cd, syslog shows:

[Code]...

I did't know if this is an hardware issue so i tried an external dvd drive but i got the same errors. To play cds i tried different programs: xmms2, cdcd, mplayer and sound-juicer and different cds (all original if this matter) but without luck. I also tried a different kernel version, actually i'm using a custom one, using a debian precompiled ones (package linux-image-2.6.32-5-amd64) but again without luck. Here a relevant kernel configuration:

[Code]....

View 1 Replies View Related

Fedora Hardware :: SSD - Can't Reset The Device To Make Write-able

Nov 11, 2010

I recently added a SS drive and after 2 hours it went into read only and busy mode. The machine see the drive as does tools like fdisk, fsck, qtparted, kde partition manager but I can't reset the device to make it write-able Do I need to RMA the device (it's 12 hours old) or is there a method to make the device usable again?

View 4 Replies View Related

General :: Identify The USB Device Repeatly Being Reset In Syslog?

Apr 13, 2010

I noticed there're lots of "usb 3-1: reset low speed USB device using uhci_hcd and address 2" warnings in two of our server's syslog. They occur roughly every 20min. The server is a Dell R710 with CentOS 5.4 X86_64 installed. I suspect it's the virtual CD device of the iDrac6 but not sure. How Can I identify which USB device triggering these warning? The related syslog is as following:

Code:

Apr 13 23:32:47 bak2 kernel: usb 3-1: reset low speed USB device using uhci_hcd and address 2
Apr 13 23:42:44 bak2 kernel: usb 2-3: USB disconnect, address 3
Apr 13 23:45:53 bak2 kernel: usb 2-3: new high speed USB device using ehci_hcd and address 4

[code]....

View 2 Replies View Related

OpenSUSE Hardware :: Palm Device Goes Into Continual Reset When Connected?

Jan 24, 2010

All I do is connect my Palm to the usb port, and it starts a reset loop. It resets, gets booted, and crashes to reset again. What's up with this? BTW, this same palm worked with gnome pilot on Debian and Vector installs, and works currently with an XP install. But on my 11.2 suse, it goes crazy.

View 9 Replies View Related

Ubuntu :: Audio Input Device Constantly Reset To Mute

May 3, 2010

On karmic the audio input device would constantly reset to muted. On lucid, it keeps resetting it to the microphone jack at the back of the computer (While I have a webcam up and running that it knows is what I use. How can I get it to remember my audio input? One more functionality issue till bingo. How can I give a window "Widget" status: I want it not to minimize when I hit ctrl alt D (Like conky and other widgets).

View 1 Replies View Related

Ubuntu :: Reset High Speed USB Device Using Ehci_hcd And Address 2?

Jul 12, 2011

is this normal to see in dmesg multiple times after booting (screenshot)

Code:
lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[code]....

View 2 Replies View Related

CentOS 5 Hardware :: Ata1 Device Not Ready - Error 16 Forces Hard Reset / Drop Network Connections

Sep 23, 2009

I have 4 Dell R200's with Seagate 2x250Gb drives running software raid on CentOS 5.2 kernal 2.6.18-92.1.13.el5. They all get these errors 5-10 times a day and when the errors occure the servers apear to freeze and drop all network connections, very frustrating. I've updated to smartmontools 1:5.38-2.el5 and confirmed with Seagate that I have the latest drive firmware, and am now at a loss as to how to fix this. All of the systems report the problem only on sda not sdb.

[code]...

View 9 Replies View Related

Fedora :: Unable To Reset Using Either The Reset Option In Gnome Shell Or The Command Using A Terminal?

Jun 3, 2011

I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware

View 1 Replies View Related

Ubuntu :: How To Interface With RS232 Port

May 13, 2010

I am trying to interface a machine (lock in amplifier) with Ubuntu using a RS 232(25pin) to USB cable. I wrote a program in c to interact with the machine. I think the machine is detected (after connecting the machine a file is created in folder /dev with name ttyusb1. I heard that ubuntu has all the header files required to interface with the port. with the help of a person i wrote this program (please see the attachment below.) but i don't know whether the commands are right or wrong. the program is compiled. but when i run the program it is getting stuck. i have to stop the program using Ctrl+z. if anyone knows these commands (how to write to or read from the port) please help me with this program.

View 6 Replies View Related

Programming :: Communicate To RS232 Using Fstream?

Apr 1, 2009

I'm trying to attach an fstream to serial port for reading and writing with the following code:

Code:

#include <iostream>
#include <fstream>
#include <string>

[code]....

The code compiles without errors, but doesn't catch any input text from the device attached to RS232. I have tried it with Rx and Tx connected, but didn't receive my text back. It works OK if I substitute /dev/ttyS0 with an ordinary file, but any attempt to use /dev/ttyS0 seems to lead to an empty answer string. I tried this on a PC under Ubuntu Linux 7.10.

View 3 Replies View Related

Programming :: Transferring A Program Across Rs232?

Dec 16, 2009

I've started development on a ARM board. The ARM board displays it's command prompt through it's rs232 output. So I open putty/minicom (rs232 display) and can see and interact with the ARM linux system through my PC. The ARM root fs is on a USB pen, So I cross compile on my PC, then plug the pen into my PC copy the exe into the home/usr etc folder. Then unplug. plug it into the ARM boot the ARM and from my PC rs232 window can run the code. However plugging/unplugging is taking an age, I'm sure there must be a way to transfer the exe across the rs232. I've tried to use putty minicom to do so throught various methods xmodem etc but don't seem to be able to. I think I must have to do something on the ARM end but am unsure what?

View 7 Replies View Related

OpenSUSE :: Rs232 (usb To Serial) Cable Not Detected

Feb 9, 2011

a few day ago i have checked my application and make rs232 cable converter to communicated it. And not detected, why? FYI, this is my lsusb command, but in my dmesg, was not found. check this out, (usualy there is another rows, just like ".....converted to ttyUSB0....")

View 1 Replies View Related

Programming :: RS232 Configuration Is Not Doing Do Wanted Operation

Nov 29, 2010

I am writing a program to send data over serial port but the sending and reading operation is not occurring as desired to be... Below you can see the read and write parts. Could you please help me to find where I am doing wrong...

Reading Part:

Code:

#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <termios.h>

[code]....

When I compile and run the above programs Reading part does not read the 13 bytes once it first reads 8 byte then 8 again then 2 and so on. It always divides the sent data...

View 8 Replies View Related

General :: Access Serialport (RS232) Data Using OpenGL?

Apr 27, 2010

how to access serialport(RS232) data using OpenGL.Heard about SDL(Simple DirectMedia Layer),but didn't get how to use SDL and OpenGL to access RS232 data.

View 8 Replies View Related







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