Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2009 15:33:29 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Cc:        Bruce Cran <bruce@cran.org.uk>
Subject:   Re: panic when disconnecting cdce device just before powering off PC
Message-ID:  <20090420133329.GA11214@rebelion.Sisis.de>

next in thread | raw e-mail | index | archive | help

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

El día Sunday, April 19, 2009 a las 12:42:03AM +0100, Bruce Cran escribió:

> I'm running a fairly recent -current and got a panic when shutting
> down.  I'd pressed the power button on my GTA02 and at about the same
> time had pressed the power button on my PC too.  It seems the GTA02
> CDCE device powered off first, just before FreeBSD was going to power
> off:
> ...

Hi Bruce,

I can't comment on your panic... But, I have a GTA02 as well. How do you
get the interface 'ue0' created and assign IP to it on USB plug-in?
Any script to share?

I'm still working on a better devd-hook, but I'm attaching a first
working version to be placed in /usr/local/etc/devd;

HIH

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="moko.conf"

#
# host: tiny.Sisis.de
#
# When the FR is attached on USB we have to assign IP ...
#
# <guru@unixarea.de>, April 2009
#
attach 1 {
	match "vendor"		"0x1457";
	match "product"		"0x5122";
	action "/usr/local/etc/devd/moko.sh $device-name";
};

--T4sUOijqQbZv57TR--



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