Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera is not available after system startup, needs manual replugging. #15

Closed
sebastianhein opened this issue May 2, 2016 · 3 comments

Comments

@sebastianhein
Copy link

sebastianhein commented May 2, 2016

Hi,

thank you for your great implementation. I was looking for a way to avoid OpenNI and this kernel module looks very promising so far.
However, I cannot get the camera working on system startup. The IR Light is off, /dev/video* (or /dev/xtion-* ) is not there. Once I pull out the plug and put it back in, everything works perfectly fine.

I am working on Ubuntu 14.04 LTS.

  • reloading the kernelmodules did not work
  • powercycling/reinitializing the usb ports did not work either

"lsusb" is showing the device, btw.

I have two cameras, running two different firmwares: "5.8.22" and "the older one"

dmesg output:

[   13.514365] xtion 1-4:1.0: xtion_probe: failed to claim interface  1 (-16)!
[   13.514425] xtion: probe of 1-4:1.0 failed with error -16
[   13.514439] usbcore: registered new interface driver xtion

Any help will be highly appreciated.

Cheers,
Sebastian

@xqms
Copy link
Owner

xqms commented May 2, 2016

Hi Sebastian,

thanks for your report. One issue might be that the USB sound driver (snd_usb_audio) is loaded before xtion and claims the interface. Could you provide a full dmesg log of your boot and/or try to prevent snd_usb_audio from loading (e.g. move the module somewhere else or blacklist it)?

@sebastianhein
Copy link
Author

Woah!
Thank you for the super fast reply.
I blacklisted the snd_usb_audio module and now it works like a charme!

steps: created a file /etc/modprobe.d/blacklist-snd_usb_audio.conf

# blacklisted audio because it conflicts with xtion driver
blacklist snd_usb_audio

Thanks you, and have a beautiful day :-)
Sebastian

@xqms
Copy link
Owner

xqms commented May 2, 2016

Thanks, I'll add a hint in in the README file. The proper way would be to prioritize xtion over snd_usb_audio somehow, but I'm not sure how this can be done.
Anyway, I'm glad that this fixes your issue ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants