hid

Find out which process has an exclusive lock on a USB device handle

I have a library that reads/writes to a USB-device using CreateFile() API. The device happens to implement the HID-device profile, such that it's compatible with Microsoft's HID class driver. Some other application installed on the system is opening the device in read/write mode with no share mode. Which prevents my library (and anythin...

What is the best usb library to communicate with usb HID devices on Windows?

The library should; -Be easy to use and few lines of client code should accomplish much -Be as platform independent as possible. (In case of future ports to other platforms) -Have C++ bindings. -Be mature and stable I would also like to be notified of most HID events through callbacks. I have considered the following alternatives: ...

Making a Windows Mobile device emulate a Bluetooth HID device

I'm looking for a way to connect a Windows Mobile device to a PC via Bluetooth and have it show up on the PC as a HID device (i.e. Keyboard or Mouse). I imagine this would mostly be a matter of modifying the available Bluetooth profiles on the Windows Mobile device so that it exposes a Bluetooth HID interface... Is that even possible? ...

USB HID pen requirements

Is there a USB HID pen driver in Windows Vista? If so, what are the requirements for USB descriptors, in order to make Windows Vista recognize the pen and load the pen driver? What I'm searching for is the pen equivalent to the HID mouse driver, HID keyboard driver and mass storage driver. The mentioned example drivers makes it possibl...

How to read a value from a barcode reader?

How to read a value from a barcode reader using c#. ...

Developing for a specialized computer with integrated hardware

We are looking at implementing a card-reader program for a integrated computer. The computer is a touch-screen with an embedded computer, running Windows XP, and a cardreader integrated into the screen. The reader is a USB device, but unfortunately integrated so tightly into this screen/computer that I cannot detach it and connect it to...

How to capture raw HID input on linux?

Short version of what I want to accomplish: I have a foot pedal (INFINITY-IN-USB-1, if that's of any interest) that is implemented as a generic HID device, and I would like it to be behave as control and alt keys on linux. I'm looking for something on the level on X, i.e. not just individual programs. Longer version: I have this setup ...

Howto Write to the GPIO Pin of the CM108 Chip in Linux?

The CM108 from C-Media has 4 GPIO pin that you can access via a hid interface. Using the generic write function in Windows I was able to write to the gpio pins. However I'm trying to do the same thing in Linux without success. The linux kernel detect the device as a hidraw device. Note: I was able to read from the device, just not w...

Search for kernel source code of HID.c v 2.6.27.14

Dear All I am looking for linux kernel source code for hid module hid.c for kernel version 2.6.27.14 Thanks & regards, madni madni[AT]gmail[DOT]com ...

Determining the HID Path for USB HID device using libhid on Linux

I’m interested in using libhid to access a custom HID device that we are developing on a PIC microcontroller. I have been able to successfully get the test_libhid code to run. The instructions for reading and writing to devices using this library are provided as comments in the test_libhid code. I have attempted to follow the document...

HID read() command

Dear All, Do any one knows the procedure of NON-BLOCKING reed() command for HID events in LINUX Currently I am using read(fd, ev, sizeof(struct hiddev_event) * EV_NUM); But it goes to BLOCKING stage, when my HID pointing device is NOT towards the sensoer bar Kind regards, Madni ...

Add insmod Kernel HID module

Dear All, I made certain modifications in hid module. I can make it and load (insmod) it on kernel v 2.6.27.14 sucessfully Now I am willing to load the same kernel module on kernel v 2.6.27.11 As there is no differance in the kerbel source files for both the kernel versions I can make it sucessfully, but I cannot add / insmod in th...

How to map USB HID input to keyboard strokes?

I am a .NET developer, and I want to turn my USB HID device (Mouse, Dance Pad, Guitar or Drums, specially Drums) into a keyboard (with few keys, I know). Do I need to develop this from scratch? Is there any tool that does that? Is there any library that would help me? ...

Argument Exception error type question

Can someone please explain the following Argument Exception : The structure must not be a value class to me please. It's being cause by the following line of code in my program: Marshal.PtrToStructure(m.LParam, dbh); given that dbh is of type: [StructLayout(LayoutKind.Sequential)] public struct Device_Broadcast_Header ...

Program for HID USB Scale

Hi guys, I'm looking for a program that can read the weight on a USB scale, namely the Pelouze 10lb USB Portable Scale. I thought it would have a virtual COM port driver but instead, it uses HID drivers. I've been searching for a whole month for a program that can help me transfer the reading of the scale to Microsoft Excel. Can someone...

Program for HID USB Scale to Transfer Weight to MS Excel

Hi guys, I need to find a program that can help me transfer the weight on the scale http://global.dymo.com/enUS/Products/10%5Flb%5F%5FUSB%5FMailing%5FScale.html onto Microsoft excel. Can someone help me out or point me in the right direction? The scale does signify that the reading has stabilized and I think that is the cue for it to wr...

How do I read events from a HID device under Ubuntu Jaunty?

I have a Linux USB HID device (a Hama MCE), and I can read its events manually by reading cat /dev/input/event7 and cat /dev/input/event8. Whenever I press a key on the device, a few bytes become available for reading with one of the cat commands above. I have a default installation of Ubuntu Jaunty 64-bit desktop on the machine. I thin...

Non-HID Mouse driver on NT

I'm looking to write a custom touchpad driver for my laptop, as its support under Windows is abysmal. I have the protocol figured out and I'm ready to go ahead and implement it, but I'm a bit confused as to how to go about it. It's a multitouch touchpad, so I'd like to support the Windows Touch interfaces in addition to standard mouse ...

How can you take ownership of a hid device?

What I would like to take ownership of a hid device that may already have been plugged in, consume it's output, while preventing others(X11 or terminal) from consuming it. If I can help it, I don't want to pretend to be a terminal, but rather to monopolize a particular hid or character device. The idea is that some hid devices may be re...

Looking for virtual USB HID driver

We designed a special communication tool for use on a wheelchair to control lights etc. We use Z-wave. We have app for control of these devices via PC. Unfortunately, the app expects a USB stick. Our design does not allow a USB connected stick. Instead we use serial interface module that links to the pc via Bluetooth and a virtual compo...