11-02-2010
Quote:
Originally Posted by
scottn
...this configuration of A321 before. How many are there?!
Just for information, roughly 24 passenger configurations. 8 models and three standard seating configurations.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am sort of new to shell scripting,
I have a bunch of files that begin with 'blah' and I want to rename those files with something different (renamedFile1, renamedFile2, renamedFileN). I don't want to go through each file and rename them with the mv command. Could I just use a for... (4 Replies)
Discussion started by: kcor
4 Replies
2. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
3. Shell Programming and Scripting
Hi,
We use an application that is dumping logs to a file on disk. However, this is dumping very verbosely and there is no method of turning down the logging level. We need to remove certain contents from these before they are commited to disk.
Has anybody got any ideas how I can do this... (3 Replies)
Discussion started by: harperonline
3 Replies
4. Solaris
Wats would be the best way to disable link based IPMP on the fly without loosing network connectivity ? (6 Replies)
Discussion started by: fugitive
6 Replies
5. Shell Programming and Scripting
Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman (2 Replies)
Discussion started by: angshuman_ag
2 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
I have csv file, where one of fields is date (yyyy/mm/dd 00:00:00). Using awk I am trying to find all records with date newer/older than specific date. My idea was to compare unix timestamps of both dates:
start=`date +%s -d "$DateStart"`
awk -v start="$start" -v current=`date +%s... (34 Replies)
Discussion started by: haczyk
34 Replies
7. HP-UX
Hi,
I have an old HPUX 10.20 server running Informix 7.23
I need to dump the database to get it off that hardware before it dies.
Unfortunately there is insufficient local diskspace to do so.
I have set up a linux box with sufficient disk onto which I can export the database.
Having... (1 Reply)
Discussion started by: fella
1 Replies
8. AIX
I'm looking for a way to upgrade disks containing my rootvg volume group on the fly without a reboot.
Currently, rootvg contains 2x74gb drives in RAID 10. What I want to do is swap them out one-by-one with 146gb drives then expand the volume group. I've done this with a test system before, and... (12 Replies)
Discussion started by: acascianelli
12 Replies
9. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
10. Shell Programming and Scripting
Hi all,
I am calling a zsh script from batch file .
This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies
LEARN ABOUT SUSE
struct_usb_host_config
STRUCT
USB_HOST_CONF(9) Host-Side Data Types and Macro STRUCT USB_HOST_CONF(9)
NAME
struct_usb_host_config - representation of a device's configuration
SYNOPSIS
struct usb_host_config {
struct usb_config_descriptor desc;
char * string;
struct usb_interface_assoc_descriptor * intf_assoc[USB_MAXIADS];
struct usb_interface * interface[USB_MAXINTERFACES];
struct usb_interface_cache * intf_cache[USB_MAXINTERFACES];
unsigned char * extra;
int extralen;
};
MEMBERS
desc
the device's configuration descriptor.
string
pointer to the cached version of the iConfiguration string, if present for this configuration.
intf_assoc[USB_MAXIADS]
list of any interface association descriptors in this config
interface[USB_MAXINTERFACES]
array of pointers to usb_interface structures, one for each interface in the configuration. The number of interfaces is stored in
desc.bNumInterfaces. These pointers are valid only while the the configuration is active.
intf_cache[USB_MAXINTERFACES]
array of pointers to usb_interface_cache structures, one for each interface in the configuration. These structures exist for the entire
life of the device.
extra
pointer to buffer containing all extra descriptors associated with this configuration (those preceding the first interface descriptor).
extralen
length of the extra descriptors buffer.
DESCRIPTION
USB devices may have multiple configurations, but only one can be active at any time. Each encapsulates a different operational
environment; for example, a dual-speed device would have separate configurations for full-speed and high-speed operation. The number of
configurations available is stored in the device descriptor as bNumConfigurations.
A configuration can contain multiple interfaces. Each corresponds to a different function of the USB device, and all are available whenever
the configuration is active. The USB standard says that interfaces are supposed to be numbered from 0 to desc.bNumInterfaces-1, but a lot
of devices get this wrong. In addition, the interface array is not guaranteed to be sorted in numerical order. Use usb_ifnum_to_if to look
up an interface entry based on its number.
Device drivers should not attempt to activate configurations. The choice of which configuration to install is a policy decision based on
such considerations as available power, functionality provided, and the user's desires (expressed through userspace tools). However,
drivers can call usb_reset_configuration to reinitialize the current configuration and all its interfaces.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT USB_HOST_CONF(9)