Hey,

Trying to modify the Micronas GO7007SB Driver to work with the board 
that I've got. I've managed to get the video working, but now I'd like 
to get the audio working. So far, all the other boards that the driver 
has been written to work with either do not support audio or support 
both video and audio through an EZ-USB chip connected the parallel 
interface of the chip so the driver has been designed around supported 
both audio and video through one interface.

On my board, however, there the USB interface of the GO7007SB chip is 
used and its USB device descriptor contains three interfaces, the video 
interface, an audio control interface and an audio streaming interface. 
That means that if I want to access the audio endpoint I need to claim 
the audio interfaces as well as the video interfaces. However if I call 
usb_driver_claim_interface in the probe function of the driver that 
matches with the video interface, it fails with EBUSY, presumably 
because the snd_usb_audio driver has already claimed those interfaces 
(even though it fails to successfully work as its driver).

Alternatively if I modify my matching table to include the audio 
interfaces, I end up with three instances of the driver rather than one. 
I realise that I could modify the driver to separate the audio driver 
out from the video driver and have the video driver claim the video 
interface and the audio driver claim the audio interfaces, but that 
would involve modifying the driver more that I would like to. Is there a 
way for either reclaim the audio interfaces from the snd_usb_audio 
driver or to have the GO7007SB driver load and claim those interfaces first?

JHZ

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to