Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #376 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Display doesn't blank after ResourceRequest and ResourceRelease

Reported by: struppi Owned by: jluebbe
Priority: minor Milestone:
Component: framework/ousaged Version:
Keywords: Cc:

Description

After calling ResourceRequest? on Display, the Display doesn't dim and blank (which is just the expected behaviour). Yet, after calling ReleaseResource? the display still doesn't dim or blank even when left idle. Restarting frameworkd makes the display start to dim and blank again.

I'm running http://downloads.freesmartphone.org/fso-stable/milestone5.1/om-gta02/openmoko-fso-image-glibc-ipk--20090223-om-gta02.rootfs.jffs2 and have since updated my system via opkg update && opkg upgrade

Minimal testcase:
"mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone.Usage.RequestResource? Display"
The display stays bright forever, though the resource should get released implicitly when the mdbus process terminates.

Change History

comment:1 Changed 4 years ago by daniel

Works for me

root@om-gta02:~# mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone
.Usage.RequestResource Display 
root@om-gta02:~# mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage org.freesmartphone
.Usage.GetResourcePolicy Display
'auto'

Package: frameworkd
Version: 0.8.5.1+gitr1192+0d1ce53f338ef1592701324118abdfe167b19bfe-r0

comment:2 Changed 4 years ago by stefan

Struppi, can you reproduce this with a newer framework? Like MS5.5 or a recent SHR build.

comment:3 Changed 4 years ago by struppi

Replying to stefan:

Struppi, can you reproduce this with a newer framework? Like MS5.5 or a recent SHR build.

Just tried on recent SHR unstable, and no, cannot reproduce it anymore. I think it's fixed for quite a while already.

comment:4 Changed 4 years ago by stefan

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

Thanks for confirming. Closed.

Note: See TracTickets for help on using tickets.