Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [Solved] at91sam9g45:backlight/LCD turning off after 10 mins
PostPosted: Thu Apr 05, 2012 9:42 am 
Offline

Joined: Wed Apr 04, 2012 8:57 am
Posts: 2
i'm using icnova module with at91sam9g45.

I'm using linux kernel 2.6.33.2.

I'm facing an issue of backlight/LCD turning off after 10 mins if no applications are runnning. I added a debug statement in atmel_pwm_bl_set_intensity() function of atmel-pwm-bl.c file in linux-2.6.33.2/drivers/video/backlight/ . This function is getting called when backlight/lcd is turning after 10 mins but the intensity value is 340, so the problem is not that the backlight intensity is set to 0.

But after booting the board if I run any application continuosly then it is not turning off. So, is there any power management in kernel which is turning off the backlight/LCD after 10 mins ?? How can I change this power management settings ??

These are the setting for backlight which I have configured in at91sam9g45_devices.c file :
Code:
struct atmel_pwm_bl_platform_data atmel_pwm_bl_pdata = {
        .pwm_channel            = AT91_PWM2,
        .pwm_frequency          = 10000,
        .pwm_compare_max        = 345,
        .pwm_duty_max           = 345,
        .pwm_duty_min           = 5,      
        .pwm_active_low         = 0,
        .gpio_on                = -1,
        .on_active_low          = 0,
};

static struct platform_device atmel_pwm_bl_dev = {
        .name           = "atmel-pwm-bl",
        .id             = 4,
        .dev            = {
                .platform_data = &atmel_pwm_bl_pdata,
        },
};


void __init setup_atmel_pwm_bl(void)
{
    platform_device_register(&atmel_pwm_bl_dev);
   at91_set_gpio_output(atmel_pwm_bl_pdata.gpio_on, 1);
   printk("PWM: Setup Atmel\n");
}


Last edited by harsh.shah on Tue Apr 10, 2012 7:20 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: at91sam9g45: backlight/LCD turning off after 10 mins.
PostPosted: Tue Apr 10, 2012 7:16 am 
Offline

Joined: Wed Apr 04, 2012 8:57 am
Posts: 2
Issue solved. http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/37959.aspx


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: