Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: usb device modifying state of another driver on plug/unplug event



On Thu, Jun 13, 2019 at 10:51:09AM +0100, David Brownlee wrote:
> 
> Is this something that wsmux might be suited to handle - or possibly
> it could generate attach/detach events which could be handled by a
> userland script?

By accident I stumbled on FreeBSD's devd(8) that does just this, they
even had an example of disabling a synaptics touchpad when a usb mouse
is plugged in.  Now all we need is this facility in NetBSD....

I don't think the wsmouse approaches would work reliably because the
identity of the device is hidden by wsmouse.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index