proled documentation?

This forum is for all other ARMv5 devices

Re: proled documentation?

Postby WarheadsSE » Sun Dec 11, 2011 6:06 pm

Have you *tried* anything?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: proled documentation?

Postby dinjo » Mon Dec 12, 2011 1:27 am

I dont want to do without confirming :D
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: proled documentation?

Postby WarheadsSE » Mon Dec 12, 2011 1:32 am

It doesn't blow some FUSE or anything.

The script just tells it to turn on/off for $dietys sake.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: proled documentation?

Postby TomC » Thu Mar 01, 2012 9:58 pm

Is there any way to tell the LED to blink? I assume the memory locations for blink and interval are in that same memory range that the proled script writes to for on/off. Is there anyplace I can look for documentation of those locations?

I suppose I can just experiment by writing random numbers into that area and seeing what happens. :-)
TomC
 
Posts: 7
Joined: Tue Feb 07, 2012 12:22 pm

Re: proled documentation?

Postby WarheadsSE » Thu Mar 01, 2012 10:04 pm

Lol..... no, it's not like that. You'd need a background process that tells it to turn on/off @ the interval (which is what the kernel does)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: proled documentation?

Postby TomC » Thu Mar 01, 2012 10:09 pm

Ah, OK. :-)

Actually, I just tried using proled on my POGO-B01. When I try to set the LED to orange, the LED just turns off. And Amber just leaves it green.

So it looks like either mine is defective, or (more likely) the B01 doesn't use a tri-color LED. I'll have to look at the voltages to see what's happening.
TomC
 
Posts: 7
Joined: Tue Feb 07, 2012 12:22 pm

Re: proled documentation?

Postby telzey » Thu Mar 01, 2012 11:07 pm

I backported the ox820 led class stuff from WarheadsSE's kernel 3.1 WIP to the old 2.6.31 kernel.

If you're lucky, he might include it in the new kernel/modules that he's thinking about making ;)

He already has the patches for it, and it seems to be working fine on my development POGO-B01.

It's a lot cleaner than the old hacky way of accessing the LEDs and gives a good idea of how much cleaner things are going to be in the 3.1 kernel compared to the nasty PLX patches in the old 2.6.31 kernel.
telzey
 
Posts: 58
Joined: Fri Dec 16, 2011 8:42 pm

Re: proled documentation?

Postby WarheadsSE » Fri Mar 02, 2012 1:17 pm

TomC wrote:Ah, OK. :-)

Actually, I just tried using proled on my POGO-B01. When I try to set the LED to orange, the LED just turns off. And Amber just leaves it green.

So it looks like either mine is defective, or (more likely) the B01 doesn't use a tri-color LED. I'll have to look at the voltages to see what's happening.

Interesting... sounds like orange is locked.

proled unlock
proled orange
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: proled documentation?

Postby TomC » Fri Mar 02, 2012 8:59 pm

That's probably what the problem was. But I've been experimenting with other stuff, including a revert and re-install, and the LED is working as expected now.

Thanks for the help!
TomC
 
Posts: 7
Joined: Tue Feb 07, 2012 12:22 pm

Previous

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests

cron