Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX System V Mount Floppy Drive Post 302832729 by jgt on Monday 15th of July 2013 03:16:20 PM
Old 07-15-2013
At a minimum you need:
For 9 pin connectors, cross pins 2 and 3 and 5 straight.
For 25 pin connectors, cross pins 2 and 3 and 7 straight.
Use xon-xoff protocol, or no handshaking if you stay at 9600 or lower baud.
For hardware flow control, you will need a full 9 wire cable.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. BSD

Floppy drive problem.

My FreeBSD install at ad0s1, and Windows 2000 at ad2s1. Everytime I start my FreeBSD, it shows me this message: fdc0: cmd 3 failed at out byte 1 of 3 pmtimer 0 on isa0 fdc0: cannot reserve I/O port range (6 ports) My Floppy drive info: 0x03F2 - 0x03F3 0x03F4 - 0x03F5 0x03F7 - 0x03F7... (6 Replies)
Discussion started by: _cs
6 Replies

3. UNIX for Advanced & Expert Users

mount a floppy in UNIX BSDi 3

Anybody know how to mount a floppy in BSDi3 UNIX? Have tried all the standard commands with no luck. This includes: mount /dev/fd0 /mnt/floppy mount /mnt/floppy (3 Replies)
Discussion started by: jpalmer320
3 Replies

4. UNIX for Dummies Questions & Answers

Mount a network computer/drive in unix?

:D hey all, how do you scan/mount a network drive or computer/directory? thanks (2 Replies)
Discussion started by: emplate
2 Replies

5. UNIX for Dummies Questions & Answers

Floppy will not mount on SUSE

I have installed SUSE 10 on a laptop that has a swappable CDROM/Floppy drive. When I was installing the OS my CDROM was connected. Later I tried to swap it with the Floppy and mount it but no success. Here is what I get: dell:/dev # mount -t msdos /dev/fd0 /mnt /dev/fd0: Invalid argument ... (0 Replies)
Discussion started by: reedcat
0 Replies

6. AIX

mount floppy, to be sure

Hi there, I never touch a AIX because i'm used to work on FreeBSD. I'll have to copy some file from a floppy to an AIX. Just to be sure is the mount command the same ? I mean a simple mount /dev/fd0 /floppy should work ? Thanks :) (1 Reply)
Discussion started by: Yogz
1 Replies

7. UNIX for Dummies Questions & Answers

Mount a windows drive on unix

Hi, I would like to be able to mount windows xp to a unix system, so that I can pull data from windows machine for backup and store it on the unix server. Does anyone know how I can go about mounting the windows drive in unix. Thanks, Eric (4 Replies)
Discussion started by: ejbrever
4 Replies

8. Solaris

Solaris 10 floppy drive problem

I have inserted a diskette but I don't see the files nor the floppy drive. These are the commands I ran. #volcheck -v #rmformat With rmformat, only the CD-ROM is listed. I don't see any floppy drive. How can I get my floppy drive to work?? I know it is connected b/c when I boot in XP, I... (0 Replies)
Discussion started by: kungpow
0 Replies

9. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

10. UNIX for Advanced & Expert Users

How to Mount a Unix share drive on Windows

We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies
GPIO(3) 						   BSD Library Functions Manual 						   GPIO(3)

NAME
gpio_open, gpio_close -- library to handle GPIO pins LIBRARY
library ``libgpio'' SYNOPSIS
#include <libgpio.h> gpio_handle_t gpio_open(unsigned int unit); gpio_handle_t gpio_open_device(const char *device); void gpio_close(gpio_handle_t handle); int gpio_pin_list(gpio_handle_t handle, gpio_config_t **pcfgs); int gpio_pin_config(gpio_handle_t handle, gpio_config *cfg); int gpio_pin_set_flags(gpio_handle_t handle, gpio_config_t *cfg); gpio_value_t gpio_pin_get(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_set(gpio_handle_t handle, gpio_pin_t pin, gpio_value_t value); int gpio_pin_toggle(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_low(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_high(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_input(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_output(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_opendrain(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_pushpull(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_tristate(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_pullup(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_pulldown(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_invin(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_invout(gpio_handle_t handle, gpio_pin_t pin); int gpio_pin_pulsate(gpio_handle_t handle, gpio_pin_t pin); DESCRIPTION
The libgpio library provides an interface to configure GPIO pins. The library operates with a gpio_handle_t opaque type which can be created with gpio_open() or gpio_open_device(). When no more GPIO operations are needed, this handle can be destroyed with gpio_close(). To get a list of all available pins, one can call gpio_pin_list(). This function takes a pointer to a gpio_config_t which is dynamically allocated. This pointer should be freed with free(3) when it's no longer necessary. The function gpio_pin_config() retrieves the current configuration of a pin. The pin number should be passed in via the g_pin variable which is part of the gpio_config_t structure. The function gpio_pin_set_flags() configures a pin with the flags passed in by the gpio_config_t structure. The pin number should also be passed in through the g_pin variable. All other structure members will be ignored by this function. The list of flags can be found in /usr/include/sys/gpio.h. The get or set the state of a GPIO pin, the functions gpio_pin_get() and gpio_pin_set() are available, respectively. To toggle the state, use gpio_pin_toggle(). The functions gpio_pin_low() and gpio_pin_high() are wrappers around gpio_pin_set(). The functions gpio_pin_input(), gpio_pin_output(), gpio_pin_opendrain(), gpio_pin_pushpull(), gpio_pin_tristate(), gpio_pin_pullup(), gpio_pin_pulldown(), gpio_pin_invin(), gpio_pin_invout() and gpio_pin_pulsate() are wrappers around gpio_pin_set_flags(). EXAMPLES
The following example shows how to configure pin 16 as output and then drive it high: #include <err.h> #include <libgpio.h> gpio_handle_t handle; handle = gpio_open(0); if (handle == GPIO_HANDLE_INVALID) err(1, "gpio_open failed"); gpio_pin_output(handle, 16); gpio_pin_high(handle, 16); gpio_close(handle); The following example shows how to get a configuration of a pin: gpio_config_t cfg; cfg.g_pin = 32; gpio_pin_config(handle, &cfg); The structure will contain the name of the pin and its flags. SEE ALSO
gpiobus(4), gpioctl(8) HISTORY
The libgpio library first appeared in FreeBSD 11.0. AUTHORS
The libgpio library was implemented by Rui Paulo <rpaulo@FreeBSD.org>. BSD
November 17, 2014 BSD
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy