On Tue, 28 Jun 2005 11:00:27 +0200, Clemens Ladisch wrote:
James Stone wrote:
Is there
some output for keys and/or controllers when running "amidi
-d -p portname"?
Output is FF for any controller movement.
Also after moving a controller, it disables sensing of keyboard input
for 10-20 presses.
Strange. Please edit alsa-kernel/usb/usbmidi.c; change the line
/* #define DUMP_PACKETS */
to
#define DUMP_PACKETS
and recompile the driver. Then please send me what the driver writes to
the system log when you're using controllers/keys.
Okay: here is the output from amidi -d -p hw:2,0,0
9F 5D 62
9F 5D 00
9F 5F 58
9F 5F 00
9F 5D 5F
9F 5D 00
9F 5B 5D
9F 5B 00
9F 5B 5E
9F 5B 00
9F 5D 5F
9F 5D 00
9F 5F 59
9F 5F 00
9F 5D 59
9F 5D 00
FF
FF
FF
FF
FF
9F 5F 61
9F 5F 00
9F 5D 59
9F 5D 00
9F 5D 59
9F 5D 00
9F 5F 5F
9F 5F 00
And the corresponding output to syslog:
Jun 28 16:06:07 moon kernel: received packet: [ 09 9f 5d 62 ]
Jun 28 16:06:07 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:08 moon kernel: received packet: [ 0f fe 00 00 ]
Jun 28 16:06:08 moon kernel: received packet: [ 09 9f 5f 58 ]
Jun 28 16:06:08 moon kernel: received packet: [ 09 9f 5f 00 ]
Jun 28 16:06:08 moon kernel: received packet: [ 09 9f 5d 5f ]
Jun 28 16:06:08 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:08 moon kernel: received packet: [ 09 9f 5b 5d ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5b 00 ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5b 5e ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5b 00 ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5d 5f ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:09 moon kernel: received packet: [ 0f fe 00 00 ]
Jun 28 16:06:09 moon kernel: received packet: [ 09 9f 5f 59 ]
Jun 28 16:06:10 moon kernel: received packet: [ 09 9f 5f 00 ]
Jun 28 16:06:10 moon kernel: received packet: [ 09 9f 5d 59 ]
Jun 28 16:06:10 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:10 moon kernel: received packet: [ 0f fe 00 00 ]
Jun 28 16:06:11 moon last message repeated 3 times
Jun 28 16:06:11 moon kernel: received packet: [ 0f ff 00 00 ]
Jun 28 16:06:11 moon kernel: received packet: [ ]
Jun 28 16:06:13 moon last message repeated 1527 times
Jun 28 16:06:13 moon kernel: received packet: [ 0f ff 00 00 ]
Jun 28 16:06:13 moon kernel: received packet: [ ]
Jun 28 16:06:15 moon last message repeated 1858 times
Jun 28 16:06:15 moon kernel: received packet: [ 0f ff 00 00 ]
Jun 28 16:06:15 moon kernel: received packet: [ ]
Jun 28 16:06:16 moon last message repeated 1213 times
Jun 28 16:06:16 moon kernel: received packet: [ 0f ff 00 00 ]
Jun 28 16:06:16 moon kernel: received packet: [ ]
Jun 28 16:06:17 moon last message repeated 815 times
Jun 28 16:06:17 moon kernel: received packet: [ 0f ff 00 00 ]
Jun 28 16:06:17 moon kernel: received packet: [ ]
Jun 28 16:06:18 moon last message repeated 1344 times
Jun 28 16:06:18 moon kernel: received packet: [ 09 9f 5f 61 ]
Jun 28 16:06:18 moon kernel: received packet: [ 09 9f 5f 00 ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5d 59 ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5d 59 ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5d 00 ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5f 5f ]
Jun 28 16:06:19 moon kernel: received packet: [ 09 9f 5f 00 ]
Jun 28 16:06:20 moon kernel: received packet: [ 0f fe 00 00 ]
Jun 28 16:06:51 moon last message repeated 118 times
Here is my lsmod:
Module Size Used by
snd_emu10k1_synth 6848 0
snd_emux_synth 35200 1 snd_emu10k1_synth
snd_seq_virmidi 6016 1 snd_emux_synth
snd_seq_midi_emul 6592 1 snd_emux_synth
snd_seq_dummy 2692 0
snd_seq_oss 32128 0
snd_seq_midi 6688 0
snd_seq_midi_event 6400 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 49552 9
snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_usb_audio 65344 0
snd_usb_lib 13824 1 snd_usb_audio
parport_pc 22468 0 /syslog
lp 8260 0
parport 20672 2 parport_pc,lp
ipt_REDIRECT 1728 2
ipt_LOG 6400 5
ipt_limit 1920 5
ipt_REJECT 4224 4
ipt_state 1536 10
ipt_owner 3072 6
ipt_multiport 2176 0
iptable_mangle 2240 0
ip_nat_irc 2112 0
ip_nat_ftp 2752 0
iptable_nat 20444 4 ipt_REDIRECT,ip_nat_irc,ip_nat_ftp
ip_conntrack_irc 70736 1 ip_nat_irc
ip_conntrack_ftp 71504 1 ip_nat_ftp
ip_conntrack 38744 6
ipt_state,ip_nat_irc,ip_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp
iptable_filter 2304 1
ip_tables 19584 10
ipt_REDIRECT,ipt_LOG,ipt_limit,ipt_REJECT,ipt_state,ipt_owner,ipt_multiport,iptable_mangle,iptable_nat,iptable_filter
ide_cd 38340 0
cdrom 38112 1 ide_cd
emu10k1_gp 2688 0
gameport 12040 2 emu10k1_gp
snd_emu10k1 111940 2 snd_emu10k1_synth
snd_rawmidi 20512 4 snd_seq_virmidi,snd_seq_midi,snd_usb_lib,snd_emu10k1
snd_seq_device 6988 8
snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_util_mem 3328 2 snd_emux_synth,snd_emu10k1
snd_hwdep 7072 2 snd_emux_synth,snd_emu10k1
tuner 26472 0
bttv 147728 0
video_buf 17540 1 bttv
i2c_algo_bit 8840 1 bttv
v4l2_common 4736 1 bttv
btcx_risc 3912 1 bttv
tveeprom 11672 1 bttv
videodev 7232 1 bttv
snd_intel8x0 28864 0
snd_ac97_codec 78328 2 snd_emu10k1,snd_intel8x0
snd_pcm_oss 47392 0
snd_mixer_oss 17024 2 snd_pcm_oss
snd_pcm 82120 5
snd_usb_audio,snd_emu10k1,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 21124 3 snd_seq,snd_emu10k1,snd_pcm
snd 46884 15
snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_usb_audio,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 7456 2 snd
joydev 7872 0
snd_page_alloc 7620 3 snd_emu10k1,snd_intel8x0,snd_pcm
usblp 11072 0
forcedeth 16576 0
usbhid 24644 0
ehci_hcd 30856 0
ohci_hcd 19012 0
usbcore 106908 7 snd_usb_audio,snd_usb_lib,usblp,usbhid,ehci_hcd,ohci_hcd
nvidia_agp 5916 1
agpgart 29384 1 nvidia_agp
nls_iso8859_1 3840 1
nls_cp437 5440 1
asb100 22228 0
i2c_sensor 2944 1 asb100
i2c_nforce2 5568 0
i2c_core 17808 7
tuner,bttv,i2c_algo_bit,tveeprom,asb100,i2c_sensor,i2c_nforce2
Regards,
James