[fedora-arm] arm turnoff gpio's power

2010-12-26 Thread 钟威
Hi guys,     I want to turnoff some gpio's power on my board when it entered suspend and when it resumed turnon the gpio.My codes is:"gpio_set_value(BABBAGE_POWER_ON, 0);""gpio_set_value(BABBAGE_POWER_ON, 1);"    I want to know where can I put my codes in?I have tried to put it in the two funct

Re: [fedora-arm] arm turnoff gpio's power

2010-12-27 Thread Andy Green
On 12/27/10 01:25, Somebody in the thread at some point said: > Hi guys, > I want to turnoff some gpio's power on my board when it entered suspend > and when it resumed turnon the gpio.My codes is: > "gpio_set_value(BABBAGE_POWER_ON, 0);" > "gpio_set_value(BABBAGE_POWER_ON, 1);" > I want to know wh