From owner-freebsd-current Sat Feb 16 13:49:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by hub.freebsd.org (Postfix) with ESMTP id 60A5137B417; Sat, 16 Feb 2002 13:49:32 -0800 (PST) Received: from trantor.xs4all.nl (trantor.xs4all.nl [194.109.61.248]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g1GLnOtG091347; Sat, 16 Feb 2002 22:49:25 +0100 (CET) Received: from trantor.xs4all.nl (localhost [127.0.0.1]) by trantor.xs4all.nl (8.11.6/8.11.6) with ESMTP id g1GLnK100609; Sat, 16 Feb 2002 22:49:20 +0100 (MET) (envelope-from paulz@trantor.xs4all.nl) Message-Id: <200202162149.g1GLnK100609@trantor.xs4all.nl> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Riccardo Torrini Cc: Brian Fundakowski Feldman , current@FreeBSD.ORG, paulz@trantor.xs4all.nl Subject: Re: USB detach crashes possibly fixed In-Reply-To: Message from Riccardo Torrini of "Fri, 15 Feb 2002 22:42:22 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 16 Feb 2002 22:49:20 +0100 From: Paul van der Zwan Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On 14-Feb-2002 (08:29:50/GMT) Brian Fundakowski Feldman wrote: > > > Please try this change (already committed to -CURRENT) and let me > > know if crashes due to detaching USB devices specifically have been > > eliminated. > > I cvsupped on Feb 14, 20:21 CET (GMT+1, Italian time), recompiled > both world & kernel (yes, runned mergemaster also :-) and messages > show that device attach and detach (before I got only attach) > > ...kernel: uscanner0: EPSON Perfection1240, rev 1.00/1.14, addr 2 > > ...kernel: uscanner0: at uhub0 port 1 (addr 2) disconnected > ...kernel: uscanner0: detached > > _BUT_ > > I lost /dev/speaker. I don't know if this is related to patch but > with my previous installed build (a bit old, of December 11, 2001) > I have those lines on /etc/usbd.conf: > > attach "/bin/chmod 666 /dev/${DEVNAME} && echo L16cce > /dev/speaker" > detach "echo L16eec > /dev/speaker" > > and I got a small tune on attach but nothing on detach. > Now I am unable to play notes on /dev/speaker. Any hint? > I have no crashes but the detach action is never executed when I switch off my Sony camera ( it has never worked as far as I know) Attach actions are executed fine.. Paul -- Paul van der Zwan paulz @ trantor.xs4all.nl "I think I'll move to theory, everything works in theory..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message