Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753963AbYKEHoM (ORCPT ); Wed, 5 Nov 2008 02:44:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754915AbYKEHnw (ORCPT ); Wed, 5 Nov 2008 02:43:52 -0500 Received: from ns.suse.de ([195.135.220.2]:45246 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754743AbYKEHnt (ORCPT ); Wed, 5 Nov 2008 02:43:49 -0500 Date: Wed, 05 Nov 2008 08:43:47 +0100 Message-ID: From: Takashi Iwai To: Fernando Lopez-Lezcano Cc: Ingo Molnar , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] 2.6.26.[6|7] vs. rt11 vs. alsa (usb) midi In-Reply-To: <1225695131.3772.12.camel@localhost.localdomain> References: <1224989187.3706.7.camel@localhost.localdomain> <1225229755.3750.1.camel@localhost.localdomain> <1225695131.3772.12.camel@localhost.localdomain> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.3 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2572 Lines: 61 At Sun, 02 Nov 2008 22:52:11 -0800, Fernando Lopez-Lezcano wrote: > > On Wed, 2008-10-29 at 12:10 +0100, Takashi Iwai wrote: > > At Tue, 28 Oct 2008 14:35:55 -0700, > > Fernando Lopez-Lezcano wrote: > > > > > > On Mon, 2008-10-27 at 09:13 +0100, Takashi Iwai wrote: > > > > At Sat, 25 Oct 2008 19:46:27 -0700, > > > > Fernando Lopez-Lezcano wrote: > > > > > > > > > > Hi... anyone out there also having problem with this combination? > > > > > 2.6.26.7 or 2.6.26.6 with 2.6.26.6-rt11 and alsa MIDI > > > > > It looks to me like alsa midi is broken. > > > > > > > > > > Probably an interaction with the realtime kernel patch. A Fedora kernel > > > > > based on 2.6.26.6 (2.6.26.6-49 on fc8) works fine, a very similarly > > > > > patched kernel that includes the realtime patch does not. The > > > > > configurations for both are almost the same (today I tried to change > > > > > some of the most obvious differences and rebuild, with the same > > > > > result). > > > > > > > > > > No problems with 2.6.24.7-rt21. > > (but on Fedora 9 I get X segfaults with it... so not really usable > either) > > > > > > Test: boot, login, plugin an external usb keyboard (Yamaha P250), it is > > > > > recognized, use qjackctl alsa patchbay to connect it to kmidimon, > > > > > kmidimon sees only _one_ midi message and that's it. Kmidimon can't be > > > > > killed after that. > > > > > > > > What about other MIDI devices on other bus, e.g. an MPU401 on a PCI > > > > soundcard or so? There is a possibility of breakage in the USB driver > > > > side, too. > > > > > > I just tested an RME PCMCIA card + Multiface interface and it shows the > > > same problem. No MIDI messages get through (but the LED in the Multiface > > > blinks). Same hardware booted into 2.6.24.7-rt21 works fine. > > > > Then this should be in RT side. There is no fundamental change > > regarding rawmidi since some time ago... > > Hmm, why do you say rawmidi? This is happening with the sequencer > interface, AFAIK. Hmm, it's not impossible, if it's relevant with a timer interface, although the sequencer core part has been fundamentally unchanged for ages. For sequencer issues, you can sort out by using it without rawmidi interface. For example, start aseqdump program in alsa-utils, and send to that port via aplaymidi. Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/