Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 11:28:19 +0200 (CEST)
From:      Sven Hazejager <sven-freebsd@hazejager.nl>
To:        freebsd-hackers@freebsd.org
Subject:   How to stop attached USB device / send IRP_MN_REMOVE_DEVICE?
Message-ID:  <07081411265549.-1077952816@somehost.domainz.com>

next in thread | raw e-mail | index | archive | help
Hi all,

Is there a tool under FreeBSD 6.2 that properly stops a USB device, 
equivalent to Windows XPs Safely Remove Hardware? I noticed that Windows 
sends a IRP_MN_REMOVE_DEVICE command, after which my LaCie external HDD 
spins down. Same applies to any USB stick: the light goes out on the 
stick. I would like to do this under FreeBSD too. camcontrol eject or stop 
don't do anything.

So, the question really is: how to send a IRP_MN_REMOVE_DEVICE command?

Thanks,

Sven



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