hi all, I'm writing an USB gadget video class driver to use my davinci-evalboard as a webcam. I took the gadget-zero driver and collect the descriptors as they are in the example of the usb video class specification. (I don't have an interrupt endpoint, a selector and processing unit. I think it should work without this elements, doesn't it?) the device responds on the following requests: -"get device descriptor" (it sends the device descriptor) -"get configuration descriptor" (it sends the configuration and all the following descriptors including both versions of video streaming interface descriptors [alternate setting 0 and 1]) Is it correct to send both versions or do i have to send just the descriptors of the default setting (0)? -"set configuration" -> I don't enable the isochronous (streaming) endpoint. In gadget zeros function REQ_SET_CONFIG it means i just set the variable value=0 -"set interface" (the host would like to set the video streaming interface, Alternate Setting 0) -> i do nothing... i think i don't have to enable something, am I right?
My windows xp host announces a "new device" then it announces a new "USB video device" and then the host shuts down. Before i handled the "set configuration" and "set interface" request i saw the descriptors with uvcview.exe with a linux host it handles just the first 3 requests (without "set interface") and doesn't shut down. So I think the windows video class (usbvideo.sys) driver isn't satisfied with the reaction of my device. What can be the reason for this problem? I'd be very thankful if you could help me get rid of these problems. thank you for your help regards, andy _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
