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?
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
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.
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).
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
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:
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.
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.
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...
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
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?
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:
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.
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.
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.
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.
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?
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.
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.
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.
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.
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?
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).
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.
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?)