Let's go straight to the point why I am here. I am a Linux aficionado and music student. I run Debian Wheezy. I have an AKAI LPK25 music keyboard which I attach to my laptop via usb port to play music. After I attach the keyboard, I need to start zynaddsubfx, then qjackctl and make the connection. It works fine, but I would like to write a script to make it automatic, so that, each time I connect the keyboard to the usb port, it is ready to play. I am not a programmer, but I know all the basic Linux commands and have good notions of simple Bash shell scripts, I've written them before.
After I connect the device, this is what I get:
Code: Select all
root@debian-luiz-computer:/home/luiz# tail /var/log/messages
May 18 10:27:20 debian-luiz-computer kernel: [ 135.339811] padlock: VIA PadLock not detected.
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.768116] usb 5-5.3: new full speed USB device using ehci_hcd and address 7
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.877235] usb 5-5.3: New USB device found, idVendor=09e8, idProduct=0076
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.877239] usb 5-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.877242] usb 5-5.3: Product: LPK25
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.877243] usb 5-5.3: Manufacturer: AKAI professional LLC
May 18 11:13:58 debian-luiz-computer kernel: [ 2933.877362] usb 5-5.3: configuration #1 chosen from 1 choice
May 18 11:13:58 debian-luiz-computer mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-5/5-5.3"
May 18 11:13:58 debian-luiz-computer mtp-probe: bus: 5, device: 7 was not an MTP device
May 18 11:13:58 debian-luiz-computer kernel: [ 2934.141675] usbcore: registered new interface driver snd-usb-audio
Code: Select all
luiz@debian-luiz-computer:~$ lsusb | grep AKAI
Bus 005 Device 007: ID 09e8:0076 AKAI Professional M.I. Corp. LPK25 MIDI Keyboard
Could anyone possibly help me with this? I would be immensely grateful.
Luiz