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
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.
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.
Changing the brightness and keyboard brightness does not give a notification, though the brightness changes. In addition, ejecting a cd, plugging in a usb device, and seeking/playing music gives no notification (though Rhythmbox tells me what track I've skipped to/played). Again, the cd does eject, the usb device can be accessed, etc. I'm not sure if this last one is a problem, but every notification except for the volume one appears about 80 pixels down from the top panel. This 80 pixels below the panel is only ever occupied by the volume notification. Ubuntu 10.04, gnome-power-manager 2.30.0 ubuntu1, notify-osd 0.9.29-0ubuntu2. I'm using a Dell Studio 1555 notebook.
I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.
The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error): - Memory stick - DVD-burner - Compaq mouse
I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?
Of course, it's Windows only, and XP only at that. However, the data that needs transferred between the device and the computer should be fairly basic, unless it offloads a lot of processing to the computer. I'm not a programmer, nor do I play one on TV, but I have written some fairly complicated microcontroller programs and some basic Java GUIs. Besides writing the actual code, how hard is it to do whatever needs done to make a Linux device driver, apart from the code to make the device work?
I am totally new to Linux and have a PC here with 128 MB Ram and a 10 GB HDD. It has Windows Millenium installed but I presume this will be wiped during the install process if I so wish.,
I am part way through the install using CD's and have just chosen my required alnguage and then keyboard layout. The next option is asking me to choose what device drivers to load and most appear to be HDD Drivers. I haven't a clue what to choose here?
I've a problem with character device mounting. I've a character device module code. Here is the code
Code: /* chardev.c: Creates a read-only char device that says how many times * you've read from the dev file */ #if defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS) #include <linux/modversions.h> #define MODVERSIONS
It's easy to bind a device to a usb driver by doing something like
Code: modprobe driver vendor=vid product=pid. I'm wondering if this can be done with a compiled-in module: is there a way to dynamically tell Linux to use a specific module for a device?
I am facing a serious problem.. i want a linux-device driver to work on windows is it possible.. see windows has device driver files as .sys and linux has .ko so is it possible..??
I wrote a small hello world type of character device driver. When I type echo -n "abcdef" > /dev/bond and do a cat /dev/bond then only last "f" of above input abcdef is displayed rest nothing is displayed. I asked this question earlier and some people suggested me some modifications I have done and experimented all that but I am unable to catch the error.
Here is the code
Code: /* Necessary includes for device drivers */ #include <linux/init.h> //#include <linux/config.h> #include <linux/module.h>
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 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'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 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