Il 10/02/2011 02:59, Greg KH ha scritto:
On Thu, Feb 10, 2011 at 12:13:18AM +0000, mark205@xxxxxxxx wrote:
Hi there,
I have a problem. I'm trying to use the Microsoft Kinect with old
processors and also with small devices such as mobile phones that run
linux.
The openkinect driver uses the libusb library in order to get the data
from the Kinect. I'm interested at the depth/rgb video data (even only
one image). The camera has two high-bandwidth isochrnonous endpoints,
each of which does two 960-byte packets per microframe
The main problem is that, during the initialization phase I get the
errno 28: not enough free bandwidth available to schedule the
isochronous packets of the transfer.
The output of lsusb -v is this:
http://pastebin.com/b4r2aSk4
There is this comment on the MUSB host controller driver:
/* Bits 11& 12 of wMaxPacketSize encode high bandwidth multiplier.
* Some musb cores don't support high bandwidth ISO transfers; and
* we don't (yet!) support high bandwidth interrupt transfers.
*/
Do you know if is it possible to modify maybe the openkinect driver in
order to get at least one depth image.
It's not really a "driver" so much as just a userspace program using
libusb, right? Perhaps a "real" kernel driver should be written for the
device that exports the data properly to userspace through the video
apis instead?
Using musb for isoc endpoints that require lots of bandwidth on
low-speed processors might just not be possible, you have to take into
consideration your harware capabilities first.
good luck,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
I got it. Yes, it's like a userspace "driver" program that uses libusb.
So do you think that with the libusb is not possible extract neither a
single image frame? difif
Writing a kernel space driver could be a solution but unfortunatly I
have not a lot of experience so I think it will require too much time
and there will be also a chance (very high) that it won't work anyway..
Thanks
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Apri Conto Corrente Arancio entro il 28 febbraio 2011 e ricevi 100 euro da spendere su Media World compra online. Aprilo adesso!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11255&d=10-2
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html