[haiku] Re: Midi devices in Haiku

  • From: Giovanni Mugnai <musical777@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 16 Dec 2012 22:06:04 +0100

2012/12/16  <pete.goodeve@xxxxxxxxxxxx>:
> That's a shame... (:-()  I'm not sure I've got your INs and OUTs straight,
> though.  Am I right that you can, say, play a midifile *out* to your Nord,
> but when you play keys on the Nord you can't record them or drive squeeky?
> (Are you using the same adapter on Windows?)

Exactly: i can send midi events to Nord electro and i can hear them.
I can't hear sounds if i play keys on Nord electro.
This adaptor works fine in Windows and Linux too.

> When you open PatchBay, do you see icons for both input and output?
> There's a little activity bar by each input icon.  Can you see any action
> there if you play keys? If you change the Nord program?

When i open patchbay i can see both input and output icons of usb
midi. But i can see signal only for midi output (to midi in of
keboard) and when i play keys on the keyboard, i don't see any signal.
I have noticed that if i turns knobs on the keyboard (amount and
freq), sometimes i see midi signal from nord electro to Haiku, and i
can hear just some notes from loudspeakers

> My USB adapters have LEDs for input and output that flash on events.
> Do you have them and do they show activity?

My adaptor have led's too. And these leds works ok for input and
output too. I can see signals fine-

> It might help if you get an interface description via listusb, and send
> it to me so I can see if there's any apparent difference.  (Use 'listusb'
> to find the device, then 'listusb -v /dev/usb/<whatever>'.


listusb
0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
1d03:001c /dev/bus/usb/1/0 "iCON" "iCON MIDI Port V1.01" ver. 0100

listusb -v /dev/bus/usb/1/0
[Device /dev/bus/usb/1/0]
    Class .................. 0x00 (Per-interface classes)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 16
    USB Version ............ 0x0110
    Vendor ID .............. 0x1d03 (iCON)
    Product ID ............. 0x001c
    Product Version ........ 0x0100
    Manufacturer String .... "iCON"
    Product String ......... "iCON MIDI Port V1.01"
    Serial Number .......... "09101"
    [Configuration 0]
        Configuration String . "09101"
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x01 (Audio)
                Subclass ........... 0x01
                Protocol ........... 0x00
                Interface String ... ""
                [Descriptor 0]
                    Type ............. 0x24
                    Data ............. 01 00 01 09 00 01 01
        [Interface 1]
            [Alternate 0 active]
                Class .............. 0x01 (Audio)
                Subclass ........... 0x03
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 4
                    Interval ......... 1
                    Type ............. Bulk
                    Direction ........ Input
                [Endpoint 1]
                    MaxPacketSize .... 4
                    Interval ......... 0
                    Type ............. Bulk
                    Direction ........ Output
                [Descriptor 0]
                    Type ............. 0x24
                    Data ............. 01 00 01 41 00
                [Descriptor 1]
                    Type ............. 0x24
                    Data ............. 02 01 01 00
                [Descriptor 2]
                    Type ............. 0x24
                    Data ............. 02 02 02 00
                [Descriptor 3]
                    Type ............. 0x24
                    Data ............. 03 01 03 01 02 01 00
                [Descriptor 4]
                    Type ............. 0x24
                    Data ............. 03 02 04 01 01 01 00
                [Descriptor 5]
                    Type ............. 0x25
                    Data ............. 01 01 03
                [Descriptor 6]
                    Type ............. 0x25
                    Data ............. 01 01 01


Many thank, Pete!

Other related posts: