FTTB here is the last of the timebase uploads, less _trigger_ modes, and including the first ultra-simple circuit for the MacBook Pro 13 inch as a comment right at the end of the script.
It includes an offset to allow for sound card midpoint bit error...
I intend to have eveything for basic calibration as part of the script, incuding ultra simple circuits, and matching code if required...
There is now a commented out sinewave generator for Linux machines with /dev/dsp to experiment with...
Although the circuit remains the same the people experimenting will have to work out the dual Stereo I/O plugs wiring for themselves...
Best viewed in plain text mode and watch for wordwrapping, etc...
Hi,
I am stuck while developing a shell sub-routine which checks the log file for "success" or "failure". The subroutine reads the log file and checks for key word "success", if found it set the variable (found=1). It returns success or failure based on this variable.
My problem is, I can... (2 Replies)
Hi,
I am new to unix and using linux 7.2. I would like to create a script that would make it easyer for me to run my java programms. At the moment I have to type java myJavaprogram
I am trying to write a script that will allow me to type something like this "myscript myJavaprogram" or maybe... (4 Replies)
hi all,
i'm using the following script,
Status=1
Function_do ()
{
while read line;
do
if ; then
#echo $line
if ; then
Status=0
echo " LINKINK ERROR "
fi
fi
done < ldd.log
}
Function_do (4 Replies)
Hi All,
I would like to develop a shell script for stop & start an application server (1-4) on Solaris box. Here are the user requirements for this task.
1. User will input the option which server they wish to stop.
2. Will clear cache files from specific location.
3. ... (1 Reply)
The scope of the shell/perl script is to read the input text file. Validate the expiry date of each certificate and send the mail to the user. The user takes action to add the new certificate to the storage file and user owns the responsibility to update the input text file with the new certificate... (5 Replies)
Hi,
Pleasse could someone advise why i'm getting this error below - No such file or directory
dev6:$ ls -ltr ReleaseManagement.sh
-rwxr-xr-x 1 dev fix 4830 Aug 22 11:13 ReleaseManagement.sh
dev6:$ ./ReleaseManagement.sh
: No such file or directory
dev6:$
thank you (2 Replies)
This site is the first to get this snippet.
It will capture an audio recording of any time length within the limits of OSX's QuickTime Player's capablility...
A shell script derivative of this will be used as a further capture for CygWin's AudioScope.sh.
Thoroughly read ALL the comments in... (0 Replies)
Hi,
I want 10000+ unique Audio file of approx 2MB each. How can i generate numerous audio files using shell script. Any tool, command or suggestions are welcome.
If i give one audio seed file then can we create numerous unique files with same seed file?
Any help is highly appreciable.... (11 Replies)
Hi all...
Well I have not been inactive but working out how to make OSX 10.14.x command line audio player have a variable sample rate.
This is a back door as afplay does not have a sample rate flag unlike aplay for ALSA, in Linux flavours.
This is a DEMO only but a derivative of it will... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT FREEBSD
natm
NATM(4) BSD Kernel Interfaces Manual NATM(4)NAME
natm -- Native Mode ATM protocol layer
DESCRIPTION
The BSD ATM software comes with a native mode ATM protocol layer which provides socket level access to AAL0 and AAL5 virtual circuits. To
enable this protocol layer, add
options NATM
device atm
to your kernel configuration file and re-make the kernel (do not forget to do ``make clean'').
NATM API
The NATM layer uses a struct sockaddr_natm to specify a virtual circuit:
struct sockaddr_natm {
uint8_t snatm_len; /* length */
uint8_t snatm_family; /* AF_NATM */
char snatm_if[IFNAMSIZ]; /* interface name */
uint16_t snatm_vci; /* vci */
uint8_t snatm_vpi; /* vpi */
};
To create an AAL5 connection to a virtual circuit with VPI 0, VCI 201 one would use the following:
struct sockaddr_natm snatm;
int s, r;
s = socket(AF_NATM, SOCK_STREAM, PROTO_NATMAAL5);
/* note: PROTO_NATMAAL0 is AAL0 */
if (s < 0) { perror("socket"); exit(1); }
bzero(&snatm, sizeof(snatm));
snatm.snatm_len = sizeof(snatm);
snatm.snatm_family = AF_NATM;
sprintf(snatm.snatm_if, "en0");
snatm.snatm_vci = 201;
snatm.snatm_vpi = 0;
r = connect(s, (struct sockaddr *)&snatm, sizeof(snatm));
if (r < 0) { perror("connect"); exit(1); }
/* s now connected to ATM! */
The socket() call simply creates an unconnected NATM socket. The connect() call associates an unconnected NATM socket with a virtual circuit
and tells the driver to enable that virtual circuit for receiving data. After the connect() call one can read() or write() to the socket to
perform ATM I/O.
Internal NATM operation
Internally, the NATM protocol layer keeps a list of all active virtual circuits on the system in natm_pcbs. This includes circuits currently
being used for IP to prevent NATM and IP from clashing over virtual circuit usage.
When a virtual circuit is enabled for receiving data, the NATM protocol layer passes the address of the protocol control block down to the
driver as a receive ``handle''. When inbound data arrives, the driver passes the data back with the appropriate receive handle. The NATM
layer uses this to avoid the overhead of a protocol control block lookup. This allows us to take advantage of the fact that ATM has already
demultiplexed the data for us.
SEE ALSO en(4), fatm(4), hatm(4), natmip(4), patm(4)AUTHORS
Chuck Cranor of Washington University implemented the NATM protocol layer along with the EN ATM driver in 1996 for NetBSD.
CAVEATS
The NATM protocol support is subject to change as the ATM protocols develop. Users should not depend on details of the current implementa-
tion, but rather the services exported.
BSD December 29, 1997 BSD