List Info

Thread: amidi doesn't work, but aseqdump says it should




amidi doesn't work, but aseqdump says it should
user name
2007-04-09 22:23:16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to use amidi to save sysexes from my USB keyboard
controller. I initiate the sysex by hitting the buttons on
the controller. Data is definitely getting sent by the
keyboard controller, ALSA is receiving it, and aseqdump
shows it, but amidi isn't saving it, and says it isn't
receiving anything!

What am I doing wrong here?

$ amidi  -p hw:1,0,0 -r keystation-defaults.syx -t 1
	(nothing happens, just sits there, until I Ctl-C it).


$ amidi  -p hw:1,0,0 -d
	(also, nothing happens, just sits there, until I Ctl-C
it).

But...

$ aseqdump -p 20:0
Waiting for data. Press Ctrl+C to end.
Source_ Event_________________ Ch _Data__
 20:0   System exclusive          F0 00 20 08 11 7F 02 01 2D
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 50 F7
 20:0   System exclusive          F0 00 20 08 11 7F 03 01 5A
04 09 04 08 05 0B 05 0D 04 0A 04 07 00 05 05 04 00 07 00 0A
00 02 00 0C 00 0D 04 0B 04 0C 05 0C 05 0F 02 0A 02 02 02 0C
02 0D 04 0D 04 0E 04 0F 05 0E 01 00 01 01 01 02 01 03 05 00
05 01 08 03 08 00 09 00 09 00 09 00 09 00 00 01 00 01 00 01
00 01 00 0B 00 0B 00 0B 00 0B 5E F7
 20:0   System exclusive          F0 00 20 08 11 7F 04 01 2D
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F
7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F
7F 7F 7F 7F 7F 7B F7
 20:0   System exclusive          F0 00 20 08 11 7F 05 01 2D
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 4D F7
..... etc etc etc....


It's definitely the same device:

$ amidi -l
Dir Device    Name
IO  hw:1,0,0  Keystation Pro 88 MIDI 1
I   hw:1,0,1  Keystation Pro 88 MIDI 2


$ aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through
Port-0
 20:0    Keystation Pro 88                Keystation Pro 88
MIDI 1
 20:1    Keystation Pro 88                Keystation Pro 88
MIDI 2


Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue
Nov 28 14:07:24 2006 UTC).

Linux mac 2.6.19.1-rt15-11-nocpufreq #1 SMP PREEMPT Mon Feb
5 14:42:46 PST 2007 i686 GNU/Linux


Also:

$ amidi -L
RawMIDI list:
hw {
	args.0 CARD
	args.1 DEV
	args.2 SUBDEV
	args.CARD {
		type string
		default {
			func getenv
			vars {
				0 ALSA_RAWMIDI_CARD
				1 ALSA_CARD
			}
			default {
				func refer
				name 'defaults.rawmidi.card'
			}
		}
	}
	args.DEV {
		type integer
		default {
			func igetenv
			vars {
				0 ALSA_RAWMIDI_DEVICE
			}
			default {
				func refer
				name 'defaults.rawmidi.device'
			}
		}
	}
	args.SUBDEV {
		type integer
		default -1
	}
	type hw
	card $CARD
	device $DEV
	subdevice $SUBDEV
}
default {
	type hw
	card {
		func getenv
		vars {
			0 ALSA_RAWMIDI_CARD
			1 ALSA_CARD
		}
		default {
			func refer
			name 'defaults.rawmidi.card'
		}
	}
	device {
		func igetenv
		vars {
			0 ALSA_RAWMIDI_DEVICE
		}
		default {
			func refer
			name 'defaults.rawmidi.device'
		}
	}
}
virtual {
	args.0 MERGE
	args.MERGE {
		type string
		default 1
	}
	type virtual
	merge $MERGE
}



- -ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFGGwMke8HF+6xeOIcRAkHTAKDWZXYlD/CFunM/C3Pm5AopwEn+UwCg
tExZ
tc2g/kfAIaUVgpBc2EWko5s=
=BPEF
-----END PGP SIGNATURE-----

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )