Re: [libhid-discuss] Windows support?

2008-03-27 Thread Xiaofan Chen
Long post. On Thu, Mar 27, 2008 at 11:38 PM, Charles Lepple [EMAIL PROTECTED] wrote: Xiaofan Chen wrote: Wait a moment, I remember someone has ported libhid to Win32 in libusb-win32 mailing list. You may want to contact him (Rob Krakora). http://permalink.gmane.org

Re: [libhid-discuss] Correct Library?

2008-05-24 Thread Xiaofan Chen
On Fri, May 23, 2008 at 10:52 PM, Charles Lepple [EMAIL PROTECTED] wrote: Ideally this would work like this: * application asks libhid for a list of HID devices ** libhid asks [ libusb | Windows HID API ] for a list of HID devices I think this is the ideal way and should be the way forward.

Re: [libhid-discuss] How to use libhid-detach-device to detach kernel hid driver for a composite device

2008-10-24 Thread Xiaofan Chen
On Sat, Oct 25, 2008 at 3:13 AM, Charles Lepple [EMAIL PROTECTED] wrote: On Oct 24, 2008, at 11:41 AM, Xiaofan Chen wrote: Reference: http://forum.microchip.com/tm.aspx?m=364987 The signal-to-noise ratio of that thread is pretty low. What are we looking at? Post 14, 19 and 20 in the thread

Re: [libhid-discuss] error sending control message

2009-02-03 Thread Xiaofan Chen
On Wed, Feb 4, 2009 at 9:44 AM, Charles Lepple clep...@ghz.cc wrote: On Feb 3, 2009, at 3:25 PM, Brent Bushnell wrote: For what it's worth, we're having the same issue with a magnetic stripe reader from ID Innovations.Of special interest also, is that the report descriptors are

Re: [libhid-discuss] Does libhid require a driver installation on windows?

2009-03-11 Thread Xiaofan Chen
On Wed, Mar 11, 2009 at 4:51 PM, Gabriel Rossetti gabriel.rosse...@arimaz.com wrote: On 4/11/07, Stephan Meyer wrote: / On 4/10/07, Xiaofan wrote: // The thing is that you need to uninstall the kernel HID driver and // use the libusb-win32 device driver for this kind of HID device. This //

Re: [libhid-discuss] Talking to an HID device from user account in Linux

2009-03-30 Thread Xiaofan Chen
2009/3/31 Ali Asad asad@gemalto.com: As I understand it, the use of libhid requires root access in order to read-write from the device, right? This is how I have tested my application. Is there another way to talk to the HID device so that root access is not required? If so what would I

Re: [libhid-discuss] problems with libhid and Oregon Scientific weather station WMRS203 (interrupt read)

2009-08-01 Thread Xiaofan Chen
On Tue, Jul 28, 2009 at 1:42 PM, Jordi Puigsegurjordi.puigse...@gmail.com wrote: I am trying to use libhid to acces a Oregon Scientific weather station (model WMRS200). It is recognised as a hid device. Using code similar to test_hid.c and with ideas borrowed from the following web page: 

Re: [libhid-discuss] Misunderstanding input and output paths

2010-04-22 Thread Xiaofan Chen
I will probably start with something simpler and to understand the various concept of HID device, Input/Output/Feature report and report IDs. In the first glance, the device has multiple report IDs. You can use Control Transfer to set and get various reports. You can also use Interrupt transfer

Re: [libhid-discuss] retrieving large HID descriptor bytes

2010-06-15 Thread Xiaofan Chen
On Wed, Jun 16, 2010 at 1:34 AM, stone mike vrspace1...@yahoo.com.tw wrote: Report Descriptors:    ** UNAVAILABLE ** What if you do not use libhid, but use the vanilla usbutils (lsusb -vvv)? You need to detach the kernel HID driver first. To do that, you can use

Re: [libhid-discuss] retrieving large HID descriptor bytes

2010-06-16 Thread Xiaofan Chen
On Thu, Jun 17, 2010 at 9:39 AM, mike stone vrspace1...@yahoo.com.tw wrote: What if you do not use libhid, but use the vanilla usbutils (lsusb -vvv)? You need to detach the kernel HID driver first. To do that, you can use libhid-detach-device.     Thanks,  lsusb can get Report Descriptors,

Re: [libhid-discuss] HID vs. vendor specific class

2010-07-21 Thread Xiaofan Chen
On Thu, Jul 22, 2010 at 10:51 AM, John Parsons jfpars...@fastmail.fm wrote: The product is a proximity sensor, and is built around a Microchip PIC18F14K50, their low cost 20-pin device with USB connection.  Though this device is not exactly human interactive, I initially planned to release

Re: [libhid-discuss] HID vs. vendor specific class

2010-07-21 Thread Xiaofan Chen
On Thu, Jul 22, 2010 at 1:32 PM, Xiaofan Chen xiaof...@gmail.com wrote: BTW, despite the name libhid, I think libhid is not really meant for generic HID device. Its strong point is the HID report parser. For generic HID device, you do not really need libhid, rather generic libusb-1.0

Re: [libhid-discuss] Multiple duplicate interfaces?

2010-10-03 Thread Xiaofan Chen
On Mon, Oct 4, 2010 at 3:09 AM, Peter Stuge pe...@stuge.se wrote: I haven't tried HIDAPI that Peter mentioned, but it sounds like it might offer a more portable solution. Indeed. With libusb there is still the matter of kernel drivers. The Windows support in libusb-1.0 tries to fake it on top

Re: [libhid-discuss] HIDAPI license (was Re: unable to include hid.h in C++)

2010-10-30 Thread Xiaofan Chen
On Sat, Oct 30, 2010 at 7:53 AM, Charles Lepple clep...@ghz.cc wrote: http://github.com/signal11/hidapi/blob/master/LICENSE.txt mentions GPL as an option. HIDAPI can be used under one of three licenses, which is very liberal. 1. The GNU Public License, version 3.0, in LICENSE-gpl3.txt 2. A

[libhid-discuss] libhid 0.2.16 Windows Port Download

2010-10-30 Thread Xiaofan Chen
I just dug out the libhid 0.2.16 Windows port from Rob Krakora just in case some people in this list is interested. The original zip file is for VS2005. I also provide the zip file with updated 2008 projects. http://code.google.com/p/picusb/downloads/list I have not really did much tests so

Re: [libhid-discuss] Inconsistency while reading data from the usb device

2010-12-09 Thread Xiaofan Chen
On Fri, Dec 10, 2010 at 1:48 AM, shiva vadla shiva...@gmail.com wrote: Just a guess, what if you reset the hid interface before closing the interface? Thanks for the response. I have just tried that, but I still see the same issue. Any suggestions? Sorry I have no idea. Maybe you want to

Re: [libhid-discuss] libhid + swig - c#

2011-04-09 Thread Xiaofan Chen
On Sun, Apr 10, 2011 at 6:56 AM, Charles Lepple clep...@ghz.cc wrote: On Apr 8, 2011, at 1:25 PM, Rudolf Muehlbauer wrote: I am wondering what the current status of libhid is. Is it still maintained, used? The last svn commit was back in 2008. I have been recommending that people consider

[libhid-discuss] Invitation to connect on LinkedIn

2011-08-07 Thread Xiaofan Chen
LinkedIn I'd like to add you to my professional network on LinkedIn. - Xiaofan Xiaofan Chen Staff Engineer at Rockwell Automation Singapore Confirm that you know Xiaofan Chen https://www.linkedin.com/e/v4w2a4-gr1w3ws4-1t/isd/3781282545/wp8Mspsk/ -- (c) 2011, LinkedIn

Re: [libhid-discuss] Invitation to connect on LinkedIn

2011-08-07 Thread Xiaofan Chen
On Sun, Aug 7, 2011 at 6:49 PM, Xiaofan Chen xiaof...@gmail.com wrote: LinkedIn I'd like to add you to my professional network on LinkedIn. Please ignore this. I accidentally click a yes... Sorry! -- Xiaofan ___ libhid-discuss mailing

Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.

2011-11-14 Thread Xiaofan Chen
On Mon, Nov 14, 2011 at 6:46 PM, Daniel Yount facto...@yahoo.com wrote: Using Linux 3.x kernel and debian 6.0 stable distro. USB flash program 1.3 http://code.google.com/p/mphidflash/ libhid 0.2.16 I have installed a Generic HID bootloader  and a basic p18F2455 circuit setup for reading

Re: [libhid-discuss] Trying to repair a program using libhid to configure an Ultimarc Joystick

2015-03-24 Thread Xiaofan Chen
On Wed, Mar 25, 2015 at 11:43 AM, Andrew Silverman andre...@microsoft.com wrote: I’m having some trouble understanding how to set up the destination bits correctly for requesttype/request – When I looked at the USB 2 spec tables that describe these, they just don’t seem to correspond in a

Re: [libhid-discuss] Trying to repair a program using libhid to configure an Ultimarc Joystick

2015-03-24 Thread Xiaofan Chen
On Wed, Mar 25, 2015 at 12:12 PM, Andrew Silverman andre...@microsoft.com wrote: What I don't really understand is the 0x43/0xC3 bytes for requesttype and the E9/EA/EB values in request. (Assuming that I am correctly understanding those param mappings in the existing calls to usb_control_msg,

Re: [libhid-discuss] Can libhid be used to create a "virtual" Bluetooth device?

2017-02-09 Thread Xiaofan Chen
On Thu, Feb 9, 2017 at 3:48 AM, Chip Wachob wrote: > Hello, > > Very new to Linux and USB/BT. > > I have an interest in making a PC running Linux (specifically Ubuntu 16.04 > LTS) appear to be a BT device which other BT-enabled devices can pair with. > I am most interested in