see previous mail...the kernel source code for gadgets are available
to tell you the truth I'm already writing such gadget (and I hope finish
it soon). If you want we could exchange some ideas.
to write in user-space...hum...I don't know if it could be possible with
"gadgetfs" (I have to study more and ask the gadget guys)....But I'm
sure the best way is to write a UVC gadget.
To do all this you don't have to look into v4l2 driver, you have just to
learn how to write a simple v4l2 app. I mean open /dev/video0 and talk
v4l2 API and translate it to UVC.
BR
Edgard
ext Zeeshan Ali escreveu:
Hello!
On 2/27/07, Edgard Lima <[EMAIL PROTECTED]> wrote:
>
regarding the idea of make the N800 work as WebCam like any other
plug-and-play webcam in the market for any OS:
There is nothing to be done in user space on N800 side. What has to be
done is a usb gadget driver on N800 side and it would make the usb port
work as UVC (usb video class) device, so Windows, Mac and Linux (with
linux-uvc module loaded) would work with it. I'm not sure N800 gadget
drivers sources are available on maemo repository, and if it isn't only
Nokia internal guys could do that (may be someone is writing such
gadget)
Sounds like even a better and more simpler idea! thanks. But are
you sure that a user-space apps can't implement a UVC device on the
usb-port in Linux? IIRC, it's very much possible to write user-space
device drivers that uses/needs USB port for I/O but don't take my word
for it as it's been quite some time since i last i wrote any device
drivers. Anyway, if it's possible then you wont need to write any
kernel-space code, let alone need to look into the n800 v4l2 driver's
source.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers