Re: Disable autosuspend for scanners/printers

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Donnerstag 09 August 2007 schrieb Alan Stern:
> Oliver and Pete:
> 
> Is it possible to replace all those USB_QUIRK_NO_AUTOSUSPEND entries
> for scanners with a single class-wide entry?

Which class? It would have to blanket all vendor specific devices.
This is a rather broad swipe.

> What about printers?

Just remove the autosuspend support from the driver if you really
want to do this.

> Would a USB_QUIRK_RESET_RESUME entry suffice or do we really need 
> NO_AUTOSUSPEND?

Having no way to test, I am conservative. Besides, is RESET_RESUME
the right thing to do for a device driven by usbfs? It would turn close()
into an operation that can cause a reset as a side effect.

	Regards
		Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.