Re: [rft]power management for usbtouch

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

 



Am Samstag 28 Juni 2008 18:33:30 schrieb Alan Stern:
> On Sat, 28 Jun 2008, Oliver Neukum wrote:
> 
> > In hindsight adding that interface at all was an error. I was in favor
> > of it and that was a mistake. Maybe it should be removed.
> > Complicating good drivers for its sake I therefore consider an error.
> > Possibly we should consider a forcible suspension a form of disconnection.
> 
> Are you suggesting that the "off" value in /sys/.../power/level 
> shouldn't be allowed?  I don't see it that way -- there's no other 
> mechanism for userspace to force a USB device into the low-power state.

Unfortunately.

> Forcing a disconnection during suspend might be a good idea.  But if 
> you do, is there any reason to consider manual suspension different 
> from system sleep?

During system sleep user space is asleep and cannot make demands
on drivers. If you force a device to sleep, the driver cannot work. Therefore
it should not be bound to such a device. It's cleaner to disconnect.

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux