Date: Sun, 01 Mar 2020 02:50:10 -0500 From: "Farhan Khan" <farhan@farhan.codes> To: freebsd-usb@freebsd.org Subject: Detecting if USB device pulled from machine Message-ID: <52e73cc5-5881-40bd-99bf-5b69f5cbcc4f@www.fastmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, Quick question: I am reviewing some USB code between FreeBSD and OpenBSD. In OpenBSD, there is a function called usbd_is_dying (sys/dev/usb/usbdi.c) which appears to check if a device was removed from the system. Is there an equivalent in FreeBSD? Thanks! -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52e73cc5-5881-40bd-99bf-5b69f5cbcc4f>