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 Mon, Jun 17, 2019 at 10:32:00AM +1000, matthew green wrote:
> > 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....
> 
> devpubd(8)?
> 

"Needs Work(tm)" ... at the moment it looks very disk device focuessed:

# drvctl -l
root mainbus0
root dk0
root dk1
root dk2
root dk3
root dk4
root dk5
root dk6
root dk7
root dk8
root dk9
root dk10
root dk11
root swcrypto0
root cgd0
root vnd0

Not to say we cannot extend it to be more generic...

-- 
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