Programming :: Get Information About Description Number Usb Device

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 1 Replies


ADVERTISEMENT

Programming :: Get Information About Description Number Usb Device?

May 10, 2011

How can I know what number descriptor is used by my usb device indicate via libusb_device_handle structure ? I can't find declaration of libusb_device_handle structure. I need this information to use poll() function where I need decripttion number of device.

View 4 Replies View Related

Ubuntu :: Get The Card Number And Device Number On System For Attched USb Audio Device?

Oct 1, 2010

how to get the card number and device number on system for attched USb audio device?

View 3 Replies View Related

General :: Find Mapping Between Man Section Number And It's Description In Standalone Mashine?

Aug 14, 2010

where I can to find mapping between man section number and it's description in standalone mashine.In other words, where I can to find description of some man section when I have not connection to Internet? For example:

1 -> User commands
2, 3 -> Linux programmer's manual
and so on..

View 1 Replies View Related

General :: How To Find / Dev Description For Device

Jul 11, 2011

I have a microphone that I connected via USB. When I do dmesg it shows [37830.040274] usb 5-1: new full speed USB device using uhci_hcd and address 4 How do I find out what /dev/??? identifier has been associated with the device? I want to record something using XVidCap and need to set the microphone for it to work.

View 5 Replies View Related

Programming :: Unable To Find Description Of Alsa's Programming Language

Dec 19, 2008

I am unable to find a description of alsa's programing language, this sort of stuff:

[Code]...

I need to know what, for example, 'ttable' means and what is its syntax. This seems to be a state secret.

View 2 Replies View Related

Programming :: Kernel GRAPHICS APIs And Code Description?

Feb 17, 2011

I have been googling all day looking for APIs exposed by the linux kernel for graphics n i haven found any information anywhere.

View 5 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

Ubuntu Networking :: Check The All Device Information?

Nov 25, 2010

how to check the all device information on ubuntu

View 1 Replies View Related

Software :: Sane Device Information For Network Scanner?

Jul 22, 2011

OS: CentOS 5.6 yesterday i bought a new HP network printer/scanner (OfficeJet Pro 8500). It installed correctly using hplip drivers. I can print and scan without any problem, very nice and fast device. I did some research where the information where the device port is stored in sane, but cannot find anything. I tried to remove my old network device port for my Brother scanner, but did not find the config file where this information is stored. Neither /etc/sane.d/* nor ~/.sane/xsane/* contains this information.

View 14 Replies View Related

Fedora :: F13: Increase The Number Of Loop Device

Sep 17, 2010

In previous Fedora, we may add the following line to /etc/modprobe.conf

options loop max_loop=64

to increase the loop devices to 64.

However, this method no longer works in Fedora 13.

May I know how to increase loop devices in Fedora 13?

View 2 Replies View Related

Ubuntu Installation :: Determine Boot Device Number?

Jun 30, 2011

I'm currently running Ubuntu (w/ GRUB) and Windows XP. I'd like to remove Ubuntu and run the recovery on Windows XP because it has started not running correctly. The computer is about 5 years old and I figured I'd just wipe it clean and start over (read: remove Ubuntu and reinstall windows via the recovery console).

I intend to follow the tutorial here: [URL]

However, I'm confused about determining the boot device number for Windows. I've run "sudo fdisk -l" and I can identify the windows drive in the list it says:

Device: /dev/sda1
Boot: *
Start: 1
End: 19352
Blocks: 155444908+
Id: 7
System: HPFS/NTFS

Am I looking for the 7, the 1, or something completely different? This is also the first partition on the list.

sda2 (id: c) is a FAT32 drive. I think this is the recovery partition included on the HP desktop.

sda3 (id:83) is Linux
sda4 (id: 82) is swap

I just need to run fixmbr.

View 2 Replies View Related

CentOS 5 Hardware :: Eth0: Error Fetching Interface Information: Device Not Found?

Nov 15, 2009

I have 2 network cards eth0 and eth1, for eth0 i set a manual MACADDR in network scripts. Ok so every time i boot, if the cable is plugged in, my eth0 fails to mount or i don't know.. i get this after bood when i type ifoncifg eth0 (eth0: error fetching interface information:Device not found). So i have to unplug the cable when i boot, then plug it in and do a service network restart.

View 5 Replies View Related

Ubuntu Multimedia :: Lirc: No /dev/lirc0 - Actual Device Number Changes On Restart

May 30, 2010

My only issue that I can't figure out thus far is the remote. I'm using a Hauppauge Nova-T USB Stick, and generally the setup for the Nova-T 500 is good. No problem with lircd.conf, .lircrc etc. My problem is that the remote doesn't work on startup. Looked in /etc/lirc/hardware.conf and it says, as expected: REMOTE_DEVICE="/dev/lirc0"

Which doesn't work because I have no /dev/lirc0 (I do have a /dev/lircd). However, running /proc/bus/input/devices, I discover that my IR receiver is event5, so if I change the /etc/lirc/hardware.conf to: REMOTE_DEVICE="/dev/input/event5"

And restart lirc, it works fine. Unfortunately, upon restarting the PC, the IR receiver doesn't always have the same path - eg it could be event6 or event8 etc - so then I need to fix the /etc/lirc/hardware.conf again.

View 3 Replies View Related

Programming :: Displaying The Information Using Awk?

Jan 14, 2010

i am using awk to display my information in a certain order.

Database :

Code:

Persia:42:John
France:50:Mabel
Persia:50:Rach
Germany:60:John

My expected output is :

Code:

Title Price Author
Persia 42 John
France 50 Mabel

[code]....

I tried using cut command but it also gives me the same problem. If i do not assign it to a variable, how am i able to format it to display it in the correct format?

View 4 Replies View Related

Ubuntu :: Eth0 Doesn't Exists For Firestarter - Eth0: Error Fetching Interface Information: Device Not Found

May 5, 2010

My network name is eth2 it was changed by some reason and now i got these errors... i installed, reinstalled, re re installed, tried to run the asistant but no luck :/

Code:

* Stopping the Firestarter firewall...
eth0: error fetching interface information: Device not found
eth0: error fetching interface information: Device not found
eth0: error fetching interface information: Device not found

[code]....

View 1 Replies View Related

Programming :: C++ Search And Handle Information

Sep 26, 2010

I would like to make program that reads a *.TXT file and searches for last line and constatly refreshing the search. So last line would look something like this:Mike Had A 100.0 Pound Shark.So there are multplie category of "fish"(Shark, Dolphin, etc.) and each of them have allowed weight (ie. minimum 70.0 Pound Shark, 50.0 Pound Dolphin). If in the found sentence Shark or Dolphin doesn't meet requierments than program named False.exe should be started. I dont know how to make it my self so any help is much appreciated. My knowledge on programming is very low but I'm opend for learning.

View 1 Replies View Related

Programming :: Add Version Information To An Executable?

Mar 2, 2010

when compiling a c++ program in g++ on Linux, how can I add version information to that executable and if possible is there a Linux utility to read the version information?

View 2 Replies View Related

Programming :: Prompt For Some Information From PAM Module?

Jan 8, 2011

I'm writing a Plug-gable authentication module for ssh. I am looking for prompting for some extra information after user name and password verification but before giving access to user.Actually after SSH I want to extend the same for some other services. So I am looking at some PAM module level suggestion.

I tried using conversation method with message style=PAM_PROMPT_ECO_ON but it results in PAM_CONV_ERR and conversation fails. Is it right way to interact or please suggest me If I'm doing wrong somewhere. When I use message style=PAM_PROMPT_ECO_OFF communication succeeds but message is not shown and interaction doesn't happen.

I've pased the sample code I've written at url.

Code:
#include <sys/types.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
code....

View 3 Replies View Related

Programming :: Perl Extract Information For A Particular Column?

Oct 24, 2010

I have a file which has the output as shown below:

Code:

Teams | matches |Goals | YC | RC
------------------------------------------------------------------------------
Liverpool: | | | |
Gerrard | 97 | 100 | 41665 | 1342

[code]....

I need to extract the Info from the RC column for the first 4 players of liverpool. The test code i have does the same,but can anyone show me a better way of doing it.I could do it easily with gawk -F"|" and print the respective column,but i need to do this in perl.

Code:

#!/usr/bin/perl
use strict;
use warnings;

[code]....

View 7 Replies View Related

Programming :: Read Information About User Activity?

Jan 2, 2010

I wonder if there is any chance to read the last time when the actually logged user have changed the mouse cursor and stroke the key.

View 3 Replies View Related

Programming :: Information About The NUMA Architecture Supports?

May 1, 2011

Where can I the information about the NUMA architecture supports in Linux

View 3 Replies View Related

Ubuntu Installation :: GRUB - "error: No Such Device:<big Number Here...>"

Dec 4, 2010

I was having ubuntu 9.10 on my desktop installed as "WUBI"(installed inside windows). Very recently(yesterday) i had some package upgrades showing up. I installed the upgrades, among them one was called "GRUB PC". I though it was a normal gurb update. what i see is the my windows boot loader also has been corrupted and GRUB cant access my UBUNTU also. The error which i get is this

"error: No such device:<big number here...>"

View 9 Replies View Related

Programming :: Get A Number Between Two Numbers?

Feb 1, 2010

I have some code that opens a directory and reads in the names of files which are e.g. 0001, 0002, 0003 up to 9999I need to get all these numbers and then generate a new number that is not one of these numbers already.here is my code to check the files in the directory

DIR *d;
struct dirent *dir;
int i = 0;

[code]....

View 11 Replies View Related

Programming :: How To Get A Unicode Number

Jul 7, 2011

But what is the easiest way to figure out the Unicode number of a character when you already have the character?

For instance, I pasted this character here from a PDF:

View 4 Replies View Related

Programming :: How To Get Number Of Cores Using C?

Apr 13, 2011

Anybody knows How can I get the number of cores of a machine?I know that I can use POPEN and get the stream of this:

Code:
grep -i 'processor' /proc/cpuinfo | wc -l
But, I think that a simple method to do this.

View 10 Replies View Related

Programming :: Get Random Number From -1 To 1 In C?

Mar 4, 2011

i want to generate random number in c programming from -1 to 1

View 1 Replies View Related

Debian Programming :: How To Include Version Information In SO Library

Oct 8, 2014

Suppose I have the library code in library.cpp. I found that to include the version information in the .so library, I had to use these command forms:

Code: Select allg++ -Wall -fPIC -c library.cpp
g++ -shared -Wl,-soname,library.so.0 -o liblibrary.so.0.1

The howto then continued to recommend creating symbolic links pointing at the newly compiled library. [URL] ....

The result is, during the booting sequence, I am receiving this error:

Code: Select alllibsystemd-login.so.1: no version information available (required by /usr/bin/dbus-daemon).

The library is the one I am working on.

View 5 Replies View Related

Programming :: Finding A Code For Network Adapter Information?

Nov 13, 2009

I want to get the hardware information in linux. As in windows we can have API to get the network adapter information and all. But in linux why dont we have? i try to read network adapter info in /proc/bus/devices file.. but that file is very hard to parse.and i looked at the lspci source c ode. but unfortunately I dint undersatnd that code to get the network adapter information.

View 1 Replies View Related

Programming :: Editing Text Files With Information From PostgreSQL DB?

May 16, 2011

Is there any way to edit text files with information in a database? The file is supposed to be always the same.. the information is going to be addedd in a specific format

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved