`

[转载+修改]openSUSE安装openNI和出现"InitFromXml failed:Failed to set USB interface"的解决方法

阅读更多

转载自:groups.google.com/group/openni-dev/browse_thread/thread/310ee74a149c8168

 

安装最新的openni的时候发现到哪也找不到nite的license, 后来发现随便输一个就可以了~

不放心的话就用这个之前放出的: 0KOIk2JeIBYClPWVnMoRKn5cdY4=

 

都安装完后要运行更新一下链接器缓存

sudo /sbin/ldconfig #opensuse12.1

如果你用的是3.1的内核, 那还要干掉一个模块~

 

原文:

I spent ages trying to work out the reason for "InitFromXml failed:
Failed to set USB interface!" in Ubuntu oneiric, The answer turned out
to be gspca_kinect kernel module.

If you have this problem trying to start openni libfreenect etc apps,
try :

rmmod gspca_kinect

and then try the app again.

Hope this helps.

Dan

 

在opensuse12.1 中运行nite的自带例子总是提示 InitFromXml failed:Failed to set USB interface

造成这个问题的原因是内核模块 gspca_kinect , 在opensuse 12.1-desktop中的位置是 /lib/modules/`uname -r`/kernel/drivers/media/video/gspca/gspca_kinect.ko  看来是linux新内核中包含了kinect的驱动(fedora16中也有这个模块)。

解决的话就是运行

rmmod gspca_kinect 

还是不行的话直接删除这个内核模块, 如果你不放心的话可以备份一下再删除

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics