Current-Users archive

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

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



Folks,

I was wondering if anyone has an opinion on the best way to have a usb
device modify the state of another device driver on plug and unplug.

The reason I was thinking about this is that I have noticed on Windows
10 they have a checkbox on the synaptics driver configuration that says
to disable the trackpad when a usb pointing device is attached.  This
makes a lot of sense for people who want to use a mouse when at a desk
but if they are mobile then have the trackpad available without having
to twiddle anything.

I was thinking maybe at the wsmouse level but I don't think that knows
where the events are coming from hence why I was thinking that the usb
mouse driver could do something to tell the synaptics driver to disable
sending events until futher notice.

Thoughts?

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