From owner-freebsd-current Sat Feb 16 17:28:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from green.bikeshed.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D3A3937B402; Sat, 16 Feb 2002 17:28:15 -0800 (PST) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.6/8.11.6) with ESMTP id g1H1SDY03195; Sat, 16 Feb 2002 20:28:14 -0500 (EST) (envelope-from green@green.bikeshed.org) Message-Id: <200202170128.g1H1SDY03195@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Paul van der Zwan Cc: Riccardo Torrini , Brian Fundakowski Feldman , current@FreeBSD.ORG Subject: Re: USB detach crashes possibly fixed In-Reply-To: Message from Paul van der Zwan of "Sat, 16 Feb 2002 22:49:20 +0100." <200202162149.g1GLnK100609@trantor.xs4all.nl> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 16 Feb 2002 20:28:13 -0500 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 Paul van der Zwan wrote: > > 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? As Terry notes, shouldn't possibly be related. > 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.. Have you tried compiling in all available USB debugging support or seeing if anyone else is using one like yours? -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message