Date: Sat, 16 Feb 2002 22:49:20 +0100 From: Paul van der Zwan <paulz@trantor.xs4all.nl> To: Riccardo Torrini <riccardo@torrini.org> Cc: Brian Fundakowski Feldman <green@FreeBSD.ORG>, current@FreeBSD.ORG, paulz@trantor.xs4all.nl Subject: Re: USB detach crashes possibly fixed Message-ID: <200202162149.g1GLnK100609@trantor.xs4all.nl> In-Reply-To: Message from Riccardo Torrini <riccardo@torrini.org> of "Fri, 15 Feb 2002 22:42:22 %2B0100." <XFMail.20020215224222.riccardo@torrini.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202162149.g1GLnK100609>
