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

  • From: "Sean Collins" <smc.collins@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 09 Feb 2011 21:59:35 +0000

> Hi,
>    I'm looking into implementing full multi-port support in usb_midi.
> Not quite sure yet how tricky it's going to be, but I have one 
> initial
> question to put to the wider expertise.
> 
> I currently have two MIDI-USB interfaces plugged in, and they appear
> as /dev/midi/usb/0 and /dev/midi/usb/1.  However, one of them is
> actually a two-port device (of which I can only currently access
> the first), so both ports will have to eventually show up as separate
> devices.
> 
> My question is: should the ports appear as (say) /dev/midi/usb/1
> and /dev/midi/usb/2, or -- as they're actually a single device --
> as /dev/midi/usb/1/0 and /dev/midi/usb/1/1 -- one extra level down?
> 
> Thanks,
>       -- Pete --
> 
> 


    Haiku has a usb midi driver ??? huh, I'll have to get out my kx88 
controler and see if it works with it. 


   Sean 

Other related posts: