From: Takashi Iwai Subject: Re: [Pkg-alsa-devel] Bug#436502: alsa-tools -> usx2yloader Date: Mon, 17 Sep 2007 17:17:29 +0200 Message-ID: References: <20070911152102.GA17585@frodo.home.lxtec.de> <20070912205256.GR4125@frodo.home.lxtec.de> <8e4fc8270709130123x39b33a1fkd4dae9d018bb4c65@mail.gmail.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 4839F10384A for ; Mon, 17 Sep 2007 17:17:30 +0200 (CEST) In-Reply-To: <8e4fc8270709130123x39b33a1fkd4dae9d018bb4c65@mail.gmail.com> 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: Michael Bourgeous Cc: Karsten Wiese , pkg-alsa-devel@lists.alioth.debian.org, alsa-devel , 436502@bugs.debian.org List-Id: alsa-devel@alsa-project.org At Thu, 13 Sep 2007 02:23:36 -0600, Michael Bourgeous wrote: > > On 9/12/07, Elimar Riesebieter wrote: > > > > Attached is a patch for the Makefiles and an udev rule which should > > work anyway. I don't have TASCAM US-122 usb hardware handy, so > > I would be very pleased if someone could test it. > > > > Thanks > > > > Elimar > > > > I can't remember for sure, but the included rules file might have > problems loading the us428control program. I think there might have > been problems I encountered with using the tascam_fpga script directly > from udev, since us428control doesn't self-daemonize. I'll attach the > .rules file that I use, which might be useful as an example to fix the > .rules file provided already if it's found that there are problems > with udev and the existing tascam_fpga script. As I recall, since > us428control was still holding on to its stdout, udev would hang and > not load any devices after the US-428. > > A better option might be a patch to us428control to add a daemonize > switch (which, of course, could be as simple as fclose()-ing stdin, > stdout, and stderr, and dealing with any I/O functions accordingly). Yeah, I'll add the daemonize option soon. (The patch is already on my local tree but I forgot my laptop at home :) Takashi