Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 20:28:13 -0500
From:      "Brian F. Feldman" <green@FreeBSD.ORG>
To:        Paul van der Zwan <paulz@trantor.xs4all.nl>
Cc:        Riccardo Torrini <riccardo@torrini.org>, Brian Fundakowski Feldman <green@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: USB detach crashes possibly fixed 
Message-ID:  <200202170128.g1H1SDY03195@green.bikeshed.org>
In-Reply-To: Message from Paul van der Zwan <paulz@trantor.xs4all.nl>  of "Sat, 16 Feb 2002 22:49:20 %2B0100." <200202162149.g1GLnK100609@trantor.xs4all.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
Paul van der Zwan <paulz@trantor.xs4all.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202170128.g1H1SDY03195>