Ticket #1715 (new defect)

Opened 10 years ago

Last modified 9 years ago

SSH / Dropbear connections over the USB link frequently freezes

Reported by: haduong@… Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

How to reproduce:
Set Power management to "Dim first, then lock". ssh into the neo. Wait a few minutes so that the phone goes to sleep. Connection freezes.

Workarounds:
1/ Unplugging / replugging the USB cable unfreezes the connection.
2/ The Wiki says that Disabling Power Management also works.

Desired behavior:
When the screen turns off, existing USB links should not be frozen.

Change History

comment:1 Changed 10 years ago by andy

Hum, I guess what you mean here is that if you have an ssh session up, the device should never suspend in the first place.

The USB cable cycling "unfreezing the connection" is simply waking the thing from suspend, clicking the power button will do the same.

comment:2 Changed 10 years ago by haduong@…

Tested true: clicking the Power button wakes up the Neo and unfreeze the connection. Good to know, better than cycling the cable too much (which wakes up ifplugd on the host for nothing). Thanks.

As for "never suspend when I have an ssh session up", that would be a sane default, yes. Obviously this calls for a generic solution that covers also multimedia playing applications. File under "Power management" I guess ?

comment:3 Changed 9 years ago by husku

WiFi?, gprs, bluetooth for anyone?

It would be nice to just turn off the screen while keeping radios alive. So, per component configurable power-profiles?

Note: See TracTickets for help on using tickets.