cancel
Showing results for 
Search instead for 
Did you mean: 

NO HMD DETECTED - DK2 with sdk 0.4.3 on ubuntu 12.0.4

fredrabelo
Honored Guest
Hey Guys, I am trying to run OculusWorldDemo, but I always get NO HMD DETECTED on the demo.
I have a DK2, ubuntu 12.0.4 and I am trying using the new sdk 04.3, but I get the following when I first try to run ./oculusd:

$ ./oculusd 
./oculusd: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./oculusd)
Error: {ERR-014} [NetServer] Unable to start listening socket
OVR::DeviceManagerThread - running (ThreadId=0x7fa20e7e2700).
OVR::DeviceManager - initialized.
OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
Manufacturer:'Oculus VR, Inc.' Product:'Rift DK2' Serial#:'MSCEM6R6K9DA3R00Y100'
Error: [HIDDevice] GetFeatureReport 4 failed
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'
Error: {ERR-023} [TrackingManager] Unable to create detected HMD sensor device


and

$ ./RiftConfigUtil 
./RiftConfigUtil: /lib/x86_64-linux-gnu/libudev.so.1: no version information available (required by ./RiftConfigUtil)
Error: [From Service] [HIDDevice] GetFeatureReport 4 failed
Error: [From Service] {ERR-023} [TrackingManager] Unable to create detected HMD sensor device
Error: [From Service] [HIDDevice] GetFeatureReport 4 failed
Error: [From Service] {ERR-023} [TrackingManager] Unable to create detected HMD sensor device
Error: [From Service] [HIDDevice] GetFeatureReport 4 failed
Error: [From Service] {ERR-023} [TrackingManager] Unable to create detected HMD sensor device


This happened after I got the following error the first time I ran ./oculusd:
./oculusd: error while loading shared libraries: libudev.so.1: cannot open shared object file: Error 40

so I solved with:
sudo ln -sf libudev.so.1 libudev.so.0
and now I am stuck with the problem above.


Anybody doing linux development know how to solve this issue?
3 REPLIES 3

cybereality
Grand Champion
I'll see if anyone here knows anything.

neuefarben
Honored Guest
"fredrabelo" wrote:

so I solved with:
sudo ln -sf libudev.so.1 libudev.so.0
and now I am stuck with the problem above.


This way you are using an older ibudev .0 in place of the expected .1. That works well with some appications, but oculusd uses functions added at .1 it seems, so it won't work with this trick.

Installing a more modern udev in Ubuntu 12.04 would be quite complicated.

So in fact, the 0.4.3 SDK is expecting Ubuntu 14.04. Kind of sad, as 12.04 is widely used and very reliable...

neuefarben
Honored Guest
You can still run the 0.3 SDK on Ubuntu 12.04. It works well, however lacks the positional tracking, eg. you can look in all directions, but you cannot move your head beside an object to look around it.