Opened 7 years ago

Closed 7 years ago

#2272 closed defect (fixed)

xv breaks after suspend/resume cycle

Reported by: Zack Owned by: dilinger
Priority: normal Milestone: Update.1
Component: camera-activity Version:
Keywords: power Cc: olpc-dev@…, Zack
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

Description

This was found on a B4 running 515.

If I press the power button to suspend my XO while live video is being shown by Record, the XO does in fact suspend, but when I resume it via the same method, the live video is gone and replaced by a solid rectangle.

Attachments (1)

video-resume.patch (2.0 KB) - added by JordanCrouse 7 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 7 years ago by cjb

This could be one of (at least) four things:

  • Xv bug in X; can test if that's the case by running "xvtest" across resume
  • v4l2 closes the device at suspend time, or something, and we need to reopen it?
  • kernel driver isn't doing resume reinitialization properly? (though it works if you close and restart camera-activity)
  • camera-activity does something wrong.

comment:2 Changed 7 years ago by jg

  • Keywords power added
  • Milestone changed from Untriaged to Trial-2

comment:3 Changed 7 years ago by erikb

  • Cc olpc-dev@… added

comment:4 Changed 7 years ago by coderanger

Adding reporter to CC list

comment:5 Changed 7 years ago by coderanger

  • Cc Zack added

Adding reporter to CC list

comment:6 Changed 7 years ago by erikb

  • Owner changed from erikb to JordanCrouse

Ran xvtext (on a b4, build 542 "trial2") and returned from resume with a blankscreen... looks like an xv bug.

comment:7 Changed 7 years ago by JordanCrouse

Wow - thats never good. We're probably not saving the registers.

comment:8 Changed 7 years ago by erikb

  • Summary changed from Record breaks after suspend/resume cycle to xv breaks after suspend/resume cycle

comment:9 Changed 7 years ago by JordanCrouse

  • Owner changed from JordanCrouse to dilinger

Adding patch against olpc-stable 58ade5716b2aaf7db4a74cd543459112c278842d and reassinging to Andres to be included in das kernel.

Changed 7 years ago by JordanCrouse

comment:10 Changed 7 years ago by jg

Andres, has this been included?

comment:11 Changed 7 years ago by jg

  • Milestone changed from Untriaged to Update.1

comment:12 Changed 7 years ago by jg

  • Resolution set to fixed
  • Status changed from new to closed

camera survives suspend fine in joyride 1537.

Note: See TracTickets for help on using tickets.