Update install instructions and script

This commit is contained in:
hirsch 2016-09-02 21:33:44 -04:00
parent 6eeef8f0e2
commit b221c2fdce
2 changed files with 22 additions and 6 deletions

View file

@ -90,23 +90,37 @@ following exceptions:
+ Tap Tempo
(Stay tuned...)
I was not able to find the magic incantation to set tap tempo over
USB (if, indeed, it's even possible). However, this function can
be assigned to one of the Fender foot pedals if you need it at
your feet. Haven't totally given up on this and have an idea for
"faking" it over MIDI. Now I just need the time to code it...
# Prerequisites
+ For Ubuntu Precise or Debian Jessie:
+ For Ubuntu Precise or Debian Jessie the following packages must be
present. Install all but 'pyusb' with 'apt-get' (see below).
- libasound2
- librtmidi-dev
- libusb-1.0-0-dev
- libjack0 (Precise)
- libjackQ (Jessie)
+ If you want to run the regression tests, you'll also need:
- at
- python2.7
- python2.7-dev
- python-pip
- pyusb
```
NOTE: The python-pip install may segfault at the end, but it doesn't
seem to affect anything.
```
'pyusb' must be installed last using 'pip':
$ pip install pyusb
+ If you want to run the regression tests, you'll also need:
- 'Mido' Python MIDI extension
- Python rtmidi extension

View file

@ -33,9 +33,11 @@ echo "Copy init script to $INITDIR and register"
cp -f mustang_bridge $INITDIR
chmod 0755 $INITDIR/mustang_bridge
chown root:root $INITDIR/mustang_bridge
update-rc.d mustang_bridge defaults
# Run it right now to create the /var/run directory
$INITDIR/mustang_bridge
echo "Copy udev rules to $UDEVDIR and refresh system"
cp -f 50-mustang.rules $UDEVDIR