#4876 NORM Never A: Auto-suspend after 40 also sleeps USB-HID devices

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 13 12:47:01 EST 2007


#4876: Auto-suspend after 40 also sleeps USB-HID devices
--------------------+-------------------------------------------------------
 Reporter:  pascal  |       Owner:  dilinger      
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  Never Assigned
Component:  kernel  |     Version:                
 Keywords:          |    Verified:  0             
--------------------+-------------------------------------------------------
 It would be nice if USB-HID devices could also wake up the XO.

 [18:30] <cjb>   c_scott, pascals: when we are in suspend, the USB host
 controller is powered down.
 [18:30] <cjb>   There's nothing I can do to keep it powered. What I would
 do instead is refuse to suspend if a USB device is plugged in.
 [18:30] <cjb>   Or, if a particular class of USB device is plugged in --
 ethernet, keyboard/mouse.
 [18:30] <pascals>       cjb: That doesn't seem ideal either.
 [18:30] <c_scott>       cjb: right. but i'd argue that 'refusing to
 suspect if USB hid device is present' is an update.2 feature.
 [18:31] <c_scott>       cjb: *HID* device. that's the particular class
 you're interested in.
 [18:31] <pascals>       c_scott: network too, I think.
 [18:31] <c_scott>       cjb: i don't see any problem with powering down
 disk or network (although I may be surprised by reality)
 [18:31] <pascals>       c_scott: network would mean that Chat would fail
 interestingly
 [18:32] <c_scott>       maybe i should think about the question in the
 reverse: are there any external USB devices which it would be *safe* to
 power-down to prolong battery life?
 [18:32] <cjb>   c_scott: you're running an sshd over the ethernet. the
 machine suspends through idleness. all the ssh clients lose connection.
 [18:32] <cjb>   c_scott: disks.
 [18:33] <c_scott>       cjb: anyway, this discussion should be in trac.
 pascals, do you have a trac # yet?
 [18:33] <cjb>   I think it may be in Trac
 [18:33] <cjb>   it's certainly been brought up on devel at .

-- 
Ticket URL: <http://dev.laptop.org/ticket/4876>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list