<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14232</id>
	<title>Nabble - LibUSB Dev</title>
	<updated>2009-11-29T11:50:22Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/LibUSB-Dev-f14232.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LibUSB-Dev-f14232.html" />
	<subtitle type="html">&lt;a href=&quot;http://libusb.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;LibUSB&lt;/a&gt;&amp;nbsp;is a library for use by user level applications to access USB devices regardless of OS.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26565372</id>
	<title>[PATCH] libusb 1.0 Windows backend (1/4) : new sources</title>
	<published>2009-11-29T11:50:22Z</published>
	<updated>2009-11-29T11:50:22Z</updated>
	<author>
		<name>Pete Batard</name>
	</author>
	<content type="html">And this is the final patch in the series to get a Windows version of libusb 1.0x off the ground.&lt;br&gt;&lt;br&gt;This one contains the new MinGW Windows backend files (to be added in libusb/os).&lt;br&gt;&lt;br&gt;If you have applied the previous patches to the current tree and have added these files, you should be able to compile libusb as well as the lsusb example on Windows.&lt;br&gt;
Note that you must have pthread-win32 installed (with the pthread.h header available in your include directory) as well as the various autoconf/automake tools needed to run the autogen.sh script&lt;br&gt;&lt;br&gt;/Pete&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;04_new_sources.zip&lt;/strong&gt; (17K) &lt;a href=&quot;http://old.nabble.com/attachment/26565372/0/04_new_sources.zip&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--libusb-1.0-Windows-backend-%281-4%29-%3A-new-sources-tp26565372p26565372.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565334</id>
	<title>[PATCH] libusb 1.0 Windows backend (3/4) : core files modifications</title>
	<published>2009-11-29T11:45:40Z</published>
	<updated>2009-11-29T11:45:40Z</updated>
	<author>
		<name>Pete Batard</name>
	</author>
	<content type="html">This is the third patch in the series to get a Windows version of libusb 1.0x off the ground.&lt;br&gt;&lt;br&gt;This patch contains the necessary changes to the current core files.&lt;br&gt;Most of it has to do with ditching the requirement for poll.h in order to use the windows_compat version (see next patch) and letting the core source know about the windows backend.&lt;br&gt;
&lt;br&gt;/Pete&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565334&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;03_windows_backend_existing.diff&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26565334/0/03_windows_backend_existing.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--libusb-1.0-Windows-backend-%283-4%29-%3A-core-files-modifications-tp26565334p26565334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565291</id>
	<title>[PATCH] libusb 1.0 Windows backend (2/4) : Windows support in autoconf/automake</title>
	<published>2009-11-29T11:42:52Z</published>
	<updated>2009-11-29T11:42:52Z</updated>
	<author>
		<name>Pete Batard</name>
	</author>
	<content type="html">This is the second patch in the series to get a Windows version of libusb 1.0x off the ground.&lt;br&gt;&lt;br&gt;This one adds the required changes to autoconf/automake to support MinGW. It should not modify any parameters for the other OSes.&lt;br&gt;
&lt;br&gt;/Pete&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565291&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;02_automake.diff&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26565291/0/02_automake.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--libusb-1.0-Windows-backend-%282-4%29-%3A-Windows-support-in-autoconf-automake-tp26565291p26565291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565281</id>
	<title>[PATCH] libusb 1.0 Windows backend (1/4) : preliminary MinGW fix</title>
	<published>2009-11-29T11:40:45Z</published>
	<updated>2009-11-29T11:40:45Z</updated>
	<author>
		<name>Pete Batard</name>
	</author>
	<content type="html">As promised.&lt;br&gt;&lt;br&gt;This is the first patch in the series to get a Windows version of libusb 1.0x off the ground.&lt;br&gt;&lt;br&gt;This patch actually has little to do with Windows, but contains fixes needed to avoid the use of &amp;quot;interface&amp;quot; as variables elsewhere in the code. The reason is that MinGW&amp;#39;s gcc sees it as a C keyword and produces syntax errors when it sees a variable called interface.&lt;br&gt;
&lt;br&gt;The patch is will not change anything with regards to the behaviour of libusb - all it does is rename a few variables.&lt;br&gt;&lt;br&gt;/Pete&lt;br&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565281&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;01_interfaces.diff&lt;/strong&gt; (14K) &lt;a href=&quot;http://old.nabble.com/attachment/26565281/0/01_interfaces.diff&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--libusb-1.0-Windows-backend-%281-4%29-%3A-preliminary-MinGW-fix-tp26565281p26565281.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26560860</id>
	<title>Re: libusb 1.0.4 unstable on CentOS/RHEL 5.3</title>
	<published>2009-11-29T02:43:43Z</published>
	<updated>2009-11-29T02:43:43Z</updated>
	<author>
		<name>Alex Agranov</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;After doing some additional investigation, I think that I found a minor problem in libusb 1.0.6 library that explains the experienced phenomenon. The problem essentially lies in the way initialize_device() function treats the case when it's unable to read current USB device configuration. Current code returns negative value in this case, which essentially omits ALL devices on the specific bus from the returned devices list. Instead of that, IMHO it should simply presume that current device's configuration is unknown and proceed with the bus scan.
&lt;br&gt;&lt;br&gt;The following patch solves the problem:
&lt;br&gt;&lt;br&gt;--- libusb-1.0.6/libusb/os/linux_usbfs.c.orig &amp;nbsp; 2009-11-22 19:17:46.000000000 +0200
&lt;br&gt;+++ libusb-1.0.6/libusb/os/linux_usbfs.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2009-11-29 11:48:45.000000000 +0200
&lt;br&gt;@@ -716,8 +716,8 @@ static int initialize_device(struct libu
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; active_config = usbfs_get_active_config(dev, fd);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (active_config &amp;lt; 0) {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; close(fd);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return active_config;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usbi_dbg(&amp;quot;failed to read active configuration&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device_configured = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else if (active_config == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* some buggy devices have a configuration 0, but we're
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* reaching into the corner of a corner case here, so let's
&lt;br&gt;@@ -851,9 +851,7 @@ static int usbfs_scan_busdir(struct libu
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; r = enumerate_device(ctx, &amp;discdevs, busnum, (uint8_t) devaddr, NULL);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (r &amp;lt; 0)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; goto out;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enumerate_device(ctx, &amp;discdevs, busnum, (uint8_t) devaddr, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *_discdevs = discdevs;
&lt;br&gt;&lt;br&gt;&lt;br&gt;I tested it on my system (when my USB device enters the &amp;quot;troublesome&amp;quot; state) - and it seems to work fine. Note, however, that I wasn't able to test the consequences of the 2nd fixed line - 'cause the 1st fixed line was enough to solve my problem. Still, if I'm not mistaken, the 2nd fix is needed to ensure that a single &amp;quot;broken&amp;quot; device doesn't break libusb from listing other devices on the same bus...
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp; Alex
&lt;br&gt;&lt;br&gt;This email and any files transmitted with it are confidential material. They are intended solely for the use of the designated individual or entity to whom they are addressed. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful.
&lt;br&gt;&lt;br&gt;If you have received this email in error please immediately notify the sender and delete or destroy any copy of this message
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26560860&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-libusb-1.0.4-unstable-on-CentOS-RHEL-5.3-tp26560860p26560860.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26560734</id>
	<title>Re: Windows support for libusb-1.0</title>
	<published>2009-11-29T02:19:54Z</published>
	<updated>2009-11-29T02:19:54Z</updated>
	<author>
		<name>Peter Stuge-4</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Daniel Drake wrote:
&lt;br&gt;&amp;gt; pthreads: only used internally, so we don't have to actually use 
&lt;br&gt;&amp;gt; pthreads on windows. We just have to use an alternative that
&lt;br&gt;&amp;gt; provides the basic locking primitives.
&lt;br&gt;&lt;br&gt;While pthreads-win32 works perfectly fine (although not much updated)
&lt;br&gt;I think it is much nicer to use win32 primitives in a win32 backend.
&lt;br&gt;&lt;br&gt;This might mean some need for internal locking abstraction.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; MSVC: this seems adventurous. Shouldn't we start with just being
&lt;br&gt;&amp;gt; able to get it compiled and working with gcc on windows?
&lt;br&gt;&lt;br&gt;We should definately try to make the library easily usable also for
&lt;br&gt;developers using MSVC, but I agree that since we're used to gcc it's
&lt;br&gt;easier to look to MinGW for starters. It's usually easier to go this
&lt;br&gt;way (gcc-&amp;gt;MSVC) than the other way around, for a given source.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Or is that impossible?
&lt;br&gt;&amp;gt; I have very little knowledge of windows development practicalities.
&lt;br&gt;&lt;br&gt;It's very possible. Using crossdev it's almost a noop to get a
&lt;br&gt;Windows compiler installed on a Linux system, with headers and all.
&lt;br&gt;The tuple is i_86-mingw32, where you get to choose _ yourself, 3 is
&lt;br&gt;the minimum that makes sense, to be maximally portable. I've made a
&lt;br&gt;small source example that builds in MinGW if you want to look;
&lt;br&gt;&lt;a href=&quot;http://stuge.se/dlg.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stuge.se/dlg.zip&lt;/a&gt;&amp;nbsp;but remember to add the tuple prefix for
&lt;br&gt;cross compilation. (The zip is for native MinGW installs in Windows.)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Pete Batard wrote:
&lt;br&gt;&amp;gt; Well, you're not the only that has been lamenting about lack of
&lt;br&gt;&amp;gt; Windows support for libusb 1.0x, and I have recently started
&lt;br&gt;&amp;gt; working on a Windows backend for libusb myself.
&lt;br&gt;&lt;br&gt;Great. I was going to look into doing so too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I am now at a stage where I have a fully working lsusb sample on
&lt;br&gt;&amp;gt; Windows (hub/device enumeration + readout of device descriptors),
&lt;br&gt;&amp;gt; using the libusb 1.0x backend model, and after some much needed
&lt;br&gt;&amp;gt; code cleanup, I'm hoping I can start posting automake patches and
&lt;br&gt;&amp;gt; new backend sources against the current tree tomorrow...
&lt;br&gt;&lt;br&gt;Ok. Depending on how much code it is and how big (if any) changes
&lt;br&gt;will be required it might make sense to add another repo, or branch,
&lt;br&gt;for the code while it is being merged.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; The development chain I am using, which I think is the one that
&lt;br&gt;&amp;gt; makes the most sense for a Windows port, is MinGW, since it solves
&lt;br&gt;&amp;gt; much of the issues pointed by Josh Perry.
&lt;br&gt;&lt;br&gt;I think it is nicer too. And maybe most importantly it allows us to
&lt;br&gt;fairly easily produce win32 binaries, which is usually very much
&lt;br&gt;appreciated at least by MSVC users, where I guess buliding libraries
&lt;br&gt;is a bit more complicated than building apps. I think it is a great
&lt;br&gt;benefit to get Windows developers to also use the libusb-1.0 API.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Once you add pthread-win32 to the equation
&lt;br&gt;&lt;br&gt;Again, I disagree with relying on pthread-win32 and would prefer to
&lt;br&gt;use native Windows locking. So this particular platform might mean
&lt;br&gt;that internal locking needs some work.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; and the poll/pipe compatibility layer for git on Windows (look for
&lt;br&gt;&amp;gt; compat/mingw.c in the git source tree),
&lt;br&gt;&lt;br&gt;Sweet! Is the license compatible?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; The only major issue I see right now is that not every USB
&lt;br&gt;&amp;gt; operation is open to user mode on Windows,
&lt;br&gt;&lt;br&gt;What exactly is possible? MSDN links would be great too. If you want,
&lt;br&gt;feel free to make a Trac account and add a wiki page about it. Let me
&lt;br&gt;know if you need any help with that.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I think it might be a good idea to do as much as we can on the user
&lt;br&gt;&amp;gt; side before we start looking at anything that requires kernel
&lt;br&gt;&amp;gt; access.
&lt;br&gt;&lt;br&gt;Yes - I think that sounds good.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Anyway, I'll be posting more shortly.
&lt;br&gt;&lt;br&gt;Looking forward to it!
&lt;br&gt;&lt;br&gt;&lt;br&gt;//Peter
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26560734&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Windows-support-for-libusb-1.0-tp25185511p26560734.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26559833</id>
	<title>Re: Windows support for libusb-1.0</title>
	<published>2009-11-28T23:12:26Z</published>
	<updated>2009-11-28T23:12:26Z</updated>
	<author>
		<name>Kustaa Nyholm-2</name>
	</author>
	<content type="html">&amp;gt;I am now at a stage where I have a fully working lsusb sample on Windows (hub/device enumeration + readout of device descriptors), using the libusb 10x backend model, and after some much &amp;gt;needed code cleanup, I'm hoping I can start posting automake patches and new backend sources against the current tree tomorrow..
&lt;br&gt;&lt;br&gt;Fantastic Pete,
&lt;br&gt;&lt;br&gt;I'm sure a lot of people appreciate this effort, thanks a million!
&lt;br&gt;&lt;br&gt;br Kusti
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26559833&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Windows-support-for-libusb-1.0-tp25185511p26559833.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26559206</id>
	<title>Re: Windows support for libusb-1.0</title>
	<published>2009-11-28T19:59:27Z</published>
	<updated>2009-11-28T19:59:27Z</updated>
	<author>
		<name>Pete Batard</name>
	</author>
	<content type="html">Hi Francesco,&lt;br&gt;&lt;br&gt;Well, you&amp;#39;re not the only that has been lamenting about lack of Windows support for libusb 1.0x, and I have recently started working on a Windows backend for libusb myself.&lt;br&gt;&lt;br&gt;I am now at a stage where I have a fully working lsusb sample on Windows (hub/device enumeration + readout of device descriptors), using the libusb 1.0x backend model, and after some much needed code cleanup, I&amp;#39;m hoping I can start posting automake patches and new backend sources against the current tree tomorrow...&lt;br&gt;
&lt;br&gt;The development chain I am using, which I think is the one that makes the most sense for a Windows port, is MinGW, since it solves much of the issues pointed by Josh Perry.&lt;br&gt;Once you add pthread-win32 to the equation and the poll/pipe compatibility layer for git on Windows (look for compat/mingw.c in the git source tree), a Windows port of libusb no longer looks that that problematic.&lt;br&gt;
&lt;br&gt;The only major issue I see right now is that not every USB operation is open to user mode on Windows, and any kernel operation will require the writing of a driver.&lt;br&gt;Because of the requirement for signed drivers on 64 bit platforms, which makes for painful driver installation for regular users, I think it might be a good idea to do as much as we can on the user side before we start looking at anything that requires kernel access.&lt;br&gt;
Hopefully, even with non-implemented kernel ops, a usermode only libusb can have enough functions to be useful to some libusb based projects, and could be a quick win. Then we can concentrate on a new win32 driver.&lt;br&gt;&lt;br&gt;
Of course, this is still very early stage, so if anybody has other ideas, please feel free to chime in.&lt;br&gt;&lt;br&gt;Anyway, I&amp;#39;ll be posting more shortly.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;/Pete&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/28 Francesco Montorsi &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26559206&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;francesco.montorsi@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Daniel Drake &amp;lt;dsd &amp;lt;at&amp;gt; &lt;a href=&quot;http://gentoo.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;gentoo.org&lt;/a&gt;&amp;gt; writes:&lt;br&gt;

&amp;gt; Before I closed the SF tracker, Josh Perry created a ticket saying that&lt;br&gt;
&amp;gt; he&amp;#39;d started working on windows support.&lt;br&gt;
&lt;br&gt;
Hi all,&lt;br&gt;
   first of all sorry for reviving this (relatively) old post.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m a developer of various open source projects and I&amp;#39;d like to help with the&lt;br&gt;
development of the Windows port of libusb-1.x. I think it would be a great&lt;br&gt;
addition to libusb even if the windows backend wouldn&amp;#39;t/couldn&amp;#39;t cover all&lt;br&gt;
libusb features.&lt;br&gt;
I already have some experience in Windows driver development (see&lt;br&gt;
&lt;a href=&quot;http://emfprinter.sourceforge.net/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://emfprinter.sourceforge.net/&lt;/a&gt;) and I think that using WinUSB API it&lt;br&gt;
shouldn&amp;#39;t be _so_ difficult to create the Win backend...&lt;br&gt;
&lt;br&gt;
&amp;gt; I just went in to dig out his&lt;br&gt;
&amp;gt; findings that he posted. Now saved at &lt;a href=&quot;http://www.libusb.org/ticket/1&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.libusb.org/ticket/1&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
do you have any news about Josh Perry&amp;#39;s work?&lt;br&gt;
Or at least his email address so that we can ask him to post his un-finished&lt;br&gt;
patch to the tracker?&lt;br&gt;
&lt;br&gt;
I know that also Stephan Meyer has written a layer above the WinUSB API, but I&lt;br&gt;
think it&amp;#39;s an abstraction layer for libusb-0.1 (see &lt;a href=&quot;http://alturl.com/jwpa&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://alturl.com/jwpa&lt;/a&gt;&lt;br&gt;
  and&lt;br&gt;
&lt;a href=&quot;http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb1/%29.&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb1/).&lt;/a&gt;..&lt;br&gt;
&lt;br&gt;
Maybe joining the efforts we could finally reach a unique (I don&amp;#39;t understand&lt;br&gt;
why libusb-win32 and libusb are kept separed - wouldn&amp;#39;t be better to merge the&lt;br&gt;
two SF projects?), modern, really cross-platform USB api :)&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
Francesco Montorsi&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Libusb-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26559206&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26559206&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Windows-support-for-libusb-1.0-tp25185511p26559206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557137</id>
	<title>Re: Windows support for libusb-1.0</title>
	<published>2009-11-28T13:21:03Z</published>
	<updated>2009-11-28T13:21:03Z</updated>
	<author>
		<name>frm</name>
	</author>
	<content type="html">Daniel Drake &amp;lt;dsd &amp;lt;at&amp;gt; gentoo.org&amp;gt; writes:
&lt;br&gt;&amp;gt; Before I closed the SF tracker, Josh Perry created a ticket saying that 
&lt;br&gt;&amp;gt; he'd started working on windows support.
&lt;br&gt;&lt;br&gt;Hi all,
&lt;br&gt;&amp;nbsp; &amp;nbsp;first of all sorry for reviving this (relatively) old post.
&lt;br&gt;&lt;br&gt;I'm a developer of various open source projects and I'd like to help with the
&lt;br&gt;development of the Windows port of libusb-1.x. I think it would be a great
&lt;br&gt;addition to libusb even if the windows backend wouldn't/couldn't cover all
&lt;br&gt;libusb features.
&lt;br&gt;I already have some experience in Windows driver development (see
&lt;br&gt;&lt;a href=&quot;http://emfprinter.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://emfprinter.sourceforge.net/&lt;/a&gt;) and I think that using WinUSB API it
&lt;br&gt;shouldn't be _so_ difficult to create the Win backend...
&lt;br&gt;&lt;br&gt;&amp;gt; I just went in to dig out his 
&lt;br&gt;&amp;gt; findings that he posted. Now saved at &lt;a href=&quot;http://www.libusb.org/ticket/1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.libusb.org/ticket/1&lt;/a&gt;&lt;br&gt;&lt;br&gt;do you have any news about Josh Perry's work?
&lt;br&gt;Or at least his email address so that we can ask him to post his un-finished
&lt;br&gt;patch to the tracker?
&lt;br&gt;&lt;br&gt;I know that also Stephan Meyer has written a layer above the WinUSB API, but I
&lt;br&gt;think it's an abstraction layer for libusb-0.1 (see &lt;a href=&quot;http://alturl.com/jwpa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://alturl.com/jwpa&lt;/a&gt;&lt;br&gt;&amp;nbsp; and 
&lt;br&gt;&lt;a href=&quot;http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/trunk/libusb1/&lt;/a&gt;)...
&lt;br&gt;&lt;br&gt;Maybe joining the efforts we could finally reach a unique (I don't understand
&lt;br&gt;why libusb-win32 and libusb are kept separed - wouldn't be better to merge the
&lt;br&gt;two SF projects?), modern, really cross-platform USB api :)
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;Francesco Montorsi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26557137&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Windows-support-for-libusb-1.0-tp25185511p26557137.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26539911</id>
	<title>libusb warning cancel_bulk_transfer</title>
	<published>2009-11-27T01:34:39Z</published>
	<updated>2009-11-27T01:34:39Z</updated>
	<author>
		<name>Manfred Weiss</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I get following warning:
&lt;br&gt;libusb:warning [cancel_bulk_transfer] unrecognised discard errno 9
&lt;br&gt;But i don't use a bluk transfer anyway.
&lt;br&gt;&lt;br&gt;Thanks a lot, best regards
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;manfred weiss
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26539911&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-warning-cancel_bulk_transfer-tp26539911p26539911.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534674</id>
	<title>Re: libusb 1.1 hotplugging</title>
	<published>2009-11-26T12:39:47Z</published>
	<updated>2009-11-26T12:39:47Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">Ludovic Rousseau wrote:
&lt;br&gt;&amp;gt; I have the problem with CCID (smart cards) readers. If the driver does
&lt;br&gt;&amp;gt; just wait in usb_interrupt_read() waiting for a smart card to be
&lt;br&gt;&amp;gt; inserted or removed from the reader then the driver will not notice a
&lt;br&gt;&amp;gt; reader removal.
&lt;br&gt;&amp;gt; That was with libusb 0.1. I don't know if the problem is still present
&lt;br&gt;&amp;gt; in libusb 1.0
&lt;br&gt;&lt;br&gt;It's not.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534674&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.1-hotplugging-tp26533626p26534674.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534532</id>
	<title>Re: libusb 1.1 hotplugging</title>
	<published>2009-11-26T12:26:55Z</published>
	<updated>2009-11-26T12:26:55Z</updated>
	<author>
		<name>Ludovic Rousseau</name>
	</author>
	<content type="html">2009/11/23 Andreas Jellinghaus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534532&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aj@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&lt;br&gt;Hello Andreas,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I saw your announcement / plan for libusb 1.1 and hotplugging.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it would be real nice from my point of view:
&lt;br&gt;&amp;gt; 1.) if one app could monitor usb, and run some code when something
&lt;br&gt;&amp;gt;    new is found.
&lt;br&gt;&amp;gt; 2.) it would be nice if there was a portable way one app can spawn/tell
&lt;br&gt;&amp;gt;    a second app, what the new thing is.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; notes:
&lt;br&gt;&amp;gt; * new usb devices is interesting for me. old ones gone is not so interesting -
&lt;br&gt;&amp;gt;  if I found something interesting and open()ed it, the fd should be in
&lt;br&gt;&amp;gt;  an error state once the device is gone, which is detectable by poll/select
&lt;br&gt;&amp;gt;  without wasting cpu resources on monitoring &amp;quot;is this device still there&amp;quot; by
&lt;br&gt;&amp;gt;  loops or similar.
&lt;/div&gt;&lt;br&gt;I am not sure if the application will get an error when a USB device
&lt;br&gt;is removed and the application does not talk to the device.
&lt;br&gt;The application may discover the device has gone on the _next_
&lt;br&gt;communication. That may be in a very long time. And the list of
&lt;br&gt;available devices know by the application is then wrong/not up to
&lt;br&gt;date.
&lt;br&gt;&lt;br&gt;I have the problem with CCID (smart cards) readers. If the driver does
&lt;br&gt;just wait in usb_interrupt_read() waiting for a smart card to be
&lt;br&gt;inserted or removed from the reader then the driver will not notice a
&lt;br&gt;reader removal.
&lt;br&gt;That was with libusb 0.1. I don't know if the problem is still present
&lt;br&gt;in libusb 1.0
&lt;br&gt;&lt;br&gt;That is mostly mandatory for libusb 1.1 to also notify device removal.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * I love small, isolated, minimal applications. thus I find it real nice of
&lt;br&gt;&amp;gt;  one app can do the monitoring for new devices, one can do the evaluation
&lt;br&gt;&amp;gt;  of a new device and one can handle the new device, if it is something the
&lt;br&gt;&amp;gt;  app can work with. it would be nice if passing information from app to app
&lt;br&gt;&amp;gt;  is somehow not totaly inefficient. e.g. it would be nice if the 2nd and 3rd
&lt;br&gt;&amp;gt;  app can relatively straight connect/access the new device, without probing
&lt;br&gt;&amp;gt;  and evaluating every other usb device connected to the system first.
&lt;br&gt;&amp;gt;  (i.e. wasting some miliseconds and cpu cycles is ok, but not tooo many)
&lt;br&gt;&amp;gt; * the app to app interface should be stable, i.e. it is ok if the 2nd or
&lt;br&gt;&amp;gt;  3rd app is &amp;quot;too late&amp;quot; and the device is gone in the meantime and it gets
&lt;br&gt;&amp;gt;  an error. but it shouldn't be something like &amp;quot;the 2nd device with
&lt;br&gt;&amp;gt;  vendor/product xyz&amp;quot; which is something that can change in the meantime
&lt;br&gt;&amp;gt;  as devices are added or removed or replugged in a fast sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the linux kernel internals with bus NNNN device MMMM make up a real nice
&lt;br&gt;&amp;gt; id system, but I think it is not portable to other operating systems,
&lt;br&gt;&amp;gt; so no idea what would be best. (IIRC the device number MMMM isn't recycled
&lt;br&gt;&amp;gt; by the kernel, at least not immediatly, so it serves as a nice valid id
&lt;br&gt;&amp;gt; for a while).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but the plans to open a device by busnum and devnum sound great.
&lt;/div&gt;&lt;br&gt;I also request for a way to uniquely identify a device and do
&lt;br&gt;something like libusb_open_by_id(id, &amp;handle)
&lt;br&gt;&lt;br&gt;Bye
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Dr. Ludovic Rousseau
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534532&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.1-hotplugging-tp26533626p26534532.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533781</id>
	<title>Re: usb_control_msg() returns ETIMEOUT</title>
	<published>2009-11-26T11:03:57Z</published>
	<updated>2009-11-26T11:03:57Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">roundleaf wrote:
&lt;br&gt;&amp;gt; Hi all!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After posting I found a similar problem at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Second-device-access-always-fails-%28libusb-0.1.12%29-to26346137.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Second-device-access-always-fails-%28libusb-0.1.12%29-to26346137.html&lt;/a&gt;.
&lt;br&gt;&amp;gt; However it didn't seem to be resolved, so I might as well post this. The
&lt;br&gt;&amp;gt; post I referred talks about the configuration of the device. I don't set any
&lt;br&gt;&amp;gt; configuration at all in my program. What effect does the setting or
&lt;br&gt;&amp;gt; non-setting of configs have?
&lt;br&gt;&lt;br&gt;Some versions of Linux do a soft-reset when you release an interface (or 
&lt;br&gt;close a device, I can't remember which). It's possible that your missile 
&lt;br&gt;launcher (!?) has a firmware bug and this is causing the device to crash.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usb_control_msg%28%29-returns-ETIMEOUT-tp26485296p26533781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494308</id>
	<title>New release of libusb 0.12 ?</title>
	<published>2009-11-24T03:24:37Z</published>
	<updated>2009-11-24T03:24:37Z</updated>
	<author>
		<name>François Jaouen</name>
	</author>
	<content type="html">Hello libusb developpers
&lt;br&gt;&lt;br&gt;I have reported a bug and its fix in libusb 0.12
&lt;br&gt;( &lt;a href=&quot;http://www.libusb.org/ticket/19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.libusb.org/ticket/19&lt;/a&gt;&amp;nbsp;) but I saw that 0.12 is no more
&lt;br&gt;maintened. So I wonder if there is a chance to have a new release of it
&lt;br&gt;because libusb 0.12.X is still widely used.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26494308&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-release-of-libusb-0.12---tp26494308p26494308.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26485296</id>
	<title>usb_control_msg() returns ETIMEOUT</title>
	<published>2009-11-23T12:31:58Z</published>
	<updated>2009-11-23T12:31:58Z</updated>
	<author>
		<name>roundleaf</name>
	</author>
	<content type="html">Hi all!
&lt;br&gt;&lt;br&gt;After posting I found a similar problem at &lt;a href=&quot;http://old.nabble.com/Second-device-access-always-fails-%28libusb-0.1.12%29-to26346137.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Second-device-access-always-fails-%28libusb-0.1.12%29-to26346137.html&lt;/a&gt;. However it didn't seem to be resolved, so I might as well post this. The post I referred talks about the configuration of the device. I don't set any configuration at all in my program. What effect does the setting or non-setting of configs have?
&lt;br&gt;&lt;br&gt;A couple of years back I wrote a simple shared library for controlling a usb missile launcher. At the time I was running Fedora 8 and I can't remember that I had the problem I'm about to describe. If I plug in my missile launcher and run my program it works just fine. However, the second time I run the program I get ETIMEOUT [-110] from usb_control_msg(). If I disconnect/connect the device it works again. But just one time. I've tried doing all the cleanup I could think of, but it doesn't seem to help. A difference between the first time and the second time is that I (successfully) detach the kernel driver for my device. This is not necessary the second time. Anyway, in both cases the program successfully claims the interface.
&lt;br&gt;&lt;br&gt;I'm running some CentOS (can't really remember which version :) If you think the code can help you help me, I can post it for you.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usb_control_msg%28%29-returns-ETIMEOUT-tp26485296p26485296.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26480673</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T07:51:36Z</published>
	<updated>2009-11-23T07:51:36Z</updated>
	<author>
		<name>Alan Stern</name>
	</author>
	<content type="html">On Mon, 23 Nov 2009, Daniel Drake wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Alan Stern wrote:
&lt;br&gt;&amp;gt; &amp;gt; There is a compromise. &amp;nbsp;Opening a device file based on the bus number 
&lt;br&gt;&amp;gt; &amp;gt; and device number isn't Linux-specific, so it can (and should) be added 
&lt;br&gt;&amp;gt; &amp;gt; to the public API.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I thought that you said bus number is Linux-specific.
&lt;br&gt;&lt;br&gt;Not exactly. &amp;nbsp;I said it wasn't defined in the USB spec but that every
&lt;br&gt;operating system must have some way to identify a bus, presumably by
&lt;br&gt;using a bus number. &amp;nbsp;Doesn't the libusb API already expose bus numbers?
&lt;br&gt;&lt;br&gt;&amp;gt; However, am I right in thinking that device addresses are specific to 
&lt;br&gt;&amp;gt; the whole system, rather than to a specific bus? If so, the device 
&lt;br&gt;&amp;gt; address would satisfy as a USB-level unique identifier for each device, 
&lt;br&gt;&amp;gt; and we could add an API based on that alone.
&lt;br&gt;&lt;br&gt;No, addresses are local to a particular bus. &amp;nbsp;For example, in Linux the 
&lt;br&gt;root hub for each bus is always assigned device number 1.
&lt;br&gt;&lt;br&gt;Alan Stern
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26480673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26480673.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479848</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T07:08:36Z</published>
	<updated>2009-11-23T07:08:36Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">Alan Stern wrote:
&lt;br&gt;&amp;gt; There is a compromise. &amp;nbsp;Opening a device file based on the bus number 
&lt;br&gt;&amp;gt; and device number isn't Linux-specific, so it can (and should) be added 
&lt;br&gt;&amp;gt; to the public API.
&lt;br&gt;&lt;br&gt;I thought that you said bus number is Linux-specific.
&lt;br&gt;&lt;br&gt;However, am I right in thinking that device addresses are specific to 
&lt;br&gt;the whole system, rather than to a specific bus? If so, the device 
&lt;br&gt;address would satisfy as a USB-level unique identifier for each device, 
&lt;br&gt;and we could add an API based on that alone.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479848&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26479848.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479541</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T06:55:57Z</published>
	<updated>2009-11-23T06:55:57Z</updated>
	<author>
		<name>Alan Stern</name>
	</author>
	<content type="html">On Mon, 23 Nov 2009, Daniel Drake wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Marcel Holtmann wrote:
&lt;br&gt;&amp;gt; &amp;gt; actually the more important part would be to have a libusb_open_*
&lt;br&gt;&amp;gt; &amp;gt; function that you can give a sysfs path. So that when called from udev
&lt;br&gt;&amp;gt; &amp;gt; rules file you can directly open that device. This is important to not
&lt;br&gt;&amp;gt; &amp;gt; wake up all USB devices on enumeration. Especially since you already
&lt;br&gt;&amp;gt; &amp;gt; know the device you wanna talk to.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The fact that USB devices are woken up on enumeration is a bug that can 
&lt;br&gt;&amp;gt; be fixed independently.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Exposing a fairly low-level Linux detail in the public API is not 
&lt;br&gt;&amp;gt; something I'm keen on.
&lt;/div&gt;&lt;br&gt;There is a compromise. &amp;nbsp;Opening a device file based on the bus number 
&lt;br&gt;and device number isn't Linux-specific, so it can (and should) be added 
&lt;br&gt;to the public API.
&lt;br&gt;&lt;br&gt;Getting the bus and device number from the sysfs path is easy, because
&lt;br&gt;those values are available in attribute files in the sysfs directory. &amp;nbsp;
&lt;br&gt;If necessary, this could be added as a Linux-specific API. &amp;nbsp;But if
&lt;br&gt;you're triggering off a hotplug event then it's likely that the bus and
&lt;br&gt;device numbers are already present in the hotplug information and so no 
&lt;br&gt;translation is needed.
&lt;br&gt;&lt;br&gt;Alan Stern
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26479541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533626</id>
	<title>libusb 1.1 hotplugging</title>
	<published>2009-11-23T05:47:56Z</published>
	<updated>2009-11-23T05:47:56Z</updated>
	<author>
		<name>Andreas Jellinghaus-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I saw your announcement / plan for libusb 1.1 and hotplugging.
&lt;br&gt;&lt;br&gt;it would be real nice from my point of view:
&lt;br&gt;1.) if one app could monitor usb, and run some code when something
&lt;br&gt;&amp;nbsp; &amp;nbsp; new is found. 
&lt;br&gt;2.) it would be nice if there was a portable way one app can spawn/tell
&lt;br&gt;&amp;nbsp; &amp;nbsp; a second app, what the new thing is.
&lt;br&gt;&lt;br&gt;notes:
&lt;br&gt;* for monitoring usb it would be nice to use kernel facilities etc. to
&lt;br&gt;&amp;nbsp; save power on laptops. but a fallback on polling / scanning usb every
&lt;br&gt;&amp;nbsp; X seconds is fine with me (and might be needed on some operating systems?)
&lt;br&gt;* new usb devices is interesting for me. old ones gone is not so interesting -
&lt;br&gt;&amp;nbsp; if I found something interesting and open()ed it, the fd should be in
&lt;br&gt;&amp;nbsp; an error state once the device is gone, which is detectable by poll/select
&lt;br&gt;&amp;nbsp; without wasting cpu resources on monitoring &amp;quot;is this device still there&amp;quot; by
&lt;br&gt;&amp;nbsp; loops or similar.
&lt;br&gt;* I love small, isolated, minimal applications. thus I find it real nice of
&lt;br&gt;&amp;nbsp; one app can do the monitoring for new devices, one can do the evaluation
&lt;br&gt;&amp;nbsp; of a new device and one can handle the new device, if it is something the
&lt;br&gt;&amp;nbsp; app can work with. it would be nice if passing information from app to app
&lt;br&gt;&amp;nbsp; is somehow not totaly inefficient. e.g. it would be nice if the 2nd and 3rd
&lt;br&gt;&amp;nbsp; app can relatively straight connect/access the new device, without probing
&lt;br&gt;&amp;nbsp; and evaluating every other usb device connected to the system first.
&lt;br&gt;&amp;nbsp; (i.e. wasting some miliseconds and cpu cycles is ok, but not tooo many)
&lt;br&gt;* the app to app interface should be stable, i.e. it is ok if the 2nd or
&lt;br&gt;&amp;nbsp; 3rd app is &amp;quot;too late&amp;quot; and the device is gone in the meantime and it gets
&lt;br&gt;&amp;nbsp; an error. but it shouldn't be something like &amp;quot;the 2nd device with
&lt;br&gt;&amp;nbsp; vendor/product xyz&amp;quot; which is something that can change in the meantime
&lt;br&gt;&amp;nbsp; as devices are added or removed or replugged in a fast sequence.
&lt;br&gt;&lt;br&gt;the linux kernel internals with bus NNNN device MMMM make up a real nice
&lt;br&gt;id system, but I think it is not portable to other operating systems,
&lt;br&gt;so no idea what would be best. (IIRC the device number MMMM isn't recycled
&lt;br&gt;by the kernel, at least not immediatly, so it serves as a nice valid id
&lt;br&gt;for a while).
&lt;br&gt;&lt;br&gt;but the plans to open a device by busnum and devnum sound great.
&lt;br&gt;&lt;br&gt;Thanks and regards,
&lt;br&gt;&lt;br&gt;Andreas Jellinghaus
&lt;br&gt;p.s. please cc: me, sorry, not subscribed to the list. not sure if the
&lt;br&gt;list copy needs manual approval...
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.1-hotplugging-tp26533626p26533626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475858</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T02:43:25Z</published>
	<updated>2009-11-23T02:43:25Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">Marcel Holtmann wrote:
&lt;br&gt;&amp;gt; actually the more important part would be to have a libusb_open_*
&lt;br&gt;&amp;gt; function that you can give a sysfs path. So that when called from udev
&lt;br&gt;&amp;gt; rules file you can directly open that device. This is important to not
&lt;br&gt;&amp;gt; wake up all USB devices on enumeration. Especially since you already
&lt;br&gt;&amp;gt; know the device you wanna talk to.
&lt;br&gt;&lt;br&gt;The fact that USB devices are woken up on enumeration is a bug that can 
&lt;br&gt;be fixed independently.
&lt;br&gt;&lt;br&gt;Exposing a fairly low-level Linux detail in the public API is not 
&lt;br&gt;something I'm keen on.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475858&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26475858.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475218</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T01:56:22Z</published>
	<updated>2009-11-23T01:56:22Z</updated>
	<author>
		<name>Ludovic Rousseau</name>
	</author>
	<content type="html">2009/11/23 Marcel Holtmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marcel@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Daniel,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I now plan to work on libusb-1.1 for release before the end of the year.
&lt;br&gt;&amp;gt;&amp;gt;   Changes:
&lt;br&gt;&amp;gt;&amp;gt;   - hotplug through libudev
&lt;br&gt;&amp;gt;&amp;gt;   - use dedicated timing thread for generating file-based timer events on
&lt;br&gt;&amp;gt;&amp;gt;     systems where libusb-level time tracking is needed and timerfd is not
&lt;br&gt;&amp;gt;&amp;gt;     available (i.e. no change of behaviour for Darwin and recent Linux
&lt;br&gt;&amp;gt;&amp;gt;     platforms, and recent Linux platforms will still achieve &amp;quot;zero
&lt;br&gt;&amp;gt;&amp;gt;     threads&amp;quot;)
&lt;br&gt;&amp;gt;&amp;gt;   - make libusb_handle_events() timeout unlimited
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; actually the more important part would be to have a libusb_open_*
&lt;br&gt;&amp;gt; function that you can give a sysfs path. So that when called from udev
&lt;br&gt;&amp;gt; rules file you can directly open that device. This is important to not
&lt;br&gt;&amp;gt; wake up all USB devices on enumeration. Especially since you already
&lt;br&gt;&amp;gt; know the device you wanna talk to.
&lt;/div&gt;&lt;br&gt;I also would like to have such a feature.
&lt;br&gt;&lt;br&gt;In my case I have one process that detects hotplug events and then
&lt;br&gt;call the correct driver (in user space) for the newly connected USB
&lt;br&gt;device. The driver has to rescan the USB bus to identify the device to
&lt;br&gt;use. Using a sysfs path (or something else) to directly give the
&lt;br&gt;device identification to a libusb_open_* function would be great (and
&lt;br&gt;would avoid re-identification problems).
&lt;br&gt;&lt;br&gt;So +1 for this request.
&lt;br&gt;&lt;br&gt;Bye
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Dr. Ludovic Rousseau
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475218&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26475218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474705</id>
	<title>Re: libusb-1.0.6 released</title>
	<published>2009-11-23T01:12:28Z</published>
	<updated>2009-11-23T01:12:28Z</updated>
	<author>
		<name>Marcel Holtmann</name>
	</author>
	<content type="html">Hi Daniel,
&lt;br&gt;&lt;br&gt;&amp;gt; I now plan to work on libusb-1.1 for release before the end of the year. 
&lt;br&gt;&amp;gt; &amp;nbsp; Changes:
&lt;br&gt;&amp;gt; &amp;nbsp; - hotplug through libudev
&lt;br&gt;&amp;gt; &amp;nbsp; - use dedicated timing thread for generating file-based timer events on
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; systems where libusb-level time tracking is needed and timerfd is not
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; available (i.e. no change of behaviour for Darwin and recent Linux
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; platforms, and recent Linux platforms will still achieve &amp;quot;zero
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; threads&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; - make libusb_handle_events() timeout unlimited
&lt;br&gt;&lt;br&gt;actually the more important part would be to have a libusb_open_*
&lt;br&gt;function that you can give a sysfs path. So that when called from udev
&lt;br&gt;rules file you can directly open that device. This is important to not
&lt;br&gt;wake up all USB devices on enumeration. Especially since you already
&lt;br&gt;know the device you wanna talk to.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Marcel
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474705&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26474705.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467551</id>
	<title>libusb-1.0.6 released</title>
	<published>2009-11-22T09:47:15Z</published>
	<updated>2009-11-22T09:47:15Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">&lt;a href=&quot;https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.6/libusb-1.0.6.tar.bz2/download&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.6/libusb-1.0.6.tar.bz2/download&lt;/a&gt;&lt;br&gt;&lt;br&gt;Daniel Drake (3):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Refine timerfd header check (#18)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Increase libusb_handle_events() timeout to 60 seconds
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;v1.0.6 release
&lt;br&gt;&lt;br&gt;Ludovic Rousseau (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Darwin: fix warning in darwin_error_str()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lsusb example: make print_devs() static
&lt;br&gt;&lt;br&gt;Nathan Hjelm (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Darwin: allow devices to be opened multiple times
&lt;br&gt;&lt;br&gt;&lt;br&gt;I now plan to work on libusb-1.1 for release before the end of the year. 
&lt;br&gt;&amp;nbsp; Changes:
&lt;br&gt;&amp;nbsp; - hotplug through libudev
&lt;br&gt;&amp;nbsp; - use dedicated timing thread for generating file-based timer events on
&lt;br&gt;&amp;nbsp; &amp;nbsp; systems where libusb-level time tracking is needed and timerfd is not
&lt;br&gt;&amp;nbsp; &amp;nbsp; available (i.e. no change of behaviour for Darwin and recent Linux
&lt;br&gt;&amp;nbsp; &amp;nbsp; platforms, and recent Linux platforms will still achieve &amp;quot;zero
&lt;br&gt;&amp;nbsp; &amp;nbsp; threads&amp;quot;)
&lt;br&gt;&amp;nbsp; - make libusb_handle_events() timeout unlimited
&lt;br&gt;&lt;br&gt;No incompatible API or ABI changes, but obviously a few functions will 
&lt;br&gt;be added for hotplugging, the libusb_handle_events() change is a slight 
&lt;br&gt;change in documented behaviour, and some functions will become redundant 
&lt;br&gt;through the timing changes (e.g. libusb_get_next_timeout() will always 
&lt;br&gt;return 0)
&lt;br&gt;&lt;br&gt;Hotplug backends for other platforms (Linux+HAL, linux-2.4, Darwin?) 
&lt;br&gt;will hopefully follow soon after.
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467551&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.6-released-tp26467551p26467551.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26458399</id>
	<title>Re: MacOSX: Accessing multiple interfaces of the same device at once</title>
	<published>2009-11-21T09:07:40Z</published>
	<updated>2009-11-21T09:07:40Z</updated>
	<author>
		<name>Daniel Drake-2</name>
	</author>
	<content type="html">Nathan Hjelm wrote:
&lt;br&gt;&amp;gt; Fixed in the attached patch.
&lt;br&gt;&lt;br&gt;Thanks, applied
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26458399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-MacOSX%3A-Accessing-multiple-interfaces-of-the-same%09device-at-once-tp26397076p26458399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26424495</id>
	<title>libusb-1.0</title>
	<published>2009-11-19T02:46:32Z</published>
	<updated>2009-11-19T02:46:32Z</updated>
	<author>
		<name>Mick-9</name>
	</author>
	<content type="html">Congratulations!
&lt;br&gt;&lt;br&gt;We make some fairly complex picosecond timing data acquisition systems for which we built linux libraries/apps based on libusb 0.1.
&lt;br&gt;(see &lt;a href=&quot;http://www.picoquant.com/products/hydraharp400/hydraharp400.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.picoquant.com/products/hydraharp400/hydraharp400.htm&lt;/a&gt;&amp;nbsp;for the latest)
&lt;br&gt;They are out in the filed for some time and I was somewhat worried what would happen when the Linux distributions start replacing libusb 0.1 with 1.0.
&lt;br&gt;This is the case with Suse 11.2 now. As it turns out, everything works flawlwssly &amp;quot;out of the box&amp;quot; through the compatibility layer. Bulk throughput is significatly 
&lt;br&gt;faster (35MB/s) and now almost as fast as under Windows (37MB/s) on the same machine.
&lt;br&gt;&lt;br&gt;We will of course make an effort to port the libs/apps to use libusb 1.0 directly and hopefully also make use of the asynchronous calls.
&lt;br&gt;&lt;br&gt;Thanks for all the bits,
&lt;br&gt;Mick
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26424495&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0-tp26424495p26424495.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26414166</id>
	<title>Re: MacOSX: Accessing multiple interfaces of	the	same device at once</title>
	<published>2009-11-18T11:28:07Z</published>
	<updated>2009-11-18T11:28:07Z</updated>
	<author>
		<name>Nathan Hjelm</name>
	</author>
	<content type="html">The patch is completely functional except for one empty line which got deleted.
&lt;br&gt;&lt;br&gt;Also, I forgot to mention that this patch also includes a fix for a set alt interface bug.
&lt;br&gt;&lt;br&gt;-Nathan
&lt;br&gt;&amp;nbsp;
&lt;br&gt;On Wednesday, November 18, 2009, at 12:50AM, &amp;quot;Peter Stuge&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414166&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;peter@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Nathan Hjelm wrote:
&lt;br&gt;&amp;gt;&amp;gt; Fixed in the attached patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Just a general comment. Please avoid whitespace changes in the same
&lt;br&gt;&amp;gt;patch where there are functional changes.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Please always send whitespace changes in a separate patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;//Peter
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;Libusb-devel mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414166&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414166&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-MacOSX%3A-Accessing-multiple-interfaces-of-the-same%09device-at-once-tp26397076p26414166.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26403819</id>
	<title>Re: MacOSX: Accessing multiple interfaces of the	same device at once</title>
	<published>2009-11-17T23:50:05Z</published>
	<updated>2009-11-17T23:50:05Z</updated>
	<author>
		<name>Peter Stuge-4</name>
	</author>
	<content type="html">Nathan Hjelm wrote:
&lt;br&gt;&amp;gt; Fixed in the attached patch.
&lt;br&gt;&lt;br&gt;Just a general comment. Please avoid whitespace changes in the same
&lt;br&gt;patch where there are functional changes.
&lt;br&gt;&lt;br&gt;Please always send whitespace changes in a separate patch.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;//Peter
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403819&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-MacOSX%3A-Accessing-multiple-interfaces-of-the-same%09device-at-once-tp26397076p26403819.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26397076</id>
	<title>Re: MacOSX: Accessing multiple interfaces of the same	device at once</title>
	<published>2009-11-17T12:33:29Z</published>
	<updated>2009-11-17T12:33:29Z</updated>
	<author>
		<name>Nathan Hjelm</name>
	</author>
	<content type="html">Fixed in the attached patch.
&lt;br&gt;&lt;br&gt;-Nathan
&lt;br&gt;&lt;br&gt;On Tuesday, November 17, 2009, at 04:28AM, &amp;quot;Emmanuel Blot&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26397076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eblot.ml@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Multiple opens wasn't as complicated to implement as I originally thought. Attached is a version that uses open counting to decide when the device and its asynchronous event ports are released. Let me know if this version works for you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Hi Nathan,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I'm getting back to you to let you know that your changes work seamlessly.
&lt;br&gt;&amp;gt;I've been able to use multiple interfaces of the USB device
&lt;br&gt;&amp;gt;(FTDI4232H) with various use cases and multiple interface
&lt;br&gt;&amp;gt;combinations, all worked perfectly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Thanks a lot for your help, I hope these changes will make it for libusb 1.0.6
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Should I post this message to the mailing list, so that other Mac OS X
&lt;br&gt;&amp;gt;users know there's a patch available for this issue?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;BR,
&lt;br&gt;&amp;gt;Manu
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26397076&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;multiple_open.patch&lt;/strong&gt; (7K) &lt;a href=&quot;http://old.nabble.com/attachment/26397076/0/multiple_open.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-MacOSX%3A-Accessing-multiple-interfaces-of-the-same%09device-at-once-tp26397076p26397076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388599</id>
	<title>Re: libusb 1.0.4 unstable on CentOS/RHEL 5.3</title>
	<published>2009-11-17T03:43:12Z</published>
	<updated>2009-11-17T03:43:12Z</updated>
	<author>
		<name>Alex Agranov</name>
	</author>
	<content type="html">&amp;gt;
&lt;br&gt;&amp;gt;Are you using the compatibility layer? &amp;nbsp;It doesn't seem to be the case.
&lt;br&gt;&amp;gt; &amp;nbsp;You need that for a 0.x app with a 1.0 library...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I've found that a multi process app has issues even with compat.
&lt;br&gt;&amp;gt;Threads are ok..
&lt;br&gt;&lt;br&gt;No, I'm not - I changed my application code instead to use synchronous APIs.
&lt;br&gt;And in any case the problem is reproduced with an example &amp;quot;lsusb&amp;quot; application (included in libusb 1.0.4 sources).
&lt;br&gt;&lt;br&gt;This email and any files transmitted with it are confidential material. They are intended solely for the use of the designated individual or entity to whom they are addressed. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful.
&lt;br&gt;&lt;br&gt;If you have received this email in error please immediately notify the sender and delete or destroy any copy of this message
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388599&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.4-unstable-on-CentOS-RHEL-5.3-tp26386030p26388599.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386727</id>
	<title>Re: libusb 1.0.4 unstable on CentOS/RHEL 5.3</title>
	<published>2009-11-17T00:45:20Z</published>
	<updated>2009-11-17T00:45:20Z</updated>
	<author>
		<name>j miller</name>
	</author>
	<content type="html">Alex Agranov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a small application that currently uses libusb 0.1.12 and runs on CentOS/RHEL 5.3 box (32 bit, with the latest kernel from updates repository - 2.6.18-164.6.1.el5). I'm trying to port it to libusb 1.0.4, however it looks like libusb 1.0.4 doesn't work in a stable manner on this platform.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was able to reproduce the problem with a simple &amp;quot;lsusb&amp;quot; program included in examples. And it's essentially as follows: sometimes &amp;quot;lsusb&amp;quot; compiled with libusb 1.0.4 works just fine. But at other times, it fails inside the libusb_get_device_list() call with the following error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libusb:error [usbfs_get_active_config] get_configuration failed ret=-1 errno=71
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; At the same time the following kernel error is logged in dmesg:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 8 len 1 ret -71
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When the error happens, it continues forever until I reboot my box. The issue may or may not happen again immediately after the reboot - I wasn't able to see any clear pattern in this one...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When &amp;quot;lsusb with libusb 1.0.4&amp;quot; produces the above error, &amp;quot;lsusb&amp;quot; provided with CentOS/RHEL (and compiled with libusb 0.1.12) works just fine. See below the strace for &amp;quot;lsusb with libusb 1.0.4&amp;quot; when it produces the error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; tg-lab8::~# strace /Project/bin/exe/lsusb
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; execve(&amp;quot;/Project/bin/exe/lsusb&amp;quot;, [&amp;quot;/Project/bin/exe/lsusb&amp;quot;], [/* 18 vars */]) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9306000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f31000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; access(&amp;quot;/etc/ld.so.preload&amp;quot;, R_OK) &amp;nbsp; &amp;nbsp; &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/i686/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/i686/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/i686/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/i686&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/i686/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/i686/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/i686/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/i686&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9&amp;quot;, 0xbffa3598) &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/etc/ld.so.cache&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=15257, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 15257, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f2d000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libusb-1.0.so.0&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\32\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=48628, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 51476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x41c000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x428000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x428000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libstdc++.so.6&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\326\3\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=925520, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 952024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x1ee000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdd) = 0x1ee000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x1f3000, 22232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1f3000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libm.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0204\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=206380, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4b6000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x4db000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0x4db000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libgcc_s.so.1&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\26\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=44992, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 48036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5dd000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x5e8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x5e8000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libc.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320_\1\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=1603392, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 1324452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb08000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0xc46000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13e) = 0xc46000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0xc49000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc49000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/librt.so.1&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\30\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=42048, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 33324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x893000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x89a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x89a000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libpthread.so.0&amp;quot;, O_RDONLY) &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000H\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2c000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=123596, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x74b000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x75e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0x75e000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x760000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x760000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2b000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; set_thread_area({entry_number:-1 -&amp;gt; 6, base_addr:0xb7f2b6d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x75e000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x89a000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0xc46000, 8192, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x4db000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x1ee000, 12288, PROT_READ) &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x510000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; munmap(0xb7f2d000, 15257) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; set_tid_address(0xb7f2b718) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 2859
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; set_robust_list(0xb7f2b720, 0xc) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; futex(0xbffa3e34, FUTEX_WAKE_PRIVATE, 1) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rt_sigaction(SIGRTMIN, {0x74f3d0, [], SA_SIGINFO}, NULL, 8) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rt_sigaction(SIGRT_1, {0x74f2e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; uname({sys=&amp;quot;Linux&amp;quot;, node=&amp;quot;tg-lab8&amp;quot;, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; futex(0x1f44fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9306000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9327000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9327000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; clock_gettime(0x4 /* CLOCK_??? */, 0xbffa3c48) = -1 EINVAL (Invalid argument)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; clock_getres(0xfffffffa /* CLOCK_??? */, NULL) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; clock_gettime(CLOCK_MONOTONIC, {5859, 53636345}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; uname({sys=&amp;quot;Linux&amp;quot;, node=&amp;quot;tg-lab8&amp;quot;, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/sys/bus/usb/devices&amp;quot;, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; pipe([3, 4]) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/sys/bus/usb/devices&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(5, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(5, /* 12 entries */, 4096) &amp;nbsp; &amp;nbsp; = 212
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; stat64(&amp;quot;/sys/bus/usb/devices/3-2/descriptors&amp;quot;, 0xbffa2ca0) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/sys/bus/usb/devices/3-2/busnum&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(5) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(5, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(5, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(5, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(6, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(6, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(6, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDONLY) &amp;nbsp;= 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(8, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(8, &amp;quot;\t\2\31\0\1\1&amp;quot;, 6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 25) = 25
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(6, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(6, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(6, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(6, /* 4 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 64
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDONLY) &amp;nbsp;= 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(8, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(8, &amp;quot;\t\2\31\0\1\1&amp;quot;, 6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 25) = 25
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= -1 EPROTO (Protocol error)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(5) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; exit_group(-1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And here is the strace for &amp;quot;lsusb with libusb 0.1.12&amp;quot; run immediately afterwards, that completes successfully:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; tg-lab8::~# strace lsusb
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; execve(&amp;quot;/sbin/lsusb&amp;quot;, [&amp;quot;lsusb&amp;quot;], [/* 18 vars */]) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9edb000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; access(&amp;quot;/etc/ld.so.preload&amp;quot;, R_OK) &amp;nbsp; &amp;nbsp; &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/etc/ld.so.cache&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=15257, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 15257, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f82000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libusb-0.1.so.4&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\21\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=31500, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f81000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 30232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x750000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x756000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x756000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libc.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320_\1\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=1603392, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 1324452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x25d000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x39b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13e) = 0x39b000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(0x39e000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x39e000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f80000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; set_thread_area({entry_number:-1 -&amp;gt; 6, base_addr:0xb7f806c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0x39b000, 8192, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mprotect(0xbb0000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; munmap(0xb7f82000, 15257) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9edb000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9efc000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9efc000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;./usb.ids&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/share/hwdata/usb.ids&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=357262, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;#\n# &amp;nbsp; &amp;nbsp; List of USB ID's\n#\n#\tMai&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;01 &amp;nbsp;Scanjet 82x0C\n\t0b0c &amp;nbsp;Wireles&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;2500\n\t3717 &amp;nbsp;EWS UPD\n\t3802 &amp;nbsp;photo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; series\n\tb202 &amp;nbsp;photosmart 7600 s&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;, Receipt/Slip\n\t0312 &amp;nbsp;7197 Print&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Camera\n\t05c3 &amp;nbsp;Digital Camera\n\t05&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;nal Composite Device\n\t3010 &amp;nbsp;Soun&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ent\n\t043c &amp;nbsp;6155 Phone Parent\n\t04&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;t Copy\n\t0042 &amp;nbsp;Scan Print Copy\n\t0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;tor\n\t0051 &amp;nbsp;Integrated Hub\n0453 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;l MultiMedia Keyboard\n\t0065 &amp;nbsp;Wir&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;C 2003\n\t0457 &amp;nbsp;Windows Powered Po&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; Mouse\n\t4d2a &amp;nbsp;PoPo Elixir Mouse &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;se\n\tc01a &amp;nbsp;M-BQ85 Optical Wheel M&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;2 &amp;nbsp;BTC 7932 mouse+keyboard\n046f &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;e\n\t1061 &amp;nbsp;PocketMouse Grip\n\t1062 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;000 &amp;nbsp;DTX\n\t7010 &amp;nbsp;UB99\n049a &amp;nbsp;Ganda&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\t1055 &amp;nbsp;BJC-85\n\t1056 &amp;nbsp;BJC-2110 Co&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; IXY Digital\n\t3047 &amp;nbsp;Digital IXUS&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;Coolpix 5000 (ptp)\n\t0114 &amp;nbsp;Cool&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;a\n\t0402 &amp;nbsp;PhotoPC 850z\n\t0403 &amp;nbsp;Pho&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; Ltd\n\t1029 &amp;nbsp;fi-4010c Scanner\n\t10&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Lansing HID Audio Controls\n\tff49&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;erface\n\t0008 &amp;nbsp;3000U AccuTouch\302\256 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9f1d000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f1d000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;RITE CCD Webcam(PC370R)\n\ta128 &amp;nbsp;P&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;CP-540CN\n\t01ab &amp;nbsp;MFC-240C\n\t01ae &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;F1DF102U/F1DG102U Flip Hub\n\t32&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; Color Pocket PC V37\n\t152b &amp;nbsp;Colo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;6 &amp;nbsp;MEMORY P-AUDIO\n\t01c7 &amp;nbsp;Printin&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;nterface Corp.\n0561 &amp;nbsp;Oasis Desig&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;auge WinTV-USB Model 40204 rev B&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;0584 &amp;nbsp;RATOC System, Inc.\n\t0008 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;rive USB2\n\t0203 &amp;nbsp;StudioDrive USB&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ernational, Inc.\n\t0002 &amp;nbsp;AccelePo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;0c1 &amp;nbsp;USB600 Scanner\n\t30ce &amp;nbsp;ScanM&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;e Device\n\t0715 &amp;nbsp;USB 2.0 microSD &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;odiak KM-9010\n\t9003 &amp;nbsp;VoIP Confer&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;2 &amp;nbsp;MP3 Player\n\t8124 &amp;nbsp;MP3 Player\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;00c &amp;nbsp;Dimage F100 Camera\n\t400d &amp;nbsp;S&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;d\n06ae &amp;nbsp;Professional Multimedia &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;re\n\t0066 &amp;nbsp;TRUST Digital PCTV and&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;e06 &amp;nbsp;EZ-Connect 802.11g Adapter\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;C\n074d &amp;nbsp;Micronas GmbH\n\t3553 &amp;nbsp;Com&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;0 &amp;nbsp;Cruzer Mini\n\t7101 &amp;nbsp;Pen Flash\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; Wireless Adapter WU830G\n07b3 &amp;nbsp;P&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Reader\n\t0005 &amp;nbsp;Reader (UISA2SE)\n\t&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;rk of the Unicorn\n\t0000 &amp;nbsp;FastLan&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9f3e000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f3e000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ros AR5004X / AR5005UX]\n\t4301 &amp;nbsp;W&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;eakers\n\t2900 &amp;nbsp;PCM2900 Audio Code&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;c.\n\t1600 &amp;nbsp;AES1600\n\t1610 &amp;nbsp;AES1600&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;800 Quad Joypad\n\t8866 &amp;nbsp;WiseGroup&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ion Laboratories\n094f &amp;nbsp;Yano\n\t010&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Systems Inc.\n\t0064 &amp;nbsp;ADU100 Data &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;oth Dongle\n\t2033 &amp;nbsp;BCM2033 Blueto&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ro generic vc0321 Camera\n\t0323 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;er\n\t1612 &amp;nbsp;AIR.Mate 2@net 802.11b&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; Sync\n\t0a1e &amp;nbsp;PocketPC Sync\n\t0a1f&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;compliant)\n\t000c &amp;nbsp;Transceiver (A&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;r\n\t1028 &amp;nbsp;Mass Storage Reader\n\t10&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;0 &amp;nbsp;Spectrum Digital XDS510 JTAG &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;g Wireless LAN Adapter(3887A)\n\t0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Line Tek Electronic Co., Ltd\n0d7&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;RT2570\n\t6874 &amp;nbsp;RT2573\n\t6877 &amp;nbsp;RT25&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;iAudio U3\n0e22 &amp;nbsp;Symbian Ltd.\n0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;td\n\t0001 &amp;nbsp;eGalax TouchScreen\n\t00&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\n\tdb78 &amp;nbsp;FusionHDTV DVB-T Dual Di&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Serial Port (WDM)\n\t1303 &amp;nbsp;Packet &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;01 &amp;nbsp;USB-Module for Spider8, CP32&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;885 Device\n\t6870 &amp;nbsp;MC8780 Device\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;B 2.0 Adapter\n\t5f01 &amp;nbsp;WPN111 (no &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; usbtty generic serial\n\t5121 &amp;nbsp;Op&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ra Technologies Corp.\n15f4 &amp;nbsp;Hanf&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9f5f000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f5f000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ax Digital Inc.\n168c &amp;nbsp;Atheros Co&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;B-U2000 - DVB-T USB cold\n\td001 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;6000/8/DIO\n\t604f &amp;nbsp;ME-6000/16/DIO&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;c.\n1d6b &amp;nbsp;Linux Foundation\n\t0001 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Net)\n\t6006 &amp;nbsp;MOTOROKR E6\n\t6008 &amp;nbsp;D&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot; acquisition card) firmware upda&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;x printer adapter cable\n4572 &amp;nbsp;Sh&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;nterface level)\nC 01 &amp;nbsp;Audio\n\t01 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Receiver\nAT 0711 &amp;nbsp;Radio Transmit&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;it\n\t003 &amp;nbsp;Flexor\n\t004 &amp;nbsp;Glove\n\t005&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;89 &amp;nbsp;International 3 (PC98)\n\t08a &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;\n\t082 &amp;nbsp;Mode Step\n\t083 &amp;nbsp;Recall La&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;ly\n\t23b &amp;nbsp;AC Tile Vertically\n\t23c&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;rol\n\t002 &amp;nbsp;EDID Information\n\t003 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;Relative State Of Charge\n\t065 &amp;nbsp;A&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;sh\nHCC 08 &amp;nbsp;French\nHCC 09 &amp;nbsp;German&amp;quot;..., 4096) = 910
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(3, &amp;quot;&amp;quot;, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; munmap(0xb7f85000, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 4 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 64
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\0\0\0@\277\n\355\3\4\0\1\2\3\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2Z\0\1\1\0\300&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;2\t\4\0\0\4\377\0\0\0\7\5\2\2@\0\0\7\5\4\2@\0\0\7\5\202\2@\0\0\7&amp;quot;..., 82) = 82
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= -1 ENOTTY (Inappropriate ioctl for device)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\0\2\t\0\1@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\f&amp;quot;, 17) = 17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 9
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; brk(0x9f80000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f80000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 004 Device 001: ID 0000:0000&amp;quot;..., 35Bus 004 Device 001: ID 0000:0000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 003 Device 001: ID 0000:0000&amp;quot;..., 35Bus 003 Device 001: ID 0000:0000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 003 Device 002: ID 0abf:03ed&amp;quot;..., 35Bus 003 Device 002: ID 0abf:03ed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 001 Device 001: ID 0000:0000&amp;quot;..., 35Bus 001 Device 001: ID 0000:0000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 002 Device 001: ID 0000:0000&amp;quot;..., 35Bus 002 Device 001: ID 0000:0000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; exit_group(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any idea/suggestion on what's going on?
&lt;br&gt;&amp;gt; Is there known compatibility issue between libusb 1.0.4 and CentOS/RHEL 5?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Alex
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This email and any files transmitted with it are confidential material. They are intended solely for the use of the designated individual or entity to whom they are addressed. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you have received this email in error please immediately notify the sender and delete or destroy any copy of this message
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Libusb-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No virus found in this incoming message.
&lt;br&gt;&amp;gt; Checked by AVG - www.avg.com 
&lt;br&gt;&amp;gt; Version: 9.0.707 / Virus Database: 270.14.68/2507 - Release Date: 11/16/09 12:53:00
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Are you using the compatibility layer? &amp;nbsp;It doesn't seem to be the case. 
&lt;br&gt;&amp;nbsp; You need that for a 0.x app with a 1.0 library...
&lt;br&gt;&lt;br&gt;I've found that a multi process app has issues even with compat. 
&lt;br&gt;Threads are ok..
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386727&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.4-unstable-on-CentOS-RHEL-5.3-tp26386030p26386727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386030</id>
	<title>libusb 1.0.4 unstable on CentOS/RHEL 5.3</title>
	<published>2009-11-16T23:45:21Z</published>
	<updated>2009-11-16T23:45:21Z</updated>
	<author>
		<name>Alex Agranov</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a small application that currently uses libusb 0.1.12 and runs on CentOS/RHEL 5.3 box (32 bit, with the latest kernel from updates repository - 2.6.18-164.6.1.el5). I'm trying to port it to libusb 1.0.4, however it looks like libusb 1.0.4 doesn't work in a stable manner on this platform.
&lt;br&gt;&lt;br&gt;I was able to reproduce the problem with a simple &amp;quot;lsusb&amp;quot; program included in examples. And it's essentially as follows: sometimes &amp;quot;lsusb&amp;quot; compiled with libusb 1.0.4 works just fine. But at other times, it fails inside the libusb_get_device_list() call with the following error:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; libusb:error [usbfs_get_active_config] get_configuration failed ret=-1 errno=71
&lt;br&gt;&lt;br&gt;At the same time the following kernel error is logged in dmesg:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 8 len 1 ret -71
&lt;br&gt;&lt;br&gt;When the error happens, it continues forever until I reboot my box. The issue may or may not happen again immediately after the reboot - I wasn't able to see any clear pattern in this one...
&lt;br&gt;&lt;br&gt;When &amp;quot;lsusb with libusb 1.0.4&amp;quot; produces the above error, &amp;quot;lsusb&amp;quot; provided with CentOS/RHEL (and compiled with libusb 0.1.12) works just fine. See below the strace for &amp;quot;lsusb with libusb 1.0.4&amp;quot; when it produces the error:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; tg-lab8::~# strace /Project/bin/exe/lsusb
&lt;br&gt;&amp;nbsp; &amp;nbsp; execve(&amp;quot;/Project/bin/exe/lsusb&amp;quot;, [&amp;quot;/Project/bin/exe/lsusb&amp;quot;], [/* 18 vars */]) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9306000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f31000
&lt;br&gt;&amp;nbsp; &amp;nbsp; access(&amp;quot;/etc/ld.so.preload&amp;quot;, R_OK) &amp;nbsp; &amp;nbsp; &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/i686/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/i686/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/i686/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/i686&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/tls/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/tls&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/i686/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/i686/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/i686/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/i686&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/sse2/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9/sse2&amp;quot;, 0xbffa3598) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/sparcv9/libusb-1.0.so.0&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/usr/lib/sparcv9&amp;quot;, 0xbffa3598) &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/etc/ld.so.cache&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=15257, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 15257, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f2d000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libusb-1.0.so.0&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\32\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=48628, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 51476, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x41c000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x428000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x428000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libstdc++.so.6&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\326\3\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=925520, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 952024, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x1ee000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdd) = 0x1ee000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x1f3000, 22232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1f3000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libm.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0204\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=206380, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4b6000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x4db000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0x4db000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libgcc_s.so.1&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\26\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=44992, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 48036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5dd000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x5e8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x5e8000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libc.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320_\1\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=1603392, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 1324452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb08000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0xc46000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13e) = 0xc46000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0xc49000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xc49000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/librt.so.1&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\30\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=42048, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 33324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x893000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x89a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x89a000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libpthread.so.0&amp;quot;, O_RDONLY) &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000H\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2c000
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=123596, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x74b000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x75e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0x75e000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x760000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x760000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f2b000
&lt;br&gt;&amp;nbsp; &amp;nbsp; set_thread_area({entry_number:-1 -&amp;gt; 6, base_addr:0xb7f2b6d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x75e000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x89a000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0xc46000, 8192, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x4db000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x1ee000, 12288, PROT_READ) &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x510000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; munmap(0xb7f2d000, 15257) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; set_tid_address(0xb7f2b718) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 2859
&lt;br&gt;&amp;nbsp; &amp;nbsp; set_robust_list(0xb7f2b720, 0xc) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; futex(0xbffa3e34, FUTEX_WAKE_PRIVATE, 1) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; rt_sigaction(SIGRTMIN, {0x74f3d0, [], SA_SIGINFO}, NULL, 8) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; rt_sigaction(SIGRT_1, {0x74f2e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; uname({sys=&amp;quot;Linux&amp;quot;, node=&amp;quot;tg-lab8&amp;quot;, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; futex(0x1f44fc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9306000
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9327000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9327000
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; clock_gettime(0x4 /* CLOCK_??? */, 0xbffa3c48) = -1 EINVAL (Invalid argument)
&lt;br&gt;&amp;nbsp; &amp;nbsp; clock_getres(0xfffffffa /* CLOCK_??? */, NULL) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; clock_gettime(CLOCK_MONOTONIC, {5859, 53636345}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; uname({sys=&amp;quot;Linux&amp;quot;, node=&amp;quot;tg-lab8&amp;quot;, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/sys/bus/usb/devices&amp;quot;, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; pipe([3, 4]) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/sys/bus/usb/devices&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(5, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(5, /* 12 entries */, 4096) &amp;nbsp; &amp;nbsp; = 212
&lt;br&gt;&amp;nbsp; &amp;nbsp; stat64(&amp;quot;/sys/bus/usb/devices/3-2/descriptors&amp;quot;, 0xbffa2ca0) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/sys/bus/usb/devices/3-2/busnum&amp;quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(5) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(5, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(5, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(5, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(6, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(6, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(6, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDONLY) &amp;nbsp;= 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(8, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(8, &amp;quot;\t\2\31\0\1\1&amp;quot;, 6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 25) = 25
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(6, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(6, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(6, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(6, /* 4 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 64
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDONLY) &amp;nbsp;= 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(8, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(8, &amp;quot;\t\2\31\0\1\1&amp;quot;, 6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; lseek(7, 18, SEEK_SET) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(7, &amp;quot;\t\2\31\0\1\1\0\340\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 25) = 25
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(7, USBDEVFS_CONTROL, 0xbffa1ce0) &amp;nbsp;= -1 EPROTO (Protocol error)
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(7) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(6) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(5) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; exit_group(-1) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= ?
&lt;br&gt;&lt;br&gt;And here is the strace for &amp;quot;lsusb with libusb 0.1.12&amp;quot; run immediately afterwards, that completes successfully:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; tg-lab8::~# strace lsusb
&lt;br&gt;&amp;nbsp; &amp;nbsp; execve(&amp;quot;/sbin/lsusb&amp;quot;, [&amp;quot;lsusb&amp;quot;], [/* 18 vars */]) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9edb000
&lt;br&gt;&amp;nbsp; &amp;nbsp; access(&amp;quot;/etc/ld.so.preload&amp;quot;, R_OK) &amp;nbsp; &amp;nbsp; &amp;nbsp;= -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/etc/ld.so.cache&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=15257, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 15257, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f82000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/lib/libusb-0.1.so.4&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\21\0\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=31500, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f81000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 30232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x750000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x756000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x756000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/lib/libc.so.6&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320_\1\0004\0\0\0&amp;quot;..., 512) = 512
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0755, st_size=1603392, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 1324452, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x25d000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x39b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13e) = 0x39b000
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(0x39e000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x39e000
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f80000
&lt;br&gt;&amp;nbsp; &amp;nbsp; set_thread_area({entry_number:-1 -&amp;gt; 6, base_addr:0xb7f806c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0x39b000, 8192, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mprotect(0xbb0000, 4096, PROT_READ) &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; munmap(0xb7f82000, 15257) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9edb000
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9efc000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9efc000
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;./usb.ids&amp;quot;, O_RDONLY) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = -1 ENOENT (No such file or directory)
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/usr/share/hwdata/usb.ids&amp;quot;, O_RDONLY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFREG|0644, st_size=357262, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;#\n# &amp;nbsp; &amp;nbsp; List of USB ID's\n#\n#\tMai&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;01 &amp;nbsp;Scanjet 82x0C\n\t0b0c &amp;nbsp;Wireles&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;2500\n\t3717 &amp;nbsp;EWS UPD\n\t3802 &amp;nbsp;photo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; series\n\tb202 &amp;nbsp;photosmart 7600 s&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;, Receipt/Slip\n\t0312 &amp;nbsp;7197 Print&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Camera\n\t05c3 &amp;nbsp;Digital Camera\n\t05&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;nal Composite Device\n\t3010 &amp;nbsp;Soun&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ent\n\t043c &amp;nbsp;6155 Phone Parent\n\t04&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;t Copy\n\t0042 &amp;nbsp;Scan Print Copy\n\t0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;tor\n\t0051 &amp;nbsp;Integrated Hub\n0453 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;l MultiMedia Keyboard\n\t0065 &amp;nbsp;Wir&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;C 2003\n\t0457 &amp;nbsp;Windows Powered Po&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; Mouse\n\t4d2a &amp;nbsp;PoPo Elixir Mouse &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;se\n\tc01a &amp;nbsp;M-BQ85 Optical Wheel M&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;2 &amp;nbsp;BTC 7932 mouse+keyboard\n046f &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;e\n\t1061 &amp;nbsp;PocketMouse Grip\n\t1062 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;000 &amp;nbsp;DTX\n\t7010 &amp;nbsp;UB99\n049a &amp;nbsp;Ganda&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\t1055 &amp;nbsp;BJC-85\n\t1056 &amp;nbsp;BJC-2110 Co&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; IXY Digital\n\t3047 &amp;nbsp;Digital IXUS&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;Coolpix 5000 (ptp)\n\t0114 &amp;nbsp;Cool&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;a\n\t0402 &amp;nbsp;PhotoPC 850z\n\t0403 &amp;nbsp;Pho&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; Ltd\n\t1029 &amp;nbsp;fi-4010c Scanner\n\t10&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Lansing HID Audio Controls\n\tff49&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;erface\n\t0008 &amp;nbsp;3000U AccuTouch\302\256 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9f1d000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f1d000
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;RITE CCD Webcam(PC370R)\n\ta128 &amp;nbsp;P&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;CP-540CN\n\t01ab &amp;nbsp;MFC-240C\n\t01ae &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;F1DF102U/F1DG102U Flip Hub\n\t32&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; Color Pocket PC V37\n\t152b &amp;nbsp;Colo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;6 &amp;nbsp;MEMORY P-AUDIO\n\t01c7 &amp;nbsp;Printin&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;nterface Corp.\n0561 &amp;nbsp;Oasis Desig&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;auge WinTV-USB Model 40204 rev B&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;0584 &amp;nbsp;RATOC System, Inc.\n\t0008 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;rive USB2\n\t0203 &amp;nbsp;StudioDrive USB&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ernational, Inc.\n\t0002 &amp;nbsp;AccelePo&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;0c1 &amp;nbsp;USB600 Scanner\n\t30ce &amp;nbsp;ScanM&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;e Device\n\t0715 &amp;nbsp;USB 2.0 microSD &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;odiak KM-9010\n\t9003 &amp;nbsp;VoIP Confer&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;2 &amp;nbsp;MP3 Player\n\t8124 &amp;nbsp;MP3 Player\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;00c &amp;nbsp;Dimage F100 Camera\n\t400d &amp;nbsp;S&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;d\n06ae &amp;nbsp;Professional Multimedia &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;re\n\t0066 &amp;nbsp;TRUST Digital PCTV and&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;e06 &amp;nbsp;EZ-Connect 802.11g Adapter\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;C\n074d &amp;nbsp;Micronas GmbH\n\t3553 &amp;nbsp;Com&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;0 &amp;nbsp;Cruzer Mini\n\t7101 &amp;nbsp;Pen Flash\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; Wireless Adapter WU830G\n07b3 &amp;nbsp;P&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Reader\n\t0005 &amp;nbsp;Reader (UISA2SE)\n\t&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;rk of the Unicorn\n\t0000 &amp;nbsp;FastLan&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9f3e000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f3e000
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ros AR5004X / AR5005UX]\n\t4301 &amp;nbsp;W&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;eakers\n\t2900 &amp;nbsp;PCM2900 Audio Code&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;c.\n\t1600 &amp;nbsp;AES1600\n\t1610 &amp;nbsp;AES1600&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;800 Quad Joypad\n\t8866 &amp;nbsp;WiseGroup&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ion Laboratories\n094f &amp;nbsp;Yano\n\t010&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Systems Inc.\n\t0064 &amp;nbsp;ADU100 Data &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;oth Dongle\n\t2033 &amp;nbsp;BCM2033 Blueto&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ro generic vc0321 Camera\n\t0323 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;er\n\t1612 &amp;nbsp;AIR.Mate 2@net 802.11b&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; Sync\n\t0a1e &amp;nbsp;PocketPC Sync\n\t0a1f&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;compliant)\n\t000c &amp;nbsp;Transceiver (A&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;r\n\t1028 &amp;nbsp;Mass Storage Reader\n\t10&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;0 &amp;nbsp;Spectrum Digital XDS510 JTAG &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;g Wireless LAN Adapter(3887A)\n\t0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Line Tek Electronic Co., Ltd\n0d7&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;RT2570\n\t6874 &amp;nbsp;RT2573\n\t6877 &amp;nbsp;RT25&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; &amp;nbsp;iAudio U3\n0e22 &amp;nbsp;Symbian Ltd.\n0&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;td\n\t0001 &amp;nbsp;eGalax TouchScreen\n\t00&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\n\tdb78 &amp;nbsp;FusionHDTV DVB-T Dual Di&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Serial Port (WDM)\n\t1303 &amp;nbsp;Packet &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;01 &amp;nbsp;USB-Module for Spider8, CP32&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;885 Device\n\t6870 &amp;nbsp;MC8780 Device\n&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;B 2.0 Adapter\n\t5f01 &amp;nbsp;WPN111 (no &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; usbtty generic serial\n\t5121 &amp;nbsp;Op&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ra Technologies Corp.\n15f4 &amp;nbsp;Hanf&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9f5f000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f5f000
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ax Digital Inc.\n168c &amp;nbsp;Atheros Co&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;B-U2000 - DVB-T USB cold\n\td001 &amp;nbsp;&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;6000/8/DIO\n\t604f &amp;nbsp;ME-6000/16/DIO&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;c.\n1d6b &amp;nbsp;Linux Foundation\n\t0001 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Net)\n\t6006 &amp;nbsp;MOTOROKR E6\n\t6008 &amp;nbsp;D&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot; acquisition card) firmware upda&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;x printer adapter cable\n4572 &amp;nbsp;Sh&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;nterface level)\nC 01 &amp;nbsp;Audio\n\t01 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Receiver\nAT 0711 &amp;nbsp;Radio Transmit&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;it\n\t003 &amp;nbsp;Flexor\n\t004 &amp;nbsp;Glove\n\t005&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;89 &amp;nbsp;International 3 (PC98)\n\t08a &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;\n\t082 &amp;nbsp;Mode Step\n\t083 &amp;nbsp;Recall La&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;ly\n\t23b &amp;nbsp;AC Tile Vertically\n\t23c&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;rol\n\t002 &amp;nbsp;EDID Information\n\t003 &amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;Relative State Of Charge\n\t065 &amp;nbsp;A&amp;quot;..., 4096) = 4096
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;sh\nHCC 08 &amp;nbsp;French\nHCC 09 &amp;nbsp;German&amp;quot;..., 4096) = 910
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(3, &amp;quot;&amp;quot;, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; munmap(0xb7f85000, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 6 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 96
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/004/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 4 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 64
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\0\0\0@\277\n\355\3\4\0\1\2\3\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2Z\0\1\1\0\300&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;2\t\4\0\0\4\377\0\0\0\7\5\2\2@\0\0\7\5\4\2@\0\0\7\5\202\2@\0\0\7&amp;quot;..., 82) = 82
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/003/002&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= -1 ENOTTY (Inappropriate ioctl for device)
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\0\2\t\0\1@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\f&amp;quot;, 17) = 17
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/001/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 9
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002&amp;quot;, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fcntl64(3, F_SETFD, FD_CLOEXEC) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; brk(0x9f80000) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0x9f80000
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 3 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 48
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(4, USBDEVFS_CONNECTINFO, 0xbfdcdaa4) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\22\1\20\1\t\0\0@\0\0\0\0\6\2\3\2\1\1&amp;quot;, 18) = 18
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\t\2\31\0\1\1\0\340&amp;quot;, 8) &amp;nbsp; &amp;nbsp; &amp;nbsp; = 8
&lt;br&gt;&amp;nbsp; &amp;nbsp; read(4, &amp;quot;\0\t\4\0\0\1\t\0\0\0\7\5\201\3\2\0\377&amp;quot;, 17) = 17
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(4) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; getdents(3, /* 0 entries */, 4096) &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; open(&amp;quot;/dev/bus/usb/002/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; ioctl(3, USBDEVFS_IOCTL, 0xbfdcfa3c) &amp;nbsp; &amp;nbsp;= 3
&lt;br&gt;&amp;nbsp; &amp;nbsp; close(3) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
&lt;br&gt;&amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 004 Device 001: ID 0000:0000&amp;quot;..., 35Bus 004 Device 001: ID 0000:0000
&lt;br&gt;&amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 003 Device 001: ID 0000:0000&amp;quot;..., 35Bus 003 Device 001: ID 0000:0000
&lt;br&gt;&amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 003 Device 002: ID 0abf:03ed&amp;quot;..., 35Bus 003 Device 002: ID 0abf:03ed
&lt;br&gt;&amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 001 Device 001: ID 0000:0000&amp;quot;..., 35Bus 001 Device 001: ID 0000:0000
&lt;br&gt;&amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;nbsp; &amp;nbsp; write(1, &amp;quot;Bus 002 Device 001: ID 0000:0000&amp;quot;..., 35Bus 002 Device 001: ID 0000:0000
&lt;br&gt;&amp;nbsp; &amp;nbsp; ) = 35
&lt;br&gt;&amp;nbsp; &amp;nbsp; exit_group(0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = ?
&lt;br&gt;&lt;br&gt;Any idea/suggestion on what's going on?
&lt;br&gt;Is there known compatibility issue between libusb 1.0.4 and CentOS/RHEL 5?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; &amp;nbsp;Alex
&lt;br&gt;&lt;br&gt;This email and any files transmitted with it are confidential material. They are intended solely for the use of the designated individual or entity to whom they are addressed. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful.
&lt;br&gt;&lt;br&gt;If you have received this email in error please immediately notify the sender and delete or destroy any copy of this message
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386030&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/libusb-1.0.4-unstable-on-CentOS-RHEL-5.3-tp26386030p26386030.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374219</id>
	<title>Re: Hotplug</title>
	<published>2009-11-16T07:47:23Z</published>
	<updated>2009-11-16T07:47:23Z</updated>
	<author>
		<name>azdes</name>
	</author>
	<content type="html">I am running Debian etch and lenny. I don't see libudev in either /lib
&lt;br&gt;or /usr/lib. (I see libudev0 in the Synaptic package manager, but I have
&lt;br&gt;not downloaded it and there is no additional version info on it).
&lt;br&gt;&lt;br&gt;When you get going on this, please keep me informed. I would be happy to
&lt;br&gt;provide some testing and feedback.
&lt;br&gt;&lt;br&gt;Thanks again.
&lt;br&gt;&lt;br&gt;-- Phil
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Daniel Drake [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dan@...&lt;/a&gt;] 
&lt;br&gt;Sent: Sunday, November 15, 2009 6:57 AM
&lt;br&gt;To: Philip Joslin - C10554
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374219&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libusb-devel@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [Libusb-devel] Hotplug
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374219&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Philip.Joslin@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; I have seen discussion that hotplug support was going to be included 
&lt;br&gt;&amp;gt; in libusb 2.0. Is there a timetable for hotplug?
&lt;br&gt;&lt;br&gt;I think we'll include it in the near future.
&lt;br&gt;&lt;br&gt;I've just started to work on a libudev-based implementation. This means
&lt;br&gt;it will require a fairly modern Linux platform.
&lt;br&gt;&lt;br&gt;I'll design it so that adding a dbus-based hotplug backend will be
&lt;br&gt;possible in future. Then it could listen for events from HAL on older
&lt;br&gt;platforms, covering a larger userbase.
&lt;br&gt;&lt;br&gt;Which platform setup will you be running on? Does it have libudev? (just
&lt;br&gt;a quick ls in /lib or /usr/lib should a be good enough answer)
&lt;br&gt;&lt;br&gt;I guess we also have some embedded users interested in this
&lt;br&gt;functionality too, who probably don't have udev (or perhaps simply don't
&lt;br&gt;yet have a modern version with libudev), or are Linux 2.4 users, in
&lt;br&gt;which case adding a &amp;quot;plan C&amp;quot; backend may also be appropriate too: one
&lt;br&gt;that creates a thread that watches for changes in the usbfs directories.
&lt;br&gt;&lt;br&gt;Then we should have everything covered...
&lt;br&gt;&lt;br&gt;&amp;gt; I would much rather just give libusb a callback for a specific device 
&lt;br&gt;&amp;gt; and have that callback notified when the unit is unplugged. And have a
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;quot;general&amp;quot; callback that would be called when a new device is plugged
&lt;br&gt;in.
&lt;br&gt;&amp;gt; Is this the way the hotplug is planned?
&lt;br&gt;&lt;br&gt;More or less - lets see what I come up with :)
&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374219&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hotplug-tp26204977p26374219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26373221</id>
	<title>Re: usb_get_string() error</title>
	<published>2009-11-16T06:48:05Z</published>
	<updated>2009-11-16T06:48:05Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Peter Stuge wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Russell Shaw wrote:
&lt;br&gt;&amp;gt;&amp;gt; I got it working now. Directory permissions must have been wrong.
&lt;br&gt;&amp;gt;&amp;gt; I did: sudo chmod -R +X /dev/bus
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is total overkill.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please find out which particular device file the program fails on.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One way is to reboot, and run your program with strace, then look for
&lt;br&gt;&amp;gt; the system call which fails with EPERM. Your udev rules are not
&lt;br&gt;&amp;gt; correct, or are not being applied to your device.
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;I did that temporarily as a test. Later i cleaned up the whole of /dev
&lt;br&gt;by setting sane permissions, then rebooted and checked anyway. I have
&lt;br&gt;a simple udev rule now.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26373221&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usb_get_string%28%29-error-tp26371303p26373221.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26372768</id>
	<title>Re: usb_get_string() error</title>
	<published>2009-11-16T06:21:18Z</published>
	<updated>2009-11-16T06:21:18Z</updated>
	<author>
		<name>Peter Stuge-4</name>
	</author>
	<content type="html">Russell Shaw wrote:
&lt;br&gt;&amp;gt; I got it working now. Directory permissions must have been wrong.
&lt;br&gt;&amp;gt; I did: sudo chmod -R +X /dev/bus
&lt;br&gt;&lt;br&gt;This is total overkill.
&lt;br&gt;&lt;br&gt;Please find out which particular device file the program fails on.
&lt;br&gt;&lt;br&gt;One way is to reboot, and run your program with strace, then look for
&lt;br&gt;the system call which fails with EPERM. Your udev rules are not
&lt;br&gt;correct, or are not being applied to your device.
&lt;br&gt;&lt;br&gt;&lt;br&gt;//Peter
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26372768&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usb_get_string%28%29-error-tp26371303p26372768.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26372706</id>
	<title>Re: usb_get_string() error</title>
	<published>2009-11-16T06:18:03Z</published>
	<updated>2009-11-16T06:18:03Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Russell Shaw wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; What causes usb_get_string() to return -1 ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've found this in an existing program that should work,
&lt;br&gt;&amp;gt; with the right usb device plugged in.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried changing permissions with udev rules without
&lt;br&gt;&amp;gt; success.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The program works as root. Is there a permission in /dev
&lt;br&gt;&amp;gt; that should fix it?
&lt;/div&gt;&lt;br&gt;I got it working now. Directory permissions must have been wrong.
&lt;br&gt;I did: sudo chmod -R +X /dev/bus
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Libusb-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26372706&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Libusb-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/libusb-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/libusb-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usb_get_string%28%29-error-tp26371303p26372706.html" />
</entry>

</feed>
