From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Hofman Subject: Re: MIDI on ice1724 - fixing HG Date: Fri, 25 Apr 2008 09:25:04 +0200 Message-ID: <48118750.4000300@insite.cz> References: <480E495B.20607@insite.cz> <480F189A.7030500@insite.cz> <480F99B8.3010408@insite.cz> <4810F1FA.4020300@insite.cz> <481182EB.1010800@insite.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from server.insite.cz (cable.insite.cz [84.242.84.93]) by alsa0.perex.cz (Postfix) with ESMTP id D6A35103837 for ; Fri, 25 Apr 2008 09:25:12 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Takashi Iwai wrote: > At Fri, 25 Apr 2008 09:06:19 +0200, > Pavel Hofman wrote: >> Takashi Iwai wrote: >>>> I do not know the reason for MPU401_INFO_NO_ACK. You removed it from the >>>> original patch, but without it I always get the input/output error. >>> Ah, thanks, I overlooked it. >>> Fixed now. >> Takashi, thanks, but the patch I sent you sets MPU401_INFO_INPUT and >> MPU401_INFO_OUTPUT flags too. They enable the actual input/output >> methods in mpu401_uart.c. > > They aren't needed if you create full-duplex streams. > Could you check whether the latest code still causes any errors? Oh, I overlooked the code if (! (info_flags & (MPU401_INFO_INPUT | MPU401_INFO_OUTPUT))) info_flags |= MPU401_INFO_INPUT | MPU401_INFO_OUTPUT; in snd_mpu401_uart_new. So it should be OK. I will test and report errors, but I don't expect any :) Thanks, Pavel.