[haiku-development] Re: (USB MIDI) Device hierarchy

  • From: "Ithamar R. Adema" <ithamar.adema@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 17 Feb 2011 19:24:24 +0100

On Fri, 2011-02-11 at 23:28 -0800, pete.goodeve@xxxxxxxxxxxx wrote:
> > It is possible to get it to work with the current usb
> > stack/architecture, but it is fairly tricky to get right IIRC...
> 
> What more is needed? 

The main problem is that most of the drivers go through all
configurations and pick their preferred one. Now, if both the usb_video
and usb_audio drivers pick a different configuration, the active
endpoint objects of the first driver to use the device would be
destroyed and bad things would happen....

(Please note that this is all just from memory, so might be mixed up
with the ZETA implementation here...)

I seem to vaguely remember there were a few more of these types of
issues, just never kept track of them, as even in ZETA times, we had the
intent of moving USB over to the more generic driver layer that the new
IDE stack brought with it....

HTH,

Ithamar.



Other related posts: