使用我的Ubuntu笔记本电脑,我试图将这两个MIDI设备连接在一起:
观察..。
aconnect -i
查询时,这两种设备都会被识别出来。aseqdump ip
命令发送到PC。aconnect port1 port2
将两种设备连接在一起,取得了一定的成功,即发送/接收到了便条/时钟,但是,正如上面所述,所有的时间都在这里,而正在接收的便条不是正在发送的。这些设备在单独使用时会正确工作,但在插接时会发生冲突,有什么原因吗?
n.b.在使用Ubuntu16.04和使用Raspberry pi3 (运行Raspbian扩展)时,我实际上得到了相同的结果。
有什么办法能让我更难拍到这个吗?我在论坛上找不到多少运气。
lsusb
、amidi -l
和dmesg
的产出如下: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 002: ID 8087:07da Intel Corp. Bus 003 Device 007: ID fc02:0101
Bus 003 Device 006: ID 2367:0004
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
amidi -l
IO hw:2,0,0 OP-1 Midi Device MIDI 1 IO hw:3,0,0 USB MIDI Interface MIDI 1
n.b.‘’OP 1‘是本机使用usb-midi的设备;USB MIDI接口是usb-midi:din线缆i头。
dmesg
[ 160.384595] usb 3-3: new high-speed USB device number 3 using xhci_hcd [ 160.514100] usb 3-3: New USB device found, idVendor=2367, idProduct=0004 [ 160.514104] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 160.514106] usb 3-3: Product: OP-1 Midi Device [ 160.514108] usb 3-3: Manufacturer: Teenage Engineering AB [ 160.514109] usb 3-3: SerialNumber: ba0cee833ba00000f0800a3b6baf452a [ 160.528907] usbcore: registered new interface driver snd-usb-audio [ 167.813095] usb 3-2: new low-speed USB device number 4 using xhci_hcd [ 172.927641] usb 3-2: device descriptor read/64, error -110 [ 188.149899] usb 3-2: device descriptor read/64, error -110 [ 188.365965] usb 3-2: new low-speed USB device number 5 using xhci_hcd [ 193.479687] usb 3-2: device descriptor read/64, error -110 [ 209.311930] usb 3-3: USB disconnect, device number 3 [ 209.679951] usb 3-1: new high-speed USB device number 6 using xhci_hcd [ 209.808712] usb 3-1: New USB device found, idVendor=2367, idProduct=0004 [ 209.808715] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 209.808716] usb 3-1: Product: OP-1 Midi Device [ 209.808717] usb 3-1: Manufacturer: Teenage Engineering AB [ 209.808718] usb 3-1: SerialNumber: ba0cee833ba00000f0800a3b6baf452a [ 489.157137] usb 3-2: new full-speed USB device number 7 using xhci_hcd [ 489.286966] usb 3-2: New USB device found, idVendor=fc02, idProduct=0101 [ 489.286970] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 489.286972] usb 3-2: Product: USB MIDI Interface
发布于 2018-03-19 20:22:20
我知道这是很晚的事,但是:当我的一个站发送MIDI时钟时,我看到了一些与USB MIDI类似的东西--就像其他一些非实时消息被“卡”在缓冲区中,不时地被重新传输一样。但这完全没有系统性。
在源端关闭时钟传输,然后断开/重新连接USB设备,使问题消失。
https://unix.stackexchange.com/questions/413803
复制相似问题