From: Takashi Iwai Subject: Re: [PATCH v2 1/3] ALSA: seq: Provide card number / PID via sequencer client info Date: Tue, 08 Mar 2016 10:54:37 +0100 Message-ID: References: <1456943188-29600-1-git-send-email-martin@mail.zuhause> <1456943188-29600-3-git-send-email-martin@mail.zuhause> <56DE94B5.4080601@ladisch.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 4E6C42605D4 for ; Tue, 8 Mar 2016 10:54:38 +0100 (CET) In-Reply-To: <56DE94B5.4080601@ladisch.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org, Martin Koegler List-Id: alsa-devel@alsa-project.org On Tue, 08 Mar 2016 10:00:37 +0100, Clemens Ladisch wrote: > > Takashi Iwai wrote: > > Martin Koegler wrote: > >> rawmidi devices expose the card number via IOCTLs, which allows to > >> find the corresponding device in sysfs. > >> > >> The sequencer provides no identifing data. Chromium works around this > >> issue by scanning rawmidi as well as sequencer devices and matching > >> them by using assumtions, how the kernel register sequencer devices. > >> > >> This changes adds support for exposing the card number for kernel clients > >> as well as the PID for user client. > >> > >> The minor of the API version is changed to distinguish between the zero > >> initialised reserved field and card number 0. > >> > >> Signed-off-by: Martin Koegler > > > > This ABI change itself looks simple enough, so I have no big problem > > to merge if you can convince other people with it :) > > Acked-by: Clemens Ladisch OK, I merged it now. But the patch had a few minor coding-style issues. I fixed them up. Martin, at the next time, please run scripts/checkpatch.pl before submission. thanks, Takashi