Sponsored Content
Full Discussion: USB Circuit Question
Homework and Emergencies Homework & Coursework Questions USB Circuit Question Post 302491122 by citaylor on Wednesday 26th of January 2011 05:55:55 PM
Old 01-26-2011
Perhaps this article may help ?
 

7 More Discussions You Might Find Interesting

1. Cybersecurity

Usb??????????????

it's true that USB port has no security?? (0 Replies)
Discussion started by: lolo_vang
0 Replies

2. UNIX for Dummies Questions & Answers

Where is my USB key?

Hi everybody, When I plug a USB key to my debian, where can I access the files? I don't have any user interface, what commands do I have to run to find the files in my USB key? Thanks for your help. Santiago (6 Replies)
Discussion started by: chebarbudo
6 Replies

3. UNIX for Advanced & Expert Users

protocol failure in circuit setup

Receiving the above error from an application. I narrowed it down to a problem with rsh. If the rsh command is issued too rapidly it fails intermittently. Try this script on your linux box... #!/bin/sh -f for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 do echo $i rsh... (1 Reply)
Discussion started by: kevinl33
1 Replies

4. UNIX for Dummies Questions & Answers

USB-USB cable between linux and windows computers

Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive. Thanks! (4 Replies)
Discussion started by: Xterra
4 Replies

5. Shell Programming and Scripting

Short circuit if

Hello everyone, just wondering if this type of if condition will execute properly. Suppose I have a script with two functions in it called abc and def: is this code valid, or is there a better way to short circuit the if statement? #! /bin/ksh93 abc(){ statement 1 using $1 statement 2... (4 Replies)
Discussion started by: gio001
4 Replies

6. UNIX and Linux Applications

UNIX Circuit Design System

Hi all. In some articles I have read about a "UNIX Circuit Design System", which was written originally in some version of Research UNIX by Sandy Fraser. Here is a quote from the article "A Research UNIX Reader: Annotated Excerpts from the Programmer's Manual", by Douglas McIlroy: Even... (1 Reply)
Discussion started by: mghis
1 Replies

7. Answers to Frequently Asked Questions

Running Turbo-cad and circuit wizard programmes.

Hi. i am new to Linux. i have a Turbo-cad and circuit wizard programme on CD that I want to install and run. I keep getting the message I do not have an auto-run programme. Do I need to install specific drivers for this? What programme do I need? (1 Reply)
Discussion started by: Alfred Kruger
1 Replies
DK(3)							     Library Functions Manual							     DK(3)

NAME
dk - Datakit conversations SYNOPSIS
bind #kname /net/dk bind #iname /net/dk ctlfd = open(".../ctl", ORDWR); write(ctlfd, "push dkmux", 10); write(ctlfd, "config csc [no]restart name nvc window", n); DESCRIPTION
A Datakit device--either k for the regular Datakit or i for the Incon--is a directory containing up to 256 directories, one per virtual circuit, named 0 through 255, and a special file named clone. The specifier name matches the Datakit device to a physical device that its virtual circuits are multiplexed over (see dkmux below). Normally, the standard routines dial, hangup, listen, and announce (see dial(2)) are used to make, listen for, and control calls over any network. The routines expect the following properties of any multiplexed network, not just Datakit. Opening the clone file opens the ctl file of an unused virtual circuit. Reading any ctl file returns the name of the virtual circuit directory. For example, reading #k/17/ctl will return the string 17. Each virtual circuit directory contains the files: ctl to control the virtual circuit: establish a connection, hang it up, etc. data to converse with the remote end (via read and write) listen to listen for calls (after announcing; see below) other information about the conversation raddr the address of the remote end ruser the id of the user at the remote end (when applicable) To set up and tear down virtual circuits a process writes textual commands to the ctl file: connect addr connect to address addr. If the connection fails, the write returns an error. hangup tear down a connected virtual circuit. announce name announce the readiness to accept calls to name. accept n accept the call on virtual circuit n. reject n e reject the call on virtual circuit n with error code e. E must be a number from 0 to 7. Once a virtual circuit is set up, a process can converse with the remote service by reading and writing the data file. Write boundaries are preserved. Accepting calls to name requires the following dance: 1) announce name on a virtual circuit. 2) open the listen file in that virtual circuit's directory. When a call comes in on a virtual circuit for name, the open will return with the file descriptor open to the control file of the incoming virtual circuit. 3) accept or reject the call by writing an accept or reject command to the ctl file of the announced virtual circuit. A dkmux module pushed onto a stream makes that stream a multiplexed connection to a Datakit. The subsequent config control message config- ures the multiplexer and matches it to a dk device. The parameters to the config message are csc the line number of the common signaling channel (must be > 0) nvc the number of virtual circuits (optional; default chosen by Datakit) [no]restart the word restart or norestart (optional; default is restart). Restart tells the Datakit to forget all previous connections and authentications for this machine. name The name used in binding dk device. window the default URP window size for virtual circuits on this Datakit line (default is 2048). FILES
#k/clone #k/[0-255] #k/[0-255]/data #k/[0-255]/ctl #k/[0-255]/listen #k/[0-255]/ruser #k/[0-255]/raddr SEE ALSO
stream(3), dkconfig(8), datakit(3) SOURCE
/sys/src/9/*/devdk.c DK(3)
All times are GMT -4. The time now is 10:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy