我有一个数字钢琴和一个A/B MIDI电缆插入它,我的个人电脑,以便使用它作为MIDI控制器。
由于一个令人费解的原因,连接无法被识别。lsusb
没有列出设备,dmesg
输出以下内容:
usb 2-3: new full-speed USB device number 30 using xhci_hcd
usb 2-3: device descriptor read/64, error -71
usb 2-3: device descriptor read/64, error -71
usb 2-3: new full-speed USB device number 31 using xhci_hcd
usb 2-3: device descriptor read/64, error -71
usb 2-3: device descriptor read/64, error -71
usb usb2-port3: attempt power cycle
usb 2-3: new full-speed USB device number 32 using xhci_hcd
usb 2-3: Device not responding to setup address.
usb 2-3: Device not responding to setup address.
usb 2-3: device not accepting address 32, error -71
usb 2-3: new full-speed USB device number 33 using xhci_hcd
usb 2-3: Device not responding to setup address.
usb 2-3: Device not responding to setup address.
usb 2-3: device not accepting address 33, error -71
usb usb2-port3: unable to enumerate USB device
我对read/64, error -71
在线消息的研究相当于“改变USB端口”或“重启”(这两者都没有帮助),或者是硬件故障。然而(这是令人沮丧的部分)我知道钢琴,电缆和我所有的USB端口工作,因为当我启动我的电脑在Windows 10下一切都好!
我有midisport-firmware
,a2jmidid
软件包等等,但它们不应该成为问题,因为操作系统本身似乎不承认我的钢琴。
我正在运行一个Ubuntu 16.04 LTS。
编辑:经过进一步的研究,我认为我的电缆可能太长(几米),我的电脑发送的信号永远不会到达另一端(考虑到Windows可以做到这一点,这仍然很奇怪)。我会试着用一根短一点的电缆来看看这是否有帮助。
同时,你们中有谁知道Ubuntu发送的信号是否可能比Windows上硬件完全相同的信号弱呢?
发布于 2021-04-16 08:58:56
原来我的编辑是对的:长电缆是错的。
我得到了一条较短的缆绳,钢琴立即被看到,被认出,而且可以操作。
相关的dmesg
输出:
[38669.743154] usb 2-3: new full-speed USB device number 6 using xhci_hcd
[38669.908423] usb 2-3: New USB device found, idVendor=0f54, idProduct=0101
[38669.908428] usb 2-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[38669.908431] usb 2-3: Product: USB-MIDI
[38670.343673] usbcore: registered new interface driver snd-usb-audio
相关的lsusb
输出:
Bus 002 Device 006: ID 0f54:0101 Kawai Musical Instruments Mfg. Co., Ltd MP6 Stage Piano
尽管如此,我仍然不知道为什么Linux不能建立连接,而Windows对较长的电缆没有问题(请告诉我是否有解释)。
https://unix.stackexchange.com/questions/644855
复制相似问题