08-21-2009
cygwin error device or resource busy
Hello!!!
My problem is: i'm trying to send At commands from Pc to mobile phone using bluetooth and cygwin and i would like to read the device's answers on the shell bash. And so, i open two terminals in this way:
xterm &
In the first i write:
cat /dev/ttyS2
because the device is connected at com3.
In the second one i write the instruction with the AT commands:
echo "AT">/dev/ttyS2
However i'm facing with this error:
/dev/ttyS2: Device or resource busy
Is there anyone that can help me??HELPPPPPP
SORRY FOR MY BAD ENGLISH!!!!!!!!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to unmount a file system, but umount says the device is busy. A fuser -c /myfs tells me that nothing on this fs is in use. Any idea?
Oh, and btw, why isn't my signature beeing displayed? Show user's signature is enabled and I have entered one :/ (10 Replies)
Discussion started by: sTorm
10 Replies
2. HP-UX
Anyone have any idea why I cannot umount a directory even though fuser shows no process attached to it?
fuser -cu /data/oracle/GMPSHRDM/export
/data/oracle/GMPSHRDM/export:
umount /data/oracle/GMPSHRDM/export
umount: cannot unmount /data/oracle/GMPSHRDM/export : Device busy
umount:... (2 Replies)
Discussion started by: keelba
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm trying to do a sharity mount to mount a terastation network drive.
I'm getting a Device or resource busy message after my mount command. Please see output below...
# /usr/local/sharity3/bin/sharity mount smb://labbackup01/bakup_data /mnt/labbackup01
Device or resource busy.... (2 Replies)
Discussion started by: orahi001
2 Replies
4. UNIX Desktop Questions & Answers
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (0 Replies)
Discussion started by: blianna
0 Replies
5. UNIX and Linux Applications
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (1 Reply)
Discussion started by: blianna
1 Replies
6. Hardware
hello to everybody
I have Ubuntu Lucid 10.04 installed on my Desktop and I have a PCI serial card in my computer and it has only one serial port.
Actually I want to use this serial port for the serial communication and for that I executed this command :
$ setserial -g /dev/ttyS
and I... (0 Replies)
Discussion started by: piyush011
0 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
I am trying to remove a directory:
$ rm -rf directory_name/
rm: cannot remove `directory_name/filename': Device or resource busy
What does this mean, and why can't I remove these files? I already tried moving into the directory, and removing the files individually, but I... (7 Replies)
Discussion started by: Anna_Z
7 Replies
8. UNIX for Advanced & Expert Users
Is there a trick to mounting swap in n a lvm? I can't get it to work.
# swapon -va
swapon on /dev/mapper/VG-lv_swap
swapon: /dev/mapper/VG-lv_swap: found swap signature: version 1, page-size 4, same byte order
swapon: /dev/mapper/VG-lv_swap: pagesize=4096, swapsize=4294967296,... (1 Reply)
Discussion started by: cokedude
1 Replies
9. SCO
Hi there
After making a backup copy of it sometimes happens that when I want to unmount an NFS indicates the error:umount: /path_mount busy: Device busy (Error 16)
if I run lsoff, I can not find the process that is blocking the application.
I'm using OpenServer 5.0.2c as one NFS server ... (14 Replies)
Discussion started by: flako
14 Replies
10. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
DHU(4) Kernel Interfaces Manual DHU(4)
NAME
dhu - DHU-11 communications multiplexer
SYNOPSIS
/sys/conf/SYSTEM:
NDHU dhu_units # DHU11
/etc/dtab:
#Name Unit# Addr Vector Br Handler(s) # Comments
du ? 160020 310 5 dhurint dhuxint # dhu11 terminal mux
major device number(s):
raw: 4
minor device encoding:
bits 0017 specify line on DHU unit
bits 0060 specify DHU unit
bit 0100 specify RTS/CTS flow control
bit 0200 specifies non-blocking open (``CD always on'')
DESCRIPTION
A DHU-11 provides 16 communication lines.
Each line attached to the DHU-11 communications multiplexer behaves as described in tty(4). Input and output for each line may indepen-
dently be set to run at any of 13 speeds (50, 200 and 38400 baud are not available); see tty(4) for the encoding.
Bit 0200 of the minor device number for DHU lines may be set to say that a line is not properly connected, and that the line should be
treated as hard-wired with carrier always present. Thus creating the special character device node "4, 130" via mknod /dev/ttyS2 c 4 130
would cause line ttyS2 to be treated in this way. Turning on bit 6 (adding 64) to the minor device number via mknod /dev/ttyS2 c 4 194
enables RTS/CTS flow control.
The DHU-11 driver normally uses input silos and delays receiver interrupts by 20 milliseconds rather than taking an interrupt on each input
character.
FILES
/dev/tty[S-Z][0-9a-f]
SEE ALSO
tty(4)
DIAGNOSTICS
dhu(%d,%d) NXM. No response from UNIBUS on a DMA transfer within a timeout period. This has never been observed on a PDP-11 and is
believed to be a carryover from the VAX driver when it was ported. It is not serious.
dhu%d %d overruns. The character input silo overflowed before it could be serviced. This message is printed only at line close time
rather than on each overrun error. Kernel printf's are not interrupt driven and caused more overruns by blocking interrupts for lengthy
periods of time.
NOTES
The driver currently does not make full use of the hardware capabilities of the DHU-11, for dealing with XON/XOFF flow-control or hard-
wired lines for example.
The 4 40-way cables are a pain.
3rd Berkeley Distribution May 31, 1997 DHU(4)