Welcome,
Guest
. Please
login
or
register
.
May 21, 2013, 01:25:19 PM
The Plug Computer Forum
|
Hardware and U-Boot firmware
|
Hardware
|
success to control green led and red led which belong to pogoplug
Pages: [
1
]
« previous
next »
Print
Author
Topic: success to control green led and red led which belong to pogoplug (Read 2632 times)
victor
Newbie
Karma: 0
Posts: 11
success to control green led and red led which belong to pogoplug
«
on:
May 29, 2009, 07:09:46 AM »
Hi,guys,after hacking kernel,I write a driver for tow green leds and two red leds, hope it helpful.
tested them under linux-2.6.30-rc6,and masked leds config in kirkwood_defconfig file,located in arch/arm/configs/
like this:
# CONFIG_MEMSTICK is not set
# CONFIG_ACCESSIBILITY is not set
CONFIG_NEW_LEDS=no
CONFIG_LEDS_CLASS=no
#
# LED drivers
#
# CONFIG_LEDS_PCA9532 is not set
CONFIG_LEDS_GPIO=no
CONFIG_LEDS_GPIO_PLATFORM=no
# CONFIG_LEDS_LP5521 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_BD2802 is not set
#
# LED Triggers
#
CONFIG_LEDS_TRIGGERS=no
CONFIG_LEDS_TRIGGER_HEARTBEAT=no
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
CONFIG_LEDS_TRIGGER_DEFAULT_ON=no
ledapp.tar.gz
(1.07 KB - downloaded 144 times.)
led_drv.tar.gz
(1.64 KB - downloaded 134 times.)
Logged
Philippe NAHOUM
Newbie
Karma: 0
Posts: 2
Re: success to control green led and red led which belong to pogoplug
«
Reply #1 on:
September 11, 2009, 10:39:53 PM »
Hi, thanks for your post
but
i have a sheevaplug and i search how to drive 2 ou 3 leds ...
i can use your sample ?
where i connect my led ?
i use the original led on sheevaplug ?
thanks for your help
Philippe
Logged
snake
Newbie
Karma: 3
Posts: 37
Re: success to control green led and red led which belong to pogoplug
«
Reply #2 on:
October 13, 2009, 08:14:22 PM »
Hello Victor,
I'm also interested in controlling additional LED's in the sheevaplug platform.
I think your post is very helpful but I just have one question though, are the files that you have attached (ledapp.tar.gz and led_drv.tar.gz) should be compiled inside the plug?
Hope you could provide help on how you were able to do it.
Thank you.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Application ideas and development Q/A
=> Success stories
=> Marvell PlugIN - Free Your Imagination
-----------------------------
Hardware and U-Boot firmware
-----------------------------
=> Hardware
=> U-Boot stuff
-----------------------------
Linux Stuff
-----------------------------
=> Android for SheevaPlug is Available!
=> General Linux questions
=> Kernel
=> Linux distributions
Loading...