<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general">
    <title>gmane.comp.lib.libhid.general</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/852"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/851"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/850"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/849"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/848"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/847"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/846"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/845"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/844"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/843"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/842"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/841"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/840"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/839"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/838"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/837"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/836"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/835"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/834"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.libhid.general/833"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/852">
    <title>Re: Configuration issue on SuSE 11.4 - SOLUTION</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/852</link>
    <description>&lt;pre&gt;Hi All,

I am wrong, python was not needed and the method of 'disabling' python is non-obvious. It needs to be disabled by disabling 'swig', which is also non-obvious as --help does not list --disable-swig as an option.

./configure --disable-swig &amp;amp;&amp;amp;
su
make install

appears to works just fine.




________________________________
 From: Charles Lepple &amp;lt;clepple&amp;lt; at &amp;gt;ghz.cc&amp;gt;
To: Robert Warner &amp;lt;rwarner1&amp;lt; at &amp;gt;yahoo.com&amp;gt; 
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt; 
Sent: Thursday, May 10, 2012 5:20 AM
Subject: Re: [libhid-discuss] Configuration issue on SuSE 11.3
 
On May 9, 2012, at 5:39 PM, Robert Warner wrote:


If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure._______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://&lt;/pre&gt;</description>
    <dc:creator>Robert Warner</dc:creator>
    <dc:date>2012-05-10T15:00:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/851">
    <title>Re: Configuration issue on SuSE 11.3</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/851</link>
    <description>&lt;pre&gt;Tried -disable-python, -disable-Python and -disable-PYTHON.  None worked.  Not sure why python is being used in this libhid, must be some sort of setup issue with the compile processing, no idea.  Looks like python is necessary for the build process to function correctly.  


Seems there has never been a definitive answer to the problem in the past either, looking through previous archives on the web.  Unless i missed the solution somewhere, which is possible.




________________________________
 From: Charles Lepple &amp;lt;clepple&amp;lt; at &amp;gt;ghz.cc&amp;gt;
To: Robert Warner &amp;lt;rwarner1&amp;lt; at &amp;gt;yahoo.com&amp;gt; 
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt; 
Sent: Thursday, May 10, 2012 5:20 AM
Subject: Re: [libhid-discuss] Configuration issue on SuSE 11.3
 
On May 9, 2012, at 5:39 PM, Robert Warner wrote:


If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure.___________________&lt;/pre&gt;</description>
    <dc:creator>Robert Warner</dc:creator>
    <dc:date>2012-05-10T14:41:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/850">
    <title>Re: Configuration issue on SuSE 11.3</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/850</link>
    <description>&lt;pre&gt;

If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure.
_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>Charles Lepple</dc:creator>
    <dc:date>2012-05-10T12:20:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/849">
    <title>Re: Configuration issue on SuSE 11.3</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/849</link>
    <description>&lt;pre&gt;
Unclear. Possibly you can disable python support in libhid as a
workaround. Look for suitable options in output from configure --help


//Peter

_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>Peter Stuge</dc:creator>
    <dc:date>2012-05-10T12:10:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/848">
    <title>Configuration issue on SuSE 11.3</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/848</link>
    <description>&lt;pre&gt;Hi,

How do I solve this issue?

Thanks in advance

checking for Python library path... /usr/lib64/python2.7/config/libpython2.7.so
checking for Python site-packages path... /usr/lib/python2.7/site-packages
checking python extra libraries...  -lpthread -ldl  -lutil
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... no
configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  =====================================================================&lt;/pre&gt;</description>
    <dc:creator>Robert Warner</dc:creator>
    <dc:date>2012-05-09T21:39:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/847">
    <title>New library for LUA: lualibhid</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/847</link>
    <description>&lt;pre&gt;Hi,
I'm Nelson from Argentina. In these days I'm working around a library 
for access to libhid in native way from LUA (script language). In this 
moment I can write the lshid example in a LUA script. This library is 
part of a bigger proyect that is developing. I want to thank for share 
your work.
Best regards.
-
Nelson

_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>Nelson Lombado</dc:creator>
    <dc:date>2012-04-23T05:31:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/846">
    <title>Re: USB libhid is writing to PIC but errors out reading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/846</link>
    <description>&lt;pre&gt;
Hmm, it seems you need to read the ABCs of USB before embarking
on this project.
http://www.usbmadesimple.co.uk/

As for your issue, you may want to check if your hardware and
firmware are correct or not. If possible, get a known-good hardware
(eg: the dev kits from Microchip) and then use the known-good
Microchip USB firmware framework to get familiar with the
stack first.




&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2011-11-16T11:49:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/845">
    <title>Re: USB libhid is writing to PIC but errors outreading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/845</link>
    <description>&lt;pre&gt;Well I had tried out the bootloader and I get the same problem. It writes to it as it says Querying Chip.
but then it gets disconnected when trying to write from the chip. No difference in the problem of either program.

I was told that D+ was the write to chip line and D- was the Read from chip line. 
checked out the connections they seemed to be good, but will debug the lines later
have to go somewhere. Wondering what could be the deal on this chip and bootloader if it has a not
read option or should it be readable from the get go?




________________________________
From: Daniel Yount &amp;lt;factorf2&amp;lt; at &amp;gt;yahoo.com&amp;gt;
To: Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt;
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt;
Sent: Tuesday, November 15, 2011 8:44 AM
Subject: Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.


I was in the wrong on this one, I was using the Bootloader firmware form the Generic HID Bootloader.
I installed the accompanying HID Bootloader fo&lt;/pre&gt;</description>
    <dc:creator>Daniel Yount</dc:creator>
    <dc:date>2011-11-15T15:19:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/844">
    <title>Re: USB libhid is writing to PIC but errors outreading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/844</link>
    <description>&lt;pre&gt;I was in the wrong on this one, I was using the Bootloader firmware form the Generic HID Bootloader.
I installed the accompanying HID Bootloader for the HIDBootloader and it all worked. or at least found
it will now test the uploading.

Thanks for your help.



________________________________
From: Daniel Yount &amp;lt;factorf2&amp;lt; at &amp;gt;yahoo.com&amp;gt;
To: Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt;
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt;
Sent: Tuesday, November 15, 2011 3:28 AM
Subject: Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.


I tried to get the Microchip HIDAPI Bootloader to find my 18f2455 chip 

and it would not. Just says disconnected at the bottom and give me no
options other than to kill the window.  The chip is in boot loader mode
i.e RB4 to ground and 10k to 5v usb + bus. It also shows up in the dmesg &amp;amp; lsusb list. 



________________________________
From: Daniel Yount &amp;lt;factorf2&amp;lt; at &amp;gt;yahoo.com&amp;gt;
To: Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt;
Cc: "libhid-&lt;/pre&gt;</description>
    <dc:creator>Daniel Yount</dc:creator>
    <dc:date>2011-11-15T14:44:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/843">
    <title>Re: USB libhid is writing to PIC but errors outreading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/843</link>
    <description>&lt;pre&gt;I tried to get the Microchip HIDAPI Bootloader to find my 18f2455 chip 

and it would not. Just says disconnected at the bottom and give me no
options other than to kill the window.  The chip is in boot loader mode
i.e RB4 to ground and 10k to 5v usb + bus. It also shows up in the dmesg &amp;amp; lsusb list. 



________________________________
From: Daniel Yount &amp;lt;factorf2&amp;lt; at &amp;gt;yahoo.com&amp;gt;
To: Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt;
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt;
Sent: Tuesday, November 15, 2011 2:08 AM
Subject: Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.


_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listi&lt;/pre&gt;</description>
    <dc:creator>Daniel Yount</dc:creator>
    <dc:date>2011-11-15T09:28:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/842">
    <title>Re: USB libhid is writing to PIC but errors outreading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/842</link>
    <description>&lt;pre&gt;Ok could not compile Qt4.7 packages because of the  Debian 6.0 stable distro,
it seems compiling for the Microchip HIDAPI needed some newer libuuid functions
.so I changed my /etc/apt/sources.list distro setting for source downloads to testing instead of stable

deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

updated my apt repo :

apt-get update 


downloaded the source for util-linux which contains the libuuid

apt-get source util-linux

uncompressed the tarball ,recompiled and installed and qtcreator compiled fine..
http://qt.nokia.com/downloads


Next will be to see if the compiled bootloader actually works now. Thanks for the help.



________________________________
From: Xiaofan Chen &amp;lt;xiaofanc&amp;lt; at &amp;gt;gmail.com&amp;gt;
To: Daniel Yount &amp;lt;factorf2&amp;lt; at &amp;gt;yahoo.com&amp;gt;
Cc: "libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org" &amp;lt;libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org&amp;gt;
Sent: Monday, November 14, 2011 6:50 AM
Subject: Re: [libhid-discuss] USB libhid is writing to PIC but errors out reading from it.

On Mon, Nov 14, 2011 &lt;/pre&gt;</description>
    <dc:creator>Daniel Yount</dc:creator>
    <dc:date>2011-11-15T08:08:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/841">
    <title>Re: USB libhid is writing to PIC but errors out reading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/841</link>
    <description>&lt;pre&gt;
If you download the latest Microchip USB stack, there is an HIDAPI
based cross-platform HID bootloader, you may want to try that one,
it works for me whereas mphidflash did not seem to work for me
(PIC18F87J50 USB PIM) last time I tried it.


&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2011-11-14T12:50:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/840">
    <title>USB libhid is writing to PIC but errors outreading from it.</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/840</link>
    <description>&lt;pre&gt;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 and writing USB data.
20mhz crystal no LEDs one jumper for bootloader mode and a switch for reset., nothing special. 

When I plug it in and use the "dmesg" commandline program I get.

[19195.480407] usb 1-1.2: reset full speed USB device number 6 using ehci_hcd
[19238.616399] usb 1-1.4: new full speed USB device number 50 using ehci_hcd
[19238.711891] usb 1-1.4: New USB device found, idVendor=2233, idProduct=7001
[19238.711900] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19238.711907] usb 1-1.4: Product: Generic HID
[19238.711912] usb 1-1.4: Manufacturer: Test
[19238.714576] generic-usb 0003:2233:7001.000F: hiddev0,hidraw3: USB HID v1.11 Device [Test Generic HID] on usb-0000:00:13.5-1.4/input0


I type "lsusb -v" and get.


Bus 001 Device 050: ID 2233:7001 Radio&lt;/pre&gt;</description>
    <dc:creator>Daniel Yount</dc:creator>
    <dc:date>2011-11-14T10:46:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/839">
    <title>Invitation to connect on LinkedIn</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/839</link>
    <description>&lt;pre&gt;LinkedIn
------------




    Vinnicyus Gracindo requested to add you as a connection on LinkedIn:
  
------------------------------------------

David,

I'd like to add you to my professional network on LinkedIn.

- Vinnicyus

Accept invitation from Vinnicyus Gracindo
http://www.linkedin.com/e/v4w2a4-gsrjou4r-m/BgKAxPA7sWjZqa-r4uhpcTxvxAsLX713sgym-55IRSHaX7J2xrkIAXTt/blk/I1720022525_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPkOdj8Oc30OdP59bStml78Ti6IQbP8Pe34Ne3kSczgLrCBxbOYWrSlI/EML_comm_afe/?hs=false&amp;amp;tok=1NQwJivWXvOkU1

View invitation from Vinnicyus Gracindo
http://www.linkedin.com/e/v4w2a4-gsrjou4r-m/BgKAxPA7sWjZqa-r4uhpcTxvxAsLX713sgym-55IRSHaX7J2xrkIAXTt/blk/I1720022525_3/3dvdj8Rcz8Mc38TckALqnpPbOYWrSlI/svi/?hs=false&amp;amp;tok=1v9Q212M3vOkU1

------------------------------------------

Why might connecting with Vinnicyus Gracindo be a good idea?

People Vinnicyus Gracindo knows can discover your profile:

Connecting to Vinnicyus Gracindo will attract the attention of LinkedIn users. See who's been&lt;/pre&gt;</description>
    <dc:creator>Vinnicyus Gracindo via LinkedIn</dc:creator>
    <dc:date>2011-09-19T14:23:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/838">
    <title>Re: libhid with python: help appreciated</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/838</link>
    <description>&lt;pre&gt;Thanks for your help. I'll try out your suggestions.

James

On 10/09/11 00:08, Charles Lepple wrote:


_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>JamesPK</dc:creator>
    <dc:date>2011-09-12T12:00:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/837">
    <title>Re: libhid with python: help appreciated</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/837</link>
    <description>&lt;pre&gt;

Again, with several endpoints possible, the destination of the message  
matters. (Windows apparently masks this difference when reading or  
writing to HID interfaces - it uses an interrupt endpoint if  
available, otherwise it issues a request on EP0.)

 From below, you only have "EP 1 IN" (plus the always-present EP0 IN/ 
OUT).

You probably want to use hid_set_output_report():

    http://libhid.alioth.debian.org/doc/hid__exchange_8c.html#7eb62286840ff33db4f68d58682bc4ad

And the path is going to look like { 0xFF000001, 0xFF000002 } (depth 2  
since there are two elements). See the comments in the example source  
code (or the archives of this list) for the derivation.

An alternate way of approaching this is to use one of the tools which  
converts USBSnoop (or similar) log files to sequences of direct libusb  
calls. Since your HID device is simply using the HID transport layer  
to pass 8-byte messages around, you might find it easier to just use  
libusb directly.

Look under "USB sniff log parser"&lt;/pre&gt;</description>
    <dc:creator>Charles Lepple</dc:creator>
    <dc:date>2011-09-09T23:08:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/836">
    <title>Re: libhid with python: help appreciated</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/836</link>
    <description>&lt;pre&gt;Great - thanks for the feedback. Comments online below:

On 09/09/11 03:22, Charles Lepple wrote:

Good question - I'm not sure if its a control message required??? I 
expect it might just be a normal 'write'  message (as on double checking 
the on the windows output the 'request' filed was set as listed as 'set 
report' )

Ok - 'lsusb -v' is at base of post.


Thanks.

James
-----------------------------------------------------------------
jamespk&amp;lt; at &amp;gt;hal:~/project/driver/hidapi$ sudo lsusb -v -d 0fde:ca01

Bus 006 Device 002: ID 0fde:ca01
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0         8
   idVendor           0x0fde
   idProduct          0xca01
   bcdDevice            3.02
   iManufacturer           0
   iProduct                1 Universal Bridge
   iSerial                 0
   bNumConfigurations      1
   Config&lt;/pre&gt;</description>
    <dc:creator>JamesPK</dc:creator>
    <dc:date>2011-09-09T13:37:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/835">
    <title>Re: libhid with python: help appreciated</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/835</link>
    <description>&lt;pre&gt;BTW, please subscribe to the list:

http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss

Thanks!

On Sep 8, 2011, at 6:45 AM, JamesPK wrote:


Not to sound too nit-picky, but is it an actual USB control transfer,  
or is it just a message that is being sent to the device?

USB has the notion of Control endpoints (EP0 IN and OUT), and also  
Interrupt endpoints. Not all devices have interrupt endpoints, but if  
you post the output of 'lsusb -v' (run as root, preferably after  
something like libhid has detached the kernel HID driver), we can see  
which endpoints are available.


Ah, I think I see what's going on: you passed endpoint 0 to  
hid_interrupt_write() - it should be 1 or higher. Again, lsusb output  
will pin this down.



_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>Charles Lepple</dc:creator>
    <dc:date>2011-09-09T02:22:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/834">
    <title>libhid with python: help appreciated</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/834</link>
    <description>&lt;pre&gt;Hi,

Apologies for what might be a basic libhid question.

I'm running Ubuntu, and using libhid via Python to communicate with a 
HID device (and have used 'lsusb' to glean all the details of the device).

I've started out with the example code here: 
http://anonscm.debian.org/viewvc/libhid/trunk/swig/test_libhid.py .I 
added  the vendor and product ID and the example code itself worked FINE.

I then added some code to the example. From the 'snooping' on the 
communication with the device under Windows it needs a control message 
with an initialisation string to initialise the device, which I thought 
would be:

INIT_SEQ='0x20 0x00 0x08 0x01 0x00 0x00 0x00 0x00'
ret = hid_interrupt_write(hid, 0, INIT_SEQ, 8)
  if ret != HID_RET_SUCCESS:
         log_error("hid_set_output_report", ret)

But when I added the above spinet to the example and run it I get:
(ALL messages fine up to here)
---------------------
NOTICE: hid_force_open(): successfully opened USB device 006/002[0].
   TRACE: hid_reset_parser(): resetti&lt;/pre&gt;</description>
    <dc:creator>JamesPK</dc:creator>
    <dc:date>2011-09-08T10:45:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/833">
    <title>Re: Invitation to connect on LinkedIn</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/833</link>
    <description>&lt;pre&gt;Please ignore this. I accidentally click a "yes"... Sorry!!!!!!!!!


--
Xiaofan

_______________________________________________
libhid-discuss mailing list
libhid-discuss&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2011-08-07T11:02:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.libhid.general/832">
    <title>Invitation to connect on LinkedIn</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.libhid.general/832</link>
    <description>&lt;pre&gt;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/


 
&lt;/pre&gt;</description>
    <dc:creator>Xiaofan Chen</dc:creator>
    <dc:date>2011-08-07T10:49:04</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lib.libhid.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lib.libhid.general</link>
  </textinput>
</rdf:RDF>

