On Thu, 9 Aug 2007, Sven Hazejager wrote:
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. I would like to do this under FreeBSD too.
So, the question really is: how to send a IRP_MN_REMOVE_DEVICE command?
See camcontrol(8). `camcontrol eject` should do the trick in this case,
but only if the device supports it. `camcontrol stop` works to spin down
many hard drives, but in my experience is more likely to work on firewire
than USB drives.
--
Greg
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"