Re: USB Device self-umount

Tomasz CEDRO <[email protected]> Tue, 26 Sep 2017 22:52:28 +0200
Newsgroups gmane.os.freebsd.devel.usb,gmane.os.freebsd.questions,gmane.os.freebsd.devel.hardware
Message-ID <CAFYkXjmMEo13TLyP8cv+bmDTz_UfHz+eN_FkxJ1hvUFnOfZRRw@mail.gmail.com>
Hey Polytropon! :-)

Thanks for ideas! I am at the moment at point where I sniff out the
USB traffic and analyze SCSI packets.. and also I got into SCSI
specification to search for some possibilities.. :-)

I will have to see how Windoze handles ATAPI EJECT, maybe that could
bring some insight on how to umount ejectable media triggered by the
device-eject-button-press..

As for now the device reports CHECK-CONDITION to mark media missing,
then reboots and re-appeares, but that causes "device not cleanly
unmounted" warnings on macOS for instance..

Will report back when I find anything interesting :-)

Best regards! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info