Help! ==== "InitFromXml failed: Unknown USB device speed!"

239 views
Skip to first unread message

rahul....@yahoo.com

unread,
Jan 9, 2011, 9:24:52 AM1/9/11
to OpenNI
Hello There,

Am following the instructions at the bottoim without success. The
files were available at the new links. I also installed the unstable
version . Both seem to be giving this error. Enabled the log. Any
help will deeply aprpeciated. Also where do I specify the lof file ,
if I change these <Log writeToConsole="false" writeToFile="true">
in the SamplesConfig.xml

Follow these instructions:

1) Install OpenNI:
http://openni.org/sites/default/files/OPENNI-Win32-1.0.0.23.exe

2) Install the Kinect sensor plugin:https://github.com/avin2/
SensorKinect
Run the precompiled SensorKinect-Win32-5.0.0.exe file from the Bin
directory.

3) Install NITE:http://downloads.primesense.com/NITE-
Win32-1.3.0.17.exe
Use the key: 0KOIk2JeIBYClPWVnMoRKn5cdY4= when the installer asks
for one.

4) Copy "c:\Program Files\Prime Sense\Sensor\SampleXMLs\NITE\Data" "c:
\Program Files\Prime Sense\NITE\Data"

5) Copy "c:\Program Files\Prime Sense\Sensor\SampleXMLs\OPENNI\Data"
"c:\Program Files\OpenNI\Data"
(overwrite files)

rahul....@yahoo.com

unread,
Jan 9, 2011, 10:29:43 AM1/9/11
to OpenNI
Here is what I found in the log @ "C:\Program Files\Prime Sense\Sensor
\Bin\Log". Are there any setting I can update in GlobalDefaults.ini ?

29839 [VERBOSE] XnUSBWin32.cpp 458 USB Driver Version is: 3.1.0.4
29860 [VERBOSE] XnUSBWin32.cpp 473 USB Driver Current Alt Setting
is: 0
29873 [WARNING] XnDeviceSensorIO.cpp 121 Device is not high speed!
29885 [VERBOSE] XnDeviceSensorIO.cpp 314 Shutting down USB depth
read thread...
29897 [VERBOSE] XnDeviceSensorIO.cpp 324 Shutting down USB image
read thread...
29915 [VERBOSE] XnDeviceSensorIO.cpp 371 Device closed successfully
82545 [ERROR] Win32Network.cpp 489 recv() failed with winsock error
10054

On Jan 9, 9:24 am, "rahul.nar...@yahoo.com" <rahul.nar...@yahoo.com>
wrote:

KeithN

unread,
Jan 9, 2011, 2:48:59 PM1/9/11
to OpenNI
It may be your USB port is too slow, try plugging into a faster one
if you can.
I ran into same error using port on front panel and plugging into port
on back of PC fixed it for me. -- Keith

On Jan 9, 6:24 am, "rahul.nar...@yahoo.com" <rahul.nar...@yahoo.com>
wrote:

Ziv Hendel

unread,
Jan 9, 2011, 3:54:47 PM1/9/11
to OpenNI
Hi Rahul!

Can you please post the entire log file?
We are not aware of any problem caused by the new unstable releases
but I would like to look into it.
(The log you posted is too short and does not contain the information
I need...)

Thanks!!
Ziv.

On Jan 9, 5:29 pm, "rahul.nar...@yahoo.com" <rahul.nar...@yahoo.com>
wrote:

willwh

unread,
Jan 9, 2011, 5:37:24 PM1/9/11
to OpenNI
Hi Rahul,

Interestingly, I had a similar issue. I would've thought the USB ports
on my board (i.e. rear) would be just fine - does not seem that they
are.

The USB ports on the front of my case however, which are plugged in to
the board, allow me to start without any problems.

Thx,

Will

rahul....@yahoo.com

unread,
Jan 9, 2011, 6:37:05 PM1/9/11
to OpenNI
Hi Ziv,

I seem to have regressed! I tried using the unstable version but get
"xnUSBEnumerateDevices " error. Howeverr, I saw your note Bernie. I
could not find an installer in the Open NI unstable branch so I used
the other OPENNI-Win32-1.0.0.23.exe. Evindently I cannot use this and
will try recomlining it after I figure out the other issue I am facing
now.

I tried going back to the stable version. However , I now get a camera
conflict and "device could not start" while installing the stable
version of the camera. Any help in resolving it will be great. The
moment I get past that , I will try plugging the USB on the back of my
computer. I also have a Lenovo T400 laptop as well with an inbuilt
camera. I have the same devlice could not start on the camera though
the motor seems to fine and I get a blinking green light.

The complete log prior to these issues follows.

980 [INFO] XnLog.cpp 165 OpenNI version is 1.0.0 (Build 23)-Win32
(Dec 8 2010 12:28:30)
1026 [INFO] XnLog.cpp 173 Log system initialized. Console: 0,
File: 1, Severity: VERBOSE, Masks: ALL
6363 [VERBOSE] XnSensorServer.cpp 288 Server is now listening
18130 [INFO] XnSensorServer.cpp 350 New client trying to connect...
18463 [VERBOSE] XnSensorServer.cpp 1119 Client 1 requested to open
sensor *:0
18489 [VERBOSE] XnSensor.cpp 178 Initializing device sensor...
18556 [VERBOSE] XnDeviceModule.cpp 417 Configuring module 'Device'
from section 'Device' in file 'C:\Program Files\Prime Sense\Sensor\Data
\GlobalDefaults.ini'...
21654 [INFO] XnDeviceModule.cpp 431 Module 'Device' configuration
was loaded from file.
21695 [INFO] XnProperty.cpp 151 Property Device.ShareMode was
changed to 1.
30758 [VERBOSE] XnDeviceSensorIO.cpp 85 Connecting to USB device...
30780 [VERBOSE] XnDeviceSensorIO.cpp 93 Trying to open a 6.0
sensor...
32346 [VERBOSE] XnUSBWin32.cpp 458 USB Driver Version is: 3.1.0.4
32367 [VERBOSE] XnUSBWin32.cpp 473 USB Driver Current Alt Setting
is: 0
32380 [WARNING] XnDeviceSensorIO.cpp 121 Device is not high speed!
32392 [VERBOSE] XnDeviceSensorIO.cpp 314 Shutting down USB depth
read thread...
32403 [VERBOSE] XnDeviceSensorIO.cpp 324 Shutting down USB image
read thread...
32421 [VERBOSE] XnDeviceSensorIO.cpp 371 Device closed successfully
91727 [ERROR] Win32Network.cpp 489 recv() failed with winsock error
10054
91770 [ERROR] XnIONetworkStream.cpp 92 Got an error while reading
network buffer: Xiron OS failed to receive a network buffer!
91784 [WARNING] XnSensorServer.cpp 1860 Failed processing client
request: Xiron OS failed to receive a network buffer!
91797 [WARNING] XnSensorServer.cpp 1851 Client 1 socket was closed.
121639 [VERBOSE] XnSensorServer.cpp 1048 Removing client 1...
121658 [VERBOSE] XnSensorServer.cpp 997 Client 1 is releasing stream
Device
121678 [VERBOSE] XnSensorServer.cpp 1065 Client 1 removed
10184010 [INFO] XnSensorServer.cpp 414 No client connection for 10000
ms. Shutting down...
10184053 [VERBOSE] XnDeviceSensorIO.cpp 314 Shutting down USB depth
read thread...
10184068 [VERBOSE] XnDeviceSensorIO.cpp 324 Shutting down USB image
read thread...
10184080 [VERBOSE] XnDeviceSensorIO.cpp 371 Device closed successfully
11996789 [VERBOSE] XnDeviceSensorIO.cpp 314 Shutting down USB depth
read thread...
11996825 [VERBOSE] XnDeviceSensorIO.cpp 324 Shutting down USB image
read thread...
11996838 [VERBOSE] XnDeviceSensorIO.cpp 371 Device closed successfully
11996863 [VERBOSE] XnDeviceSensorIO.cpp 314 Shutting down USB depth
read thread...
11996876 [VERBOSE] XnDeviceSensorIO.cpp 324 Shutting down USB image
read thread...
11996889 [VERBOSE] XnDeviceSensorIO.cpp 371 Device closed successfully
> > > (overwrite files)- Hide quoted text -
>
> - Show quoted text -

Ziv Hendel

unread,
Jan 9, 2011, 6:47:11 PM1/9/11
to OpenNI
Hi Raul!
You can find the latest unstable version here:
http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable

Can you please install it again and see if it's working?
And if not, can you post the log from the unstable version?

Also, to solve the device cannot start issue, you probably need to
reboot...

Thanks,
Ziv.

On Jan 10, 1:37 am, "rahul.nar...@yahoo.com" <rahul.nar...@yahoo.com>
wrote:

clupprich

unread,
Jan 10, 2011, 5:54:42 AM1/10/11
to OpenNI
Hi Ziv,

I'm having the same problems, please see below for the logfile. I've
tried to connect the Kinect on every USB port of my laptop, without
success.

11475 [INFO] XnLog.cpp 165 OpenNI version is 1.0.0 (Build 25)-Win32
(Jan 6 2011 00:42:40)
11656 [INFO] XnLog.cpp 173 Log system initialized. Console: 0,
File: 1, Severity: VERBOSE, Masks: ALL
26201 [VERBOSE] XnSensorServer.cpp 142 Server is now listening
33163 [INFO] XnSensorServer.cpp 168 New client trying to connect...
40528 [VERBOSE] XnServerSession.cpp 198 Client 1 requested to open
sensor \\?
\usb#vid_045e&pid_02b0#6&2278c0d1&0&2#{c3b5f022-5a42-1980-1909-
ea72095601b1}
40632 [INFO] XnSensorsManager.cpp 94 Opening sensor '\\?
\usb#vid_045e&pid_02b0#6&2278c0d1&0&2#{c3b5f022-5a42-1980-1909-
ea72095601b1}'...
41735 [VERBOSE] XnSensor.cpp 154 Initializing device sensor...
41865 [VERBOSE] XnDeviceModule.cpp 417 Configuring module 'Device'
from section 'Device' in file 'C:\Program Files\Prime Sense\Sensor\Data
\GlobalDefaults.ini'...
64550 [INFO] XnDeviceModule.cpp 431 Module 'Device' configuration
was loaded from file.
64623 [INFO] XnProperty.cpp 151 Property Device.ShareMode was
changed to 1.
73706 [VERBOSE] XnDeviceSensorIO.cpp 86 Connecting to USB device...
73783 [VERBOSE] XnDeviceSensorIO.cpp 104 Trying to open sensor '\\?
\usb#vid_045e&pid_02b0#6&2278c0d1&0&2#{c3b5f022-5a42-1980-1909-
ea72095601b1}'...
76691 [VERBOSE] XnUSBWin32.cpp 553 USB Driver Version is: 3.1.0.4
76745 [VERBOSE] XnUSBWin32.cpp 568 USB Driver Current Alt Setting
is: 0
76771 [WARNING] XnDeviceSensorIO.cpp 113 Device is not high speed!
76793 [VERBOSE] XnDeviceSensorIO.cpp 308 Shutting down USB depth
read thread...
76815 [VERBOSE] XnDeviceSensorIO.cpp 318 Shutting down USB image
read thread...
76854 [VERBOSE] XnDeviceSensorIO.cpp 365 Device closed successfully
1663396 [ERROR] Win32Network.cpp 489 recv() failed with winsock error
10054
1663467 [ERROR] XnIONetworkStream.cpp 92 Got an error while reading
network buffer: Xiron OS failed to receive a network buffer!
1663494 [WARNING] XnServerSession.cpp 1080 Failed processing client
request: Xiron OS failed to receive a network buffer!
1663518 [WARNING] XnServerSession.cpp 1070 Client 1 socket was
closed. Closing session...
1739138 [VERBOSE] XnSensorServer.cpp 319 Removing client 1...
1739304 [VERBOSE] XnSensorServer.cpp 330 Client 1 removed
1839189 [INFO] XnSensorServer.cpp 224 No sensors are open and no
client is connected for 10000 ms. Shutting down...

banditbrandit

unread,
Jan 10, 2011, 11:19:48 AM1/10/11
to OpenNI
I'm seeing this exact same issue (my log file for XnSensorServer.exe
looks identical to the one posted earlier in this thread). I'm trying
to run the samples on a Windows 7 64-bit operating system, running on
a bootcamp partition on a Mac Mini (Intel Core2 Duo).

Thank you.
> ...
>
> read more »

banditbrandit

unread,
Jan 10, 2011, 11:50:55 AM1/10/11
to OpenNI
Strange. I fixed the issue simply by moving the connection to the
Kinect hardware over one USB port. Oddly, on my Mac Mini, I get the
"Device is not high speed" error if I plug my Kinect into an odd-
numbered USB port (starting with Port 1) but don't have the issue if I
plug into an even numbered Port (either ports 2 or 4). Perhaps there
is something particular to the Mac hardware that could be causing this
issue?

-Patrick
> ...
>
> read more »
Message has been deleted

Ziv Hendel

unread,
Jan 10, 2011, 4:35:59 PM1/10/11
to OpenNI
Hi everyone!

I was able to reproduce and fix the "Unknown USB device speed!" bug in
the latest OpenNI unstable release for windows.
Sorry for all the inconvenience which it caused.

The sources were updated on GitHUB you can redownload the binary
installation from:
http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable

If you can please reinstall this version, then retest all the
problematic ports / computers and let me know if the problem is now
solved, I will appreciate it.

Thanks!

Ziv.
> ...
>
> read more »

Ray Woods

unread,
Jan 10, 2011, 6:19:52 PM1/10/11
to OpenNI
Hello Ziv

I confirm that the new unstable OpenNI build ( still named OpenNI-Bin-
Win32-v1.0.0.25.exe but slightly bigger)
does indeed resolve the "unknown USB device speed" issue on both the
front panel USB ports of my desktop system
and all USB port on my laptop.

Thanks = Ray

On Jan 10, 1:35 pm, Ziv Hendel <z...@openni.org> wrote:
> Hi everyone!
>
> I was able to reproduce and fix the "UnknownUSBdevicespeed!" bug in
> the latest OpenNI unstable release for windows.
> Sorry for all the inconvenience which it caused.
>
> The sources were updated on GitHUB you can redownload the binary
> installation from:http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable
>
> If you can please reinstall this version, then retest all the
> problematic ports / computers and let me know if the problem is now
> solved, I will appreciate it.
>
> Thanks!
>
> Ziv.
>
> On Jan 10, 6:50 pm, banditbrandit <banditbran...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Strange.  I fixed the issue simply by moving the connection to the
> > Kinect hardware over oneUSBport.  Oddly, on my Mac Mini, I get the
> > "Device is not highspeed" error if I plug my Kinect into an odd-
> > numberedUSBport (starting with Port 1) but don't have the issue if I
> > plug into an even numbered Port (either ports 2 or 4).  Perhaps there
> > is something particular to the Mac hardware that could be causing this
> > issue?
>
> > -Patrick
>
> > On Jan 10, 11:19 am, banditbrandit <banditbran...@gmail.com> wrote:
>
> > > I'm seeing this exact same issue (my log file for XnSensorServer.exe
> > > looks identical to the one posted earlier in this thread).  I'm trying
> > > to run the samples on a Windows 7 64-bit operating system, running on
> > > a bootcamp partition on a Mac Mini (Intel Core2 Duo).
>
> > > Thank you.
>
> > > On Jan 10, 5:54 am, clupprich <christ...@lupprich.info> wrote:
>
> > > > Hi Ziv,
>
> > > > I'm having the same problems, please see below for the logfile. I've
> > > > tried to connect the Kinect on everyUSBport of my laptop, without
> > > >    76691        [VERBOSE]       XnUSBWin32.cpp  553    USBDriver Version is: 3.1.0.4
> > > >    76745        [VERBOSE]       XnUSBWin32.cpp  568    USBDriver Current Alt Setting
> > > > > > moment I get past that , I will try plugging theUSBon the back of my
> > > > > > computer. I also have a Lenovo T400 laptop as well with an inbuilt
> > > > > > camera. I have the same devlice could not start on the camera though
> > > > > > the motor seems to fine and I get a blinking green light.
>
> > > > > > The complete log prior to these issues  follows.
>
> > > > > >      980        [INFO]  XnLog.cpp       165     OpenNI version is 1.0.0 (Build 23)-Win32
> > > > > > (Dec  8 2010 12:28:30)
> > > > > >     1026        [INFO]  XnLog.cpp       173     Log system initialized. Console: 0,
> > > > > > File: 1, Severity: VERBOSE, Masks: ALL
> > > > > >     6363        [VERBOSE]       XnSensorServer.cpp      288     Server is now listening
> > > > > >    18130        [INFO]  XnSensorServer.cpp      350     New client trying to connect...
> > > > > >    18463        [VERBOSE]       XnSensorServer.cpp      1119    Client 1 requested to open
> > > > > > sensor *:0
> > > > > >    18489        [VERBOSE]       XnSensor.cpp    178     Initializing device sensor...
> > > > > >    18556        [VERBOSE]       XnDeviceModule.cpp      417     Configuring module 'Device'
> > > > > > from section 'Device' in file 'C:\Program Files\Prime Sense\Sensor\Data
> > > > > > \GlobalDefaults.ini'...
> > > > > >    21654        [INFO]  XnDeviceModule.cpp      431     Module 'Device' configuration
> > > > > > was loaded from file.
> > > > > >    21695        [INFO]  XnProperty.cpp  151     Property Device.ShareMode was
> > > > > > changed to 1.
> > > > > >    30758        [VERBOSE]       XnDeviceSensorIO.cpp    85      Connecting toUSBdevice...
> > > > > >    30780        [VERBOSE]       XnDeviceSensorIO.cpp    93      Trying to open a 6.0
> > > > > > sensor...
> > > > > >    32346        [VERBOSE]       XnUSBWin32.cpp  458    USBDriver Version is: 3.1.0.4
> > > > > >    32367        [VERBOSE]       XnUSBWin32.cpp  473    USBDriver Current Alt Setting
> > > > > > is: 0
> > > > > >    32380        [WARNING]       XnDeviceSensorIO.cpp    121     Device is not highspeed!
> > > > > >    32392        [VERBOSE]       XnDeviceSensorIO.cpp    314     Shutting downUSBdepth
> > > > > > read thread...
> > > > > >    32403        [VERBOSE]       XnDeviceSensorIO.cpp    324     Shutting downUSBimage
> > > > > > read thread...
> > > > > >    32421        [VERBOSE]       XnDeviceSensorIO.cpp    371     Device closed successfully
> > > > > >    91727        [ERROR] Win32Network.cpp        489     recv() failed with winsock error
> > > > > > 10054
> > > > > >    91770        [ERROR] XnIONetworkStream.cpp   92      Got an error while reading
> > > > > > network buffer: Xiron OS failed to receive a network buffer!
> > > > > >    91784        [WARNING]       XnSensorServer.cpp      1860    Failed processing client
> > > > > > request: Xiron OS failed to receive a network buffer!
> > > > > >    91797        [WARNING]       XnSensorServer.cpp      1851    Client 1 socket was closed.
> > > > > >   121639        [VERBOSE]       XnSensorServer.cpp      1048    Removing client 1...
> > > > > >   121658        [VERBOSE]       XnSensorServer.cpp      997     Client 1 is releasing stream
> > > > > > Device
> > > > > >   121678        [VERBOSE]      
>
> ...
>
> read more »

banditbrandit

unread,
Jan 10, 2011, 7:57:44 PM1/10/11
to OpenNI
I can confirm Ray's confirmation! USB port location doesn't appear to
matter anymore. However, I am having a problem running the NITE
samples (I haven't been able to get them to run at any point); I've
created a new post for this: http://groups.google.com/group/openni-dev/browse_thread/thread/56a9e5fe78bc791?hl=en

Thanks,

-Patrick
> ...
>
> read more »

rahul....@yahoo.com

unread,
Jan 11, 2011, 7:46:58 AM1/11/11
to OpenNI
Hi Ziv,

The unstable versions now run fine on a machine running XP (on AMD) 32
bit and I just ran Sinbad / Ogre successfully . So thanks a lot for
the tip.

I will try this weekends onwards on my T400 Laptop.
> > > - Show quoted text -- Hide quoted text -

croeckers

unread,
Jan 11, 2011, 10:15:42 AM1/11/11
to OpenNI
no more problems here. Thank you Ziv!
Is there a sample which shows me the way of handling mutiple (kinect)
devices with OpenNi?

Ziv Hendel

unread,
Jan 11, 2011, 6:15:26 PM1/11/11
to OpenNI
Thanks!
I'm glad to see that the fix solved the problem for everyone :-)

Regarding the usage of multiple sensors, we will add such an example
in the near future since none exists yet...

Ziv.

clupprich

unread,
Jan 12, 2011, 5:12:22 AM1/12/11
to OpenNI
Runs perfectly, thanks Ziv!
Reply all
Reply to author
Forward
0 new messages