snhirsch / katana-midi-bridge

Provides enhanced MIDI control capability to Boss Katana (tm) guitar amplifiers
GNU General Public License v2.0
76 stars 11 forks source link

failed with exit code 1 beaglebone black #14

Open MiNdViRuZ opened 6 years ago

MiNdViRuZ commented 6 years ago

Hi There

So far i have tried this on 3 RPis and managed to get one to work but the lag was about 4 or 5 seconds so unusable in a live environment. I bought a beaglebone black last week inthe hope it would fix the lag issue but im having some problems getting it to work.

When i boot up the BB and run the command to see the logs the usb devices are not there so unplugged the hub and when i plug it back in i get these errors

Mar 9 23:58:59 beaglebone kernel: [ 474.468783] usb 1-1: new high-speed USB device number 8 using musb-hdrc Mar 9 23:58:59 beaglebone kernel: [ 474.611812] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 Mar 9 23:58:59 beaglebone kernel: [ 474.611834] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 Mar 9 23:58:59 beaglebone kernel: [ 474.611842] usb 1-1: Product: USB2.0 Hub Mar 9 23:58:59 beaglebone kernel: [ 474.627859] hub 1-1:1.0: USB hub found Mar 9 23:58:59 beaglebone kernel: [ 474.628334] hub 1-1:1.0: 4 ports detected Mar 9 23:58:59 beaglebone kernel: [ 474.920778] usb 1-1.2: new high-speed USB device number 9 using musb-hdrc Mar 9 23:58:59 beaglebone kernel: [ 475.024196] usb 1-1.2: New USB device found, idVendor=0582, idProduct=01d8 Mar 9 23:58:59 beaglebone kernel: [ 475.024219] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Mar 9 23:58:59 beaglebone kernel: [ 475.024227] usb 1-1.2: Product: KATANA Mar 9 23:58:59 beaglebone kernel: [ 475.024235] usb 1-1.2: Manufacturer: BOSS Mar 9 23:58:59 beaglebone systemd-udevd[1898]: Process '/bin/bash -c '/bin/echo /usr/local/bin/katana_bridge_start | /usr/bin/at now'' failed with exit code 1. Mar 9 23:58:59 beaglebone kernel: [ 475.124726] usb 1-1.3: new full-speed USB device number 10 using musb-hdrc Mar 9 23:58:59 beaglebone kernel: [ 475.225836] usb 1-1.3: New USB device found, idVendor=0582, idProduct=012a Mar 9 23:58:59 beaglebone kernel: [ 475.225858] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Mar 9 23:58:59 beaglebone kernel: [ 475.225866] usb 1-1.3: Product: UM-ONE Mar 9 23:58:59 beaglebone kernel: [ 475.225874] usb 1-1.3: Manufacturer: Roland Mar 9 23:58:59 beaglebone systemd-udevd[1907]: Process '/bin/bash -c '/bin/echo /usr/local/bin/katana_bridge_start | /usr/bin/at now'' failed with exit code 1. Mar 9 23:59:00 beaglebone systemd-udevd[1907]: Process '/bin/bash -c '/bin/echo /usr/local/bin/katana_bridge_start | /usr/bin/at now'' failed with exit code 1.

Any help wpuld be great as its driving me up the wall

Great work on this and thanks

Andy

snhirsch commented 6 years ago

Please double-check the setup and ensure you have all prerequisite software installed and have properly edited the various files as explained in the Wiki. What distribution and version are you running on the Beaglebone? What distribution and version on the Pi?

Regarding delays on the RPi, that is way outside of anything I've ever observed. Did you add the boot command parameter per documentation? That needs to be there.

Wait, just noticed your comment about using a hub! That's very likely to be problems unless you use one that has its own power supply wart. The USB port on the BBB cannot supply enough current to run newer hubs. I was lucky and found an ancient one that works, but almost nothing else non-powered will.

MiNdViRuZ commented 6 years ago

Hi there

Thanks for the reply :)

Im running Debian 9.3 2018-03-05 4GB SD IoT on the BB and i was running Jessie on the RPis. I did notice on the Pi setup that apt-get install libjackQ (Debian Jessie) was not available so not sure if that is an issue with the Pi but im sure i tried apt-get install libjack0 (Debian Precise) when the Jessie one didnt work.

I have gone through the installation process about a half dozen times and checked my settings so im pretty sure they are right.

As for the hub it is a powered one i got with my first Pi as i tried an unpowered one and it didnt see the devices at all.

Cheers

Andy

snhirsch commented 6 years ago

Is there any chance you can try installing the same distribution I used? There's a link to it in the Wiki. If that works, good. If not, it at least rules out the OS as the issue.

MiNdViRuZ commented 6 years ago

was thinking the same thing myself man

will keep you posted

cheers

Andy