首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >当连接到第二个设备时,USB MIDI设备崩溃。

当连接到第二个设备时,USB MIDI设备崩溃。
EN

Unix & Linux用户
提问于 2017-12-30 12:26:52
回答 1查看 284关注 0票数 1

使用我的Ubuntu笔记本电脑,我试图将这两个MIDI设备连接在一起:

  • 设备1: USB-MIDI连接
  • 设备2:带el cheapo USB-MIDI电缆的标准5针DIN连接器

观察..。

  • 当我使用aconnect -i查询时,这两种设备都会被识别出来。
  • 当单独连接时,我可以看到midi数据正在使用aseqdump ip命令发送到PC。
  • 当两者都连接在一起时,设备2就有点混乱了: midi的时间到处都是,当我播放音符时,它会触发随机的midi事件。
  • 我可以使用aconnect port1 port2将两种设备连接在一起,取得了一定的成功,即发送/接收到了便条/时钟,但是,正如上面所述,所有的时间都在这里,而正在接收的便条不是正在发送的。

这些设备在单独使用时会正确工作,但在插接时会发生冲突,有什么原因吗?

n.b.在使用Ubuntu16.04和使用Raspberry pi3 (运行Raspbian扩展)时,我实际上得到了相同的结果。

有什么办法能让我更难拍到这个吗?我在论坛上找不到多少运气。

编辑

lsusbamidi -ldmesg的产出如下: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

EN

回答 1

Unix & Linux用户

发布于 2018-03-19 20:22:20

我知道这是很晚的事,但是:当我的一个站发送MIDI时钟时,我看到了一些与USB MIDI类似的东西--就像其他一些非实时消息被“卡”在缓冲区中,不时地被重新传输一样。但这完全没有系统性。

在源端关闭时钟传输,然后断开/重新连接USB设备,使问题消失。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/413803

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档