[Soekris] net48xx Error LED and detecting a 48xx under Linux
Joshua ChaitinPollak
jpollak at kivasystems.com
Fri Jul 7 21:22:59 UTC 2006
Ah, I see! Well, that seems like a worthy effort! I'm not sure about
the differences between the different boards, but I do know that the
existing GPIO/LED driver works on the net4526, and I believe the same
driver also works for the 4801 series, so you might take a look at that!
On Jul 7, 2006, at 5:10 PM, Chris Boot wrote:
> Hi there,
>
> Linux has drivers for the GPIOs yes, but it doesn't have a driver
> for the new LEDs class system in Linux 2.6.17 and up. With this
> system the kernel can attach triggers to LEDs, like hard disk
> activity, a plain old timer, or fancy stuff like a 'heartbeat' type
> flashing and so on. I'm writing a driver to do just that. I'm just
> compiling the code I've written to give it a shot, but at the
> moment it's all hard-coded and assumes a net4801.
>
> Chris
>
> Joshua ChaitinPollak wrote:
>> Linux and FreeBSD already have drivers for the LED and GPIO pins.
>> Are you trying to do something different?
>> On Jul 7, 2006, at 3:55 PM, Chris Boot wrote:
>>> Hi all,
>>>
>>> I'm planning on writing an LED class driver for the net4801
>>> error LED, so just
>>> wanted to get more information about a few things.
>>>
>>> Which Soekris devices have the error LED mapped to the same GPIO
>>> pin as the
>>> 4801? Is it just the 4801 or does the 4826 work in a similar
>>> manner? What about
>>> the 45xx series?
>>>
>>> Is there a way of detecting what type of Soekris machine we're
>>> running on? It
>>> would be nice to write a proper probe routine for the
>>> functionality since we
>>> don't want to randomly twiddle GPIOs on non-Soekris devices.
>>> I've looked into
>>> DMI but that doesn't seem to exist. Any ideas?
>>>
>>> Many thanks,
>>> Chris
>>>
>>> --
>>> Chris Boot
>>> bootc at bootc.net
>>> http://www.bootc.net/
>>> _______________________________________________
>>> Soekris-tech mailing list
>>> Soekris-tech at lists.soekris.com
>>> http://lists.soekris.com/mailman/listinfo/soekris-tech
>>>
>
>
> --
> Chris Boot
> bootc at bootc.net
> http://www.bootc.net/
>
--
Joshua ChaitinPollak
Software Engineer
Kiva Systems
More information about the Soekris-tech
mailing list