Troque os plugues. Eu tive esse cabo uma vez, e pelo menos nesse caso eu tive que conectar "IN" para "IN" e "OUT" para "OUT".
Eu tenho um cabo MIDI que possui interfaces IN e OUT.
Eu quero conectar meu piano (Yamaha P95) ao laptop (rodando o Ubuntu), para poder gravar músicas midi.
Conectei o cabo entre o piano e o laptop como no esquema a seguir:
Yamaha P95
+-- OUT :: IN-----------\
+-- IN :: OUT-----------\------USB :: USB--+Laptop
Nenhum software pode detectar eventos no piano.
Quais são as maneiras de depurar o problema? Eu fiz algo errado?
Resultado relevante:
ionicabizau@laptop:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 003 Device 003: ID 04f2:b3fd Chicony Electronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ionicabizau@laptop:~$ modprobe snd-usb-audio
modprobe: ERROR: could not insert 'snd_usb_audio': Operation not permitted
ionicabizau@laptop:~$ sudo modprobe snd-usb-audio
[sudo] password for ionicabizau:
ionicabizau@laptop:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 003 Device 003: ID 04f2:b3fd Chicony Electronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ionicabizau@laptop:~$ arecordmidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
Troque os plugues. Eu tive esse cabo uma vez, e pelo menos nesse caso eu tive que conectar "IN" para "IN" e "OUT" para "OUT".