[Voyage-linux] ALIX LED Control
John Jelercic
(spam-protected)
Fri Feb 29 10:46:42 HKT 2008
No problem, I understand. My question more stems from myself not completely
understanding what would be involved (apparently quite a bit).
Looking forward to the next release. Thanks again for the help, and once
again, nice work on the distro.
-----Original Message-----
From: Kim-man 'Punky' TSE [mailto:punkytse at punknix.com]
Sent: Thursday, February 28, 2008 8:42 PM
To: John Jelercic
Cc: 'Robert Rawlins - Think Blue'; voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] ALIX LED Control
John,
No, I am not going to backport it back to 2.6.20. Let's looking forward.
Regards,
Punky
John Jelercic wrote:
> Yep, just realized that. I have good documentation on how to get back to
> where I was. Any way to implement it on the older kernel part of 0.4.1?
>
> -----Original Message-----
> From: Kim-man 'Punky' TSE [mailto:punkytse at punknix.com]
> Sent: Thursday, February 28, 2008 7:22 PM
> To: John Jelercic
> Cc: 'Robert Rawlins - Think Blue'; voyage-linux at voyage.hk
> Subject: Re: [Voyage-linux] ALIX LED Control
>
> This is a deb package you need to download it and install with "dpkg
> -i". Since this is a newer kernel, use it at your own risk - something
> may break.
>
> The new daily snapshot full distro image is available at:
> http://www.voyage.hk/download/voyage/voyage-current.tar.bz2
> or mirror sites.
>
> Regards,
> Punky
>
> John Jelercic wrote:
>
>> I'm sort of a linux noob, so bare with me. I see the .deb file below, but
>> isn't that basically a new image? How can I integrate this into an
>>
> existing
>
>> installation?
>>
>> Nice work by the way!
>>
>> -----Original Message-----
>> From: voyage-linux-bounces+johnrj=charter.net at list.voyage.hk
>> [mailto:voyage-linux-bounces+johnrj=charter.net at list.voyage.hk] On Behalf
>>
> Of
>
>> Robert Rawlins - Think Blue
>> Sent: Wednesday, February 27, 2008 7:00 AM
>> To: voyage-linux at voyage.hk
>> Subject: RE: [Voyage-linux] ALIX LED Control
>>
>> This is very cool, I can't wait to play around with it properly. I'll
>> install the new image this afternoon and see how it goes, it's going to
be
>> fun.
>>
>> After that I'll figure out how to call it from Python and JAVA :-D
>>
>> Robert
>>
>> -----Original Message-----
>> From: Kim-man 'Punky' Tse [mailto:punkytse at punknix.com]
>> Sent: 27 February 2008 12:53
>> To: Robert Rawlins - Think Blue
>> Cc: voyage-linux at voyage.hk
>> Subject: Re: [Voyage-linux] ALIX LED Control
>>
>> Hi Robert,
>>
>> So cool! It's now Now available in
>>
>>
>>
>
http://www.voyage.hk/dists/experimental/linux/linux-image-2.6.23-486-voyage_
>
>> 4.0-3_i386.deb
>> And in tomorrow daily snapshot.
>>
>> modprobe led-class
>> modprobe leds-alix
>>
>> To turn on:
>> voyage:~# echo 1 > /sys/class/leds/alix\:1/brightness
>> voyage:~# echo 1 > /sys/class/leds/alix\:2/brightness
>> voyage:~# echo 1 > /sys/class/leds/alix\:3/brightness
>>
>> To turn off:
>> voyage:~# echo 0 > /sys/class/leds/alix\:1/brightness
>> voyage:~# echo 0 > /sys/class/leds/alix\:2/brightness
>> voyage:~# echo 0 > /sys/class/leds/alix\:3/brightness
>>
>> Cheers,
>> Punky
>>
>> Robert Rawlins - Think Blue wrote:
>>
>>
>>> Hi Punky,
>>>
>>> That is a coincidence :-D This looks like a very simple little API, by
>>>
> the
>
>>> looks of things you simple pass in a Boolean true/false to the set
>>>
> methods
>
>>> and it'll enable to disable the LED.
>>>
>>> I'm not a C man so don't really know just yet, I'll probably create a
>>>
> SWIG
>
>>> document once I've got it figured out which will create bindings for
>>> different languages.
>>>
>>> If you find out how to use it before I do then let me know :-D
>>>
>>> Cheers,
>>>
>>> Robert
>>>
>>> -----Original Message-----
>>> From: Kim-man 'Punky' Tse [mailto:punkytse at punknix.com]
>>> Sent: 27 February 2008 12:17
>>> To: Robert Rawlins - Think Blue
>>> Cc: voyage-linux at voyage.hk
>>> Subject: Re: [Voyage-linux] ALIX LED Control
>>>
>>> Hi Robert,
>>>
>>> What a coincidence. I have just get the LED kernel code from openwrt.
>>> But not yet figure out how to use it.
>>>
>>>
>>>
>>>
>
https://svn.openwrt.org/openwrt/trunk/target/linux/generic-2.6/files/drivers
>
>>
>>
>>> /leds/leds-alix.c
>>>
>>> Regards,
>>> Punky
>>>
>>> Robert Rawlins - Think Blue wrote:
>>>
>>>
>>>
>>>> Hello Guys,
>>>>
>>>> Does anyone have any scripts available which allow us to control the 3
>>>> LED's which are on an ALIX system? It would be pretty cool if it's
>>>> possible.
>>>>
>>>> Cheers,
>>>>
>>>> Robert
>>>>
>>>>
------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> Voyage-linux at list.voyage.hk
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>
>>>
>>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>>
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
>
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list