Sponsored Content
Special Forums UNIX Desktop Questions & Answers cygwin error device or resource busy Post 302354277 by Corona688 on Thursday 17th of September 2009 04:06:38 PM
Old 09-17-2009
echo doesn't try to translate anything unless you tell it to. You can send arbitrary ASCII characters with echo like

Code:
# ctrl-Z
echo -en "\x1a" >&5

The -e part tells it to convert \x codes into ASCII characters. -n tells it not to apppend a newline.

I also have a suspicion this fd-opening thing is only working because 'echo' is a bash builtin so doesn't need to launch a new process. Try to avoid pipes and such to avoid unexpected problems writing to the serial device..

---------- Post updated at 02:06 PM ---------- Previous update was at 01:59 PM ----------

Code:
stty: /dev/ttyS3: unable to perform all requested operations

Did you make a typo? That's not the device you were using before.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

umount, device busy, but..

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

Cannot umount - device busy

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

Device or resource busy??

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

cygwin /dev/ttyS2: Device or resource busy

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

/dev/ttyS2 device or resource busy

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

/dev/ttyS0: Device or resource busy

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

UNIX rm -rf error "rm: cannot remove `filename' : Device or resource busy"

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

lvm swapon failed Device or resource busy

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

NFS umount shows the "Device busy (Error 16)"

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

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

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
BLUETOOTHD(8)						    System management commands						     BLUETOOTHD(8)

NAME
bluetoothd - Bluetooth daemon SYNOPSIS
bluetoothd [ -n ] DESCRIPTION
This manual page documents briefly the bluetoothd daemon, which manages all the Bluetooth devices. bluetoothd itself does not accept many command-line options, as most of its configuration is done in the /etc/bluetooth/main.conf file, which has its own man page. bluetoothd can also provide a number of services via the D-Bus message bus system. OPTIONS
-n Don't run as daemon in background. -d Enable debug information output. -m mtu-size Use specific MTU size for SDP server. FILES
/etc/bluetooth/main.conf Default location of the global configuration file. /var/lib/bluetooth/nn:nn:nn:nn:nn:nn/linkkeys Default location for link keys of paired devices. The directory nn:nn:nn:nn:nn:nn is the address of the local device. The file is line separated, with the following columns separated by whitespace: nn:nn:nn:nn:nn:nn Remote device address. nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn Link key. n Link type integer. /var/lib/bluetooth/nn:nn:nn:nn:nn:nn/names Default location for the device name cache. The directory nn:nn:nn:nn:nn:nn is the address of the local device. The file is line separated, with the following columns separated by whitespace: nn:nn:nn:nn:nn:nn Remote device address. name Remote device name, terminated with newline. /var/lib/bluetooth/nn:nn:nn:nn:nn:nn/features Default location for the features cache. The directory nn:nn:nn:nn:nn:nn is the address of the local device. The file is line sepa- rated, with the following columns separated by whitespace: nn:nn:nn:nn:nn:nn Remote device address. nnnnnnnnnnnnnnnn Remote device LMP features coded as an 8 byte bitfield. /var/lib/bluetooth/nn:nn:nn:nn:nn:nn/manufacturers Default location for the manufacturers cache. The directory nn:nn:nn:nn:nn:nn is the address of the local device. The file is line separated, with the following columns separated by whitespace: nn:nn:nn:nn:nn:nn Remote device address. n Remote device manufacturer integer. n Remote device LMP version integer. n Remote device LMP sub-version integer. AUTHOR
This manual page was written by Marcel Holtmann, Philipp Matthias Hahn and Fredrik Noring. Bluetooth daemon March 2004 BLUETOOTHD(8)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy