Thread (4 messages) 4 messages, 3 authors, 2008-06-28

Re: [rft]power management for usbtouch

From: Oliver Neukum <oliver@neukum.org>
Date: 2008-06-28 10:52:11

Am Freitag 27 Juni 2008 23:28:30 schrieb Ville Syrjälä:
quoted
quoted
Which will also fail the open() itself. Isn't that bad? That is, you can
suspend an already open device without the users the device noticing
but you can't open it if you happen to suspend it at just the right time.
That doesn't strike me as good behaviour for a driver.
Root can also unbind the driver.
Sure, but in that case the behavior is consistent ie. the device
disappears.
Sorry, I chose a bad example. Root can do stupid things like sending
control requests that change the configuration, setting or address of
a device. The effects are undefined and will differ from driver to driver
and open or closedness.
Forcibly suspending a device is a testing feature. If root abuses it,
he'll have to take the consequences.

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help