Ubuntu Installation :: How To Install The Libusb

Jul 23, 2010

I am trying to programming on leJOS and I need to some base on prerequisite steps. If Someone know could tell me how to install libusb on Ubuntu. And how can I check currently version or update or upgrade?

View 3 Replies


ADVERTISEMENT

Debian :: Libusb-dev Package Won't Install?

Feb 3, 2011

I am trying to get the libusb-dev package installed through Synapticslibusb-dev: Depends: libusb-0.1-4 (= 2:0.1.12-14) but 2:0.1.12-14ubuntu0.2 is to be installed E: Broken packagesI have also tried sudo apt-get install libusb-dev but the same result

View 3 Replies View Related

Ubuntu Installation :: Synaptic Uninstall Uninstalling Libusb-0.1-4

Feb 7, 2010

Synaptic 0.62.5. When uninstalling libusb-0.1-4, it removes many other unassociated applications (like gnome-desktop, evolution, the kernel in the /boot directory... not nice. See below with a simulated apt-get remove libusb-0.1-4.

Linux hpmaindesktop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

The following packages were automatically installed and are no longer required:

The following packages will be REMOVED:

I guess I should have checked this before removing for real as it blew away my desktop, boot kernel, etc. Time now to re-install packages.

[IMG]file:///tmp/moz-screenshot.png[/IMG][IMG]file:///tmp/moz-screenshot-1.png[/IMG]

View 2 Replies View Related

Ubuntu :: LibUSB - How To Check If It Is Installed

Jun 1, 2011

I'm trying to install libusb. I've downloaded a file from [URL]. I've unzipped the file; the folder's on my desktop. I've tried to install this, but I'm not sure how. Under installation it says: See the file 'INSTALL'. There are a few files that start with this term: INSTALL.libusb, INSTALL.libusb.in and install-sh. The first two appear to be the same, while the latter appears to be some sort of program.

When I double click it, I get a few options, including "run". I assumed this was the correct way to install the program, but when I hit run, nothing happens. I've displayed this file, but this gives me no additional information. I've tried running it in terminal: nothing. Maybe it has installed, and I just don't know it. How would I even check if it's installed? (I'm only installing libusb because I need it for something else).

View 5 Replies View Related

Ubuntu :: LibUSB Not Available To Sane Find Scanner

Apr 21, 2011

I too have what looks like the same problem. I too have read all the relevant man pages and other relevant sites:
Supported devices [URL]
CanoScan LiDE 110 (the printer I've just bought) has "complete" support apparently.
Followed directions here: [URL]
Read: [URl]
Another story of purchasing a "complete"ly supported scanner. [URL]
The solution? Use windows xp in a vm.

I don't think much of that sort of solution. As a temporary work around... ok. I'm running debian lenny.

Code:
uname -r
provides:
2.6.26-2-686

Code:
lsusb
provides:
Bus 005 Device 002: ID 04a9:1909 Canon, Inc.

Code:
sane-find-scanner -v -f
provides:
libusb not available
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# SANE has been built without libusb support. This may be a reason
# for not detecting USB scanners. Read README for more details.

Code:
scanimage -L
provides:
device 'v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device

Code:
dpkg-query -l '*libusb*'
clearly shows I have libusb installed:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library

View 2 Replies View Related

Programming :: Libusb Tutorial ?

Jul 25, 2011

Any good tutorial for libusb APIs..

View 3 Replies View Related

OpenSUSE :: Piklab, PICKit 2 And Libusb Under 11.2?

Jul 15, 2010

I am running 11.2 64 bit on a Dell Vostro machine. I am unable to get piklab to connect to a PICKit 2 over USB. I have created a file /etc/udev/rules.d/26-microchip.rules which contains the line:

ATTR{idVendor}=="04d8", ATTR{idProduct}=="0033", OWNER:="root", GROUP:="users",MODE:="0660"

This gives a node /dev/bus/usb/006/002 with attributes crw-rw---- owner root group user. The device is rear/write to any member of the "users" group.In piklab the dialogue "Configure Piklab" reached through the menu Programmer->Settings... on the Preogrammer Selection the Port Selection tab displays USB Connection:Error.After much research I find that there may be problems with the libusb library under 11.2 so I try to see what is returned by lsusb. I enter the command:

sudo lsusb -v -s 006:002

this returns:

Bus 006 Device 002: ID 04d8:0033 Microchip Technology, Inc.

Device Descriptor:

bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)

[code]....

This shows that the udev mechanism appears to be finding the device and all the data is being collected but the last line looks ominous.

What does "cannot read device status, Broken pipe (32)" mean and where does it come from? Is this the cause of the USB connection error?

View 1 Replies View Related

Red Hat / Fedora :: LibUSB On FC - Yum List Installed

Apr 14, 2011

I got Fedora core release 3
kernel 2.6.9-.667

I would like to know which command I have to use to see the libusb installed. I used this:
yum list installed | grep usb
but no output.

View 6 Replies View Related

General :: Libusb Driver Functonality

Jul 6, 2010

I am unable to understand libusb.

View 2 Replies View Related

Programming :: Learning LibUSB From C Code

Oct 1, 2010

I'm trying to learn how to use USB from c code. Rather trying kernel stuff I thought I'd (after some searching ) use libusb. So I searched for documentation, unfortunately I came across two sets of documents each with it's own API?
[URL] and [URL]
For example one inits with libusb_init (libusb_context **context) the other uses void usb_init(void); I'm using libusb rather than kernel programming as I'd like to compile the code for windows as well as linux.

View 2 Replies View Related

Debian Configuration :: USB Device Not Found With Libusb?

Sep 24, 2010

I run a program (findknxusb) to scan for devices on USB, but the device is not found.

The debugging level for libusb is on:
$ ./findknxusb
Possible addresses for KNX USB devices:
libusb_set_debug...
libusb: setting debugging level to 1 (on)
libusb_init...

[Code]....

View 1 Replies View Related

Fedora :: Libusb-1.0 Time-out When Reading From HID Device?

Jun 25, 2009

I'm having a weird problem with libusb-1.0. I have a fresh install of Fedora 11. I'm trying to control a USB HID device (own development) and I want to offer Linux support via libusb. Writing to the device is not a problem and works without any problem. The problems starts when I want to read from the device. Under Windows everything works without a problem.

Via lsusb -v I get this information:
Bus 003 Device 013: ID 16c0:0552
Device Descriptor:
bLength 18
bDescriptorType 1

[Code]...

View 1 Replies View Related

Hardware :: USB Device Driver Notification Using Libusb V0.1 API?

Jan 18, 2010

I have an application that reads data from a medical device connected using usb.

I am writing the driver for this device since it is a vendor specific device.

I am using libusb v0.1 API and get notification to the application when the device is connected/disconnected.

I am using Linux Ubuntu with kernel 2.6.*

View 1 Replies View Related

Programming :: Compiling Libusb C++ Program To Run Without It's Dependencies?

Aug 6, 2010

I've built a piece of hardware that communicates using usb. I was wondering could I make a libusb based program run on it's own without gcc/ libusb

View 10 Replies View Related

Programming :: Libusb Error Claim Device -6

Jun 21, 2011

I am trying to read raw data from usb device with libusb but I have some problems.

Code:
int main(void)
{
struct sigaction sigact;
int r = 1;
r = libusb_init(NULL);

[Code]...

View 2 Replies View Related

Fedora :: LibUSB 1.0 - Read / Write Privileges For Users

Dec 13, 2010

I am developing a program that uses libusb-1.0 on a FC14 x64 system. I solved the compile and link issues, but I now have a problem with user privileges when I try to get device handles. The problem appears to be in the mounting of the usbfs. Is the an accepted fix to giving users read/write privileges for all usb devices?

View 4 Replies View Related

Slackware :: Xsane Does Not Find Scanner And Libusb Permission Error?

Oct 25, 2010

I am tired, and I simply can't find an easy answer.So, today I need the scanner in slackware64 13.1, only to find that it does not work as user. I have an HP Deskjet F2180 and using CUPS it is identified as hp:/usb/Deskjet_F2100_series?serial=CN81H4S2SP04TK.In the past the simple solution was to add oneself to the right groups, but it does not work this time.As user I get:


Code:
bash-4.1$ sane-find-scanner
...

[code]...

View 2 Replies View Related

OpenSUSE Hardware :: Hp Scanjet 3300c And Libusb Errors On 11.2 - System Freezes Up

Feb 12, 2010

I've been using this scanner on various suse builds all the way back to version 8. This week I installed OpenSuse on a brand new computer and when I run xsane, I receive these messages.

[Code]....

The scanner will scan for a few seconds and then the entire system freezes up.

View 2 Replies View Related

Slackware :: Error - Libusb Couldn't Open USB Device /dev/bus/usb/001/001: Permission Denied

Mar 24, 2011

Hello,

this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.

Error in console:

libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes.

my sript runs:

scanimage
--device $MODEL
--resolution=$RESOLUTION
-x 5104 -y 6840

my groups:

uid=1000(fogie) gid=100(users) groups=100(users),7(lp),11(floppy),12(mail),15(man),17(audio),18(video),19(cdrom),20(games),21(sloca te),83(plugdev),84(power),86(netdev),93(scanner)

Even a simple:

scanimage -Lv

in console gives this on a separate --current pc as well.

View 2 Replies View Related

Fedora :: Error - Found USB Scanner (vendor=0x04a9 [Canon], Product=0x2213 [CanoScan], Chip=GL841?) At Libusb:001:006

Aug 1, 2009

Since installing F11, my Canon LIDE 50 scanner refuses to work. xsane 0.996 produces an error message: Failed to start scanner: Error during device I/O.

sane-find-scanner says it is there: found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan], chip=GL841?) at libusb:001:006 But scanimage -L claims: No scanners were identified.except once when it admitted: device `genesys:libusb:001:006' is a Canon LiDE 35/40/50 flatbed scanner

I reluctantly tested the scanner on a Windoze machine and it works perfectly. And it worked perfectly under F10.

View 9 Replies View Related

OpenSUSE Network :: IPP Printing Error "libusb Couldn't Open USB Device"

Feb 12, 2010

I have an HP OfficeJet 5610v installed on my system, and cups can print the test page. I can also get the test page to print via [URL] which appears to be printed under the anonymous user. Now if I attempt to print the test page via the printer control panel from windows, I get the following sets of error:

D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied.
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.

CUPS is showing that the "user" is my XP login name so I added that user to Linux and even added that account to the "lp" group and still get the above errors.

View 8 Replies View Related

Ubuntu Installation :: Possible To Create An ISO Install File/CD From Snapshot Of Current Working Install?

Sep 25, 2010

I have an apparently stable installation of Xubuntu that I've hand-tweaked in a few ways. I'd like to be able to reinstall this system verbatim on this machine should a disk crash happen, etc.Is there a "standard" method to create an install and/or total-backup CD that would be an instantiation of the currently-installed-and-modified system?

View 1 Replies View Related

Ubuntu Installation :: Server Install On Laptop Doesn't Install Pcmcia Support?

Jan 12, 2011

I am installing Ubuntu Server 10.10 on and old Dell Laptop. The network connection is an Xircom PCMCIA card.During install, the computer sees and interacts via the network just fine. For example, I can ping the gateway. Also, the command "lspcmcia" works and show the Xircom card.When I reboot, however, there is no network access, and the "lspcmcia" command is not there. When I try "lspcmcia" the OS helpfully tells me that I can "apt-get" pcmciautils, but, without network access, that fails.I tried adding the install cdrom to apt using "apt-cdrom" and then tried to "apt-get" pcmciautils and it got further, installing some dependencies, but acted like it still was unable to locate the pcmciautils package.

View 1 Replies View Related

Ubuntu Installation :: Install On Hp Pavillion - Hangs On Initial Install Screen Forever

Aug 11, 2011

Trying to install Ubuntu (tried several releases) on HP Pavillion Pentium 4 Proccessor 515 2.93 Gig 1M L2 cache 533mhz 90nm . Have 1 gig ram and 1Tb hd. Hangs on initial install screen for ever. Tried versions from 8.10 (origional disk) to 11.01. Machine works perfectly on Windows XP but who wants that? The model is pavillion 1000 system number pl397aa.

View 7 Replies View Related

Ubuntu Installation :: CD Install - Starts To Install Asks About The Partition Then The Keyboard

Nov 17, 2010

I downloaded Ubuntu and burned it to a CD-There was no problem with that part. It starts to install asks about the partition then the keyboard. Then it just stops and does nothing.

View 3 Replies View Related

Ubuntu Installation :: Install Step Fails: Select And Install Software?

Jan 7, 2011

I'm an OpenSuse user wanting to try something different.Ubuntu Studios caught my attention. I had a brief play with an older version a while ago and liked whatI saw.Im having problems installing though.I've downloaded the 32bit version from the studio website link, and burnt the DVD.However the install always fails at the same stage: Select and install software.The error message is not specific, and no more information is given other than the step has failed.Any ideas what could be causing this? Ive tried to burn the DVD several times, on 2 different machines, but no luck so far.

View 8 Replies View Related

Ubuntu :: Install Drivers To Install / Boot After Installation From Raid Drives

Mar 1, 2011

Installing Ubuntu 10.10 desktop.on a Highpoint rocketraid 2642.Installing Ubuntu, it does not find the drive?How do I install the drivers to install and boot after the installation from the raid drives?

View 1 Replies View Related

Ubuntu Installation :: Kubuntu-Desktop Install Moved Install?

Mar 7, 2010

I installed Kubuntu-Desktop on Ubuntu & now my Ubuntu installation is on the 2nd (data)partition! It's hard to believe but I'm looking at it from a live cd and that's what looks like happened.For right now, my main goal is to get Ubuntu back.Should I make the 2nd partition bootable so I have a dual-boot option at startup? Should I make the 2nd partition bootable & not the first? Can I uninstall Kubuntu somehow & have things return to how they were?I thought I was just loading an alternative sassion to Gnome.I thought that the only thing I said yes to was to use the KDE boot manager (or whatever).

View 8 Replies View Related

Ubuntu Installation :: Migrate Wubi 10.04 Install To A Full Install?

Mar 19, 2011

What is the easiest and/or safest way to migrate my Wubi 10.04 install to a full install? Currently, my Dell XPS M1530 is currently dual-booting Ubuntu 10.04 LTS and Windows Vista Home Premium, and I've decided after using Windows a total of around 4 hours over the past 6 months that I can probably let it go. So, I don't need Windows anymore and I believe I'm ready for a full install of Ubuntu. Though, I probably will wait for 11.04 to come out first.

A few ways I've thought of already are: 1) Find an external hard drive to put the Wubi files on. 2) Upload files to an storage website. 3) Temporarily put the Wubi files onto another computer (Windows). All these meaning I would then wipe my harddrive and install Ubuntu from a CD. And by "files", I mean Documents, Pictures, Downloads, etc.

EDIT: deleting all my applications, because OpenOffice.org won't reinstall on my computer due to dependency issues while attempting to install LibreOffice. So a fresh install would be nice.

View 4 Replies View Related

Ubuntu Installation :: Re-install Grub2 After New Win7 Install To New Disc?

Apr 18, 2011

I have been running ONLY linux (ubuntu) on my computer for years now. However, a friend sucked me back into the world of MMO's (angry fist @ RIFT). So, I decided to pick up a new disc, slap windows 7 on it and now want to dual boot.Basically I had to do some disc juggling to get windows to play nice. So my windows drive is now first, then my Ubuntu drive second.Its been a while so I'm wondering how involved / what would be the steps to get grub2 to chainload into windows7 (in my head I want to say I'm going to boot into the live cd, mount the windows disc and reinstall the loader to the windows drive since its the first disc in the chain?)

View 1 Replies View Related







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