Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-23-2013, 05:35 PM   #1
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
How to get around errors and/or determine if RD pin is busy

At times I can see Google is trying to pass info but there are no pages being sent as the read data light is out (but there is NO modem activity & the RD lamp is inactive). I extracted the idea in this code off another sight but as I suspected I cannot read from that device as it is busy with the browser.

# Read from modem (-r: ignoring effect of backslash)
while read -r line
# $line is the line read
   if [ "$line" == "$oldline" ]
   then echo -e "\n\tDevice (\$dvcx) contains old data"
        echo -e "\t${$line:0:15} last read at: date +%b %d\n"
        /usr/bin/play /opt/SPACE/predict/vocalizer/alarm.wav
   sleep 10
done < $dvcx
Does anyone have a solution along these lines. If I attempt to look at pin 2 of the modem input will I not get the same error (in use by others).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Device Or Resource Busy Errors In Linux LXer Syndicated Linux News 0 03-06-2010 09:40 AM
Boot mount errors - partitions busy or already mounted Frank64 Linux - General 0 06-28-2008 09:35 AM
CPU 12-V power supply: 4-pin or 8-pin? michapma Linux - Hardware 3 07-23-2007 10:13 AM
LXer: This week at LWN: Busy busy busybox LXer Syndicated Linux News 1 10-05-2006 08:09 PM
Damaged CDs and DVDs cause VFS: busy inodes errors conn-fused Linux - Software 2 03-02-2006 02:45 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration