[Linux-usb-users] hiddev

2007-10-19 Thread Patrick Urweider
Hi, I developed a HID-device on a Intel/Marvel PAX270 Processor. The Enumeration works fine and i receive Datapackets from the device. But I need an OUT Endpoint to send data to my device(HID 1.1). How can i send Data to the OUT Endpoint with hiddev. thanks in advance for your help Patrick Urwei

[Linux-usb-users] HIDDEV

2007-03-10 Thread Ribamar Santarosa de Sousa
hello, i've seen in examples of HIDDEV[1]: "usage: %s hiddevice - probably /dev/usb/hiddev0\n" does anyone know the most elegant way to discover the /dev entry to open? the best thing I thought up to now is to mknod() from minor=96 .. 111 and to ioctl(HIDIOCGSTRING), searching for the string which

[Linux-usb-users] HIDDEV

2007-03-08 Thread Ribamar Santarosa de Sousa
hello, i've seen in examples of HIDDEV[1]: "usage: %s hiddevice - probably /dev/usb/hiddev0\n" does anyone know the most elegant way to discover the /dev entry to open? the best thing I thought up to now is to mknod() from minor=96 .. 111 and to ioctl(HIDIOCGSTRING), searching for the string which

[Linux-usb-users] hiddev: interval problems (ref. hid-0723.patch)

2005-12-16 Thread Henk Fijnvandraat
Hi, I'm working on a CY7C68320 which is an USB to ATA/ATAPI and HID device. The interrupt pipe of the HID section sets its polling interval to 10. When connected to an [USB 1 host and/or USB 1 hub ] or [USB 2 host through USB 1 hub] it functions properly. However, when connected to an USB 2 ho

[Linux-usb-users] hiddev question

2005-06-08 Thread Jeff Lange
Hi all, I'm developing a simple USB device that reports itself as a HID device, and uses interrupt transfers to send about 250 bytes of data whenever an event occurs on the device. I've managed to communicate with it and get the data using libusb, but I've found that if the hid module is inser

Re: [Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-17 Thread Uwe Dürr
Thanks folks for your replies. I sure will have a look at libusb and the hotplug mechanism as an alternative. Nevertheless, hiddev would deliver the required functionality I need, without too much dependencies on other components. I probably will provide both ways. On Thursday 17 March 2005 17

Re: [Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-17 Thread Stephen J. Gowdy
You need to make sure the user able to access the /proc/bus/usb/NNN/YYY "files". A hotplug script can do that. On Thu, 17 Mar 2005, Uwe [iso-8859-1] Dürr wrote: > Arnaud, > thanks for your reply. > > Because libhid is based on libusb and libusb is a usermode driver, does this > mean that the appl

Re: [Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-17 Thread arnaud . quette
> Because libhid is based on libusb and libusb is a usermode driver, does this > mean that the application linked with libusb must be running under root? > Please correct me if I am wrong. > > I tried libusb in the past and I can remember, that I had to set the setuid > bit for the linked applica

Re: [Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-17 Thread Uwe Dürr
Arnaud, thanks for your reply. Because libhid is based on libusb and libusb is a usermode driver, does this mean that the application linked with libusb must be running under root? Please correct me if I am wrong. I tried libusb in the past and I can remember, that I had to set the setuid bit f

Re: [Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-16 Thread arnaud . quette
> ... You might also want to give a try to libhid which is a userland HID library, based on libusb. It's not complete, though it should answer your need... See: http://alioth.debian.org/projects/libhid Arnaud --- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt OpenSource Developer - http://arnau

[Linux-usb-users] hiddev, 2.6.11.3, Problem

2005-03-16 Thread Uwe Dürr
Hi folks, I have probably a bugreport for hiddev. Scenario: I am using hiddev to communicate with a HID device. The communication is based on reports sent and received. I notice problems with the older and newest kernels. Several were fixed in the past but with 2.6.11.3 several problems are back.

[Linux-usb-users] Hiddev lost

2003-11-27 Thread Gabriel Viola
Hello, I'm doing a HID firmware with a 9603 from National/ 8051 microcontroller ( application with the hiddev driver) The problem I have now is I can`t open the /dev/hiddev0 (No such device error ), but one month before I opened it. The firmware is different now, I fix a lot of bug, and I test it

Re: [Linux-usb-users] hiddev with PICKit 1 Flash Starter Kit

2003-07-24 Thread William R. Dieter
Brad Hards wrote: Probably not, although it helps enormously to know what you are actually trying to do. I am trying to develop code for an 8-bit PIC microcontroller (12F675) using a PICKit 1 Flash Starter Kit (only $36). My microcontroller application does not involve USB, but the starter

Re: [Linux-usb-users] hiddev with PICKit 1 Flash Starter Kit

2003-07-23 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 23 Jul 2003 07:28 am, William R. Dieter wrote: > I admit I am not very familiar with USB details. I did look through the > USB spec. and saw that low speed devices use 8 byte packets, so I am > guessing this is a low speed device. The USB HID

[Linux-usb-users] hiddev with PICKit 1 Flash Starter Kit

2003-07-22 Thread William R. Dieter
Has anyone tried talking with a PICKit 1 Flash Starter Kit over USB? It is a development board for programming a PIC 12F675 chip (as well as other 8 and 14-pin PIC microcontrollers). The USB interface is implemented in a PIC16C745. I am running a 2.4.21 kernel with the hid module and hiddev e

Re: [Linux-usb-users] HIDDEV/EVDEV

2002-10-22 Thread Reid Thompson
Sorry, failed to mention hos controller driver (usb-uhci) This lsmod taken after device was disconnected. # lsmod Module Size Used byTainted: PF streams-dvbmDriver126912 4 streams-sctmrDriver25888 0 (unused) streams-gpioDriver 9644 0 streams-gncfdDriver

Re: [Linux-usb-users] HIDDEV/EVDEV

2002-10-22 Thread Randy.Dunlap
On Tue, 22 Oct 2002, Reid Thompson wrote: | contents of /proc/bus/usb/devices. The device of interest is the Topaz | HID Tablet ( between the double lines) | ... | = | T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 7 Spd=1.5 MxCh= 0 | D: Ver=

Re: [Linux-usb-users] HIDDEV/EVDEV

2002-10-22 Thread Reid Thompson
contents of /proc/bus/usb/devices. The device of interest is the Topaz HID Tablet ( between the double lines) T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0

Re: [Linux-usb-users] HIDDEV/EVDEV

2002-10-22 Thread Randy.Dunlap
On Tue, 22 Oct 2002, Reid Thompson wrote: | Is there a means to alter the read frequency for hiddev/evdev devices? | I have an HID device that outputs at 1ms intervals and, after some | research, it appears that evdev & maybe hiddev are read at 2ms | intervals I am getting what appears to be

[Linux-usb-users] HIDDEV/EVDEV

2002-10-22 Thread Reid Thompson
Is there a means to alter the read frequency for hiddev/evdev devices? I have an HID device that outputs at 1ms intervals and, after some research, it appears that evdev & maybe hiddev are read at 2ms intervals I am getting what appears to be bad data from the hiddev device -- could it be