Ticket #2272 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

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

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

Change History

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.

Changed 7 years ago by jg

  • keywords power added
  • milestone changed from Untriaged to Trial-2

Changed 7 years ago by erikb

  • cc olpc-dev@… added

Changed 7 years ago by coderanger

Adding reporter to CC list

Changed 7 years ago by coderanger

  • cc Zack added

Adding reporter to CC list

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.

Changed 7 years ago by JordanCrouse

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

Changed 7 years ago by erikb

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

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

Changed 7 years ago by jg

Andres, has this been included?

Changed 7 years ago by jg

  • milestone changed from Untriaged to Update.1

Changed 7 years ago by jg

  • status changed from new to closed
  • resolution set to fixed

camera survives suspend fine in joyride 1537.

Note: See TracTickets for help on using tickets.